[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#644042: pu: package partman-target/72



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu

Hi!

It looks like this change has dropped out of the radar for the
being-released-right-now 6.0.3. Too bad. :(

Anyway, it would still be good to see #597223 fixed in the next point
release of squeeze: to sum it up, the current installer treats ISO
hybrid images on USB sticks as real optical drives. This result in a
very wrong /etc/fstab entry which then prevents automatic mounts of
subsquently plugged USB hard disks to work properly in GNOME or KDE.

Attached is the proposed update to partman-target that fix this issue.

Cheers,
-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -Nru partman-target-72/debian/changelog partman-target-72+squeeze1/debian/changelog
--- partman-target-72/debian/changelog	2011-02-01 19:24:27.000000000 +0100
+++ partman-target-72+squeeze1/debian/changelog	2011-10-02 09:38:19.000000000 +0200
@@ -1,3 +1,10 @@
+partman-target (72+squeeze1) stable; urgency=low
+
+  * Stop treating ISO hybrid images on USB sticks as real optical drives.
+    (Closes: #597223)
+
+ -- Jérémy Bobbio <lunar@debian.org>  Sun, 02 Oct 2011 09:38:10 +0200
+
 partman-target (72) unstable; urgency=medium
 
   [ Christian Perrier ]
diff -Nru partman-target-72/finish.d/fstab_removable_media_entries partman-target-72+squeeze1/finish.d/fstab_removable_media_entries
--- partman-target-72/finish.d/fstab_removable_media_entries	2011-02-01 19:01:27.000000000 +0100
+++ partman-target-72+squeeze1/finish.d/fstab_removable_media_entries	2011-10-02 09:37:41.000000000 +0200
@@ -55,7 +55,7 @@
 	done
 }
 
-CDDEV=$(grep /cdrom /proc/mounts | cut -d ' ' -f 1 | grep -v ^/dev/loop)
+CDDEV=$(grep /cdrom /proc/mounts | cut -d ' ' -f 1 | grep -Ev '^/dev/(loop|sd[a-z])')
 if [ -n "$CDDEV" ]; then
 	MAPCDDEV=$(mapdevfs $CDDEV)
 else

Attachment: signature.asc
Description: Digital signature


Reply to: