Package: dosfstools Version: 3.0.13-1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu ubuntu-patch raring Control: block 646130 by -1
Almost all of libparted's filesystem code, with the exception of resizing FAT and HFS, has been removed from 3.x. We're stuck on 2.x for wheezy, but for jessie we're going to need to get our act together and migrate d-i to other mechanisms. Creating FAT filesystems will be one of the parts involved in that, and so we'll need a dosfstools-udeb. Furthermore, I'm told that libparted's FAT creation code can't handle non-512-byte-sector disks (https://bugs.launchpad.net/bugs/1065281), so we'd probably want to switch to mkdosfs for this anyway. The attached patch implements this. I left dosfslabel out of the udeb, since d-i only ever sets filesystem labels at creation time at the moment and it can do this with mkdosfs -n. * Add dosfstools-udeb package, mainly so that we can use mkdosfs in d-i instead of deprecated and semi-broken libparted code. diff -Nru dosfstools-3.0.13/debian/control dosfstools-3.0.13/debian/control --- dosfstools-3.0.13/debian/control 2012-12-04 14:26:30.000000000 +0000 +++ dosfstools-3.0.13/debian/control 2013-01-17 17:08:42.000000000 +0000 @@ -29,3 +29,10 @@ check MS-DOS FAT filesystems on hard drives or on floppies. . This package contains the debugging symbols. + +Package: dosfstools-udeb +Package-Type: udeb +Section: debian-installer +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: utilities for making and checking MS-DOS FAT filesystems diff -Nru dosfstools-3.0.13/debian/dosfstools-udeb.install dosfstools-3.0.13/debian/dosfstools-udeb.install --- dosfstools-3.0.13/debian/dosfstools-udeb.install 1970-01-01 01:00:00.000000000 +0100 +++ dosfstools-3.0.13/debian/dosfstools-udeb.install 2013-01-17 17:38:07.000000000 +0000 @@ -0,0 +1,4 @@ +/sbin/mkdosfs +/sbin/mkfs.* +/sbin/dosfsck +/sbin/fsck.* diff -Nru dosfstools-3.0.13/debian/dosfstools.install dosfstools-3.0.13/debian/dosfstools.install --- dosfstools-3.0.13/debian/dosfstools.install 1970-01-01 01:00:00.000000000 +0100 +++ dosfstools-3.0.13/debian/dosfstools.install 2013-01-17 17:11:19.000000000 +0000 @@ -0,0 +1,2 @@ +/sbin +/usr diff -Nru dosfstools-3.0.13/debian/rules dosfstools-3.0.13/debian/rules --- dosfstools-3.0.13/debian/rules 2012-12-04 14:26:13.000000000 +0000 +++ dosfstools-3.0.13/debian/rules 2013-01-17 17:11:43.000000000 +0000 @@ -12,10 +12,10 @@ endif override_dh_auto_install: - dh_auto_install -- DESTDIR=$(CURDIR)/debian/dosfstools PREFIX=/usr SBINDIR=/sbin + dh_auto_install -- PREFIX=/usr SBINDIR=/sbin # Removing useless files - rm -f debian/dosfstools/usr/share/doc/dosfstools/ChangeLog + rm -f debian/tmp/usr/share/doc/dosfstools/ChangeLog override_dh_auto_test: # disabled Thanks, -- Colin Watson [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org