[SCM] Debian Live initramfs hook branch, master, updated. 1.139.1-4-8-gdd6e7c8

Daniel Baumann daniel at debian.org
Tue Nov 11 17:08:46 UTC 2008


The following commit has been merged in the master branch:
commit 8fed44085d0461d24686941cba699ff9bc188cf4
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Nov 11 17:41:58 2008 +0100

    Merging casper 1.41.

diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper
index 1984c57..ae7c735 100644
--- a/docs/ChangeLog.casper
+++ b/docs/ChangeLog.casper
@@ -1,3 +1,22 @@
+casper (1.141) intrepid; urgency=low
+
+  [ Johannes Ballé ]
+  * Handle spaces in file names in md5sum.txt (LP: #251112).
+
+  [ Colin Watson ]
+  * Support ?= (set value but don't mark as seen) preseeding syntax in
+    preseed script; previously we only supported it in the keyboard script,
+    which confusingly doesn't deal with propagating console-setup/* preseeds
+    to the target filesystem (LP: #253749).
+  * Update to localechooser's new languagelist format.
+
+  [ Tormod Volden ]
+  * scripts/casper: don't scan floppy drives for livefs images (LP: #97306)
+  * scripts/casper: fix broken RE in is_nice_device() (LP: #250328)
+  * scripts/casper: properly use argument $1 in matches_uuid()
+
+ -- Colin Watson <cjwatson at ubuntu.com>  Fri, 19 Sep 2008 02:14:05 +0100
+
 casper (1.140) intrepid; urgency=low
 
   [ Colin Watson ]
diff --git a/scripts/live b/scripts/live
index 9c747d5..ad619fa 100755
--- a/scripts/live
+++ b/scripts/live
@@ -509,7 +509,7 @@ matches_uuid ()
 	path="${1}"
 	uuid="$(cat /conf/uuid.conf)"
 
-	for try_uuid_file in "${mountpoint}/.disk/live-uuid"*
+	for try_uuid_file in "${path}/.disk/live-uuid"*
 	do
 		[ -e "${try_uuid_file}" ] || continue
 
@@ -578,7 +578,7 @@ is_nice_device ()
 {
 	sysfs_path="${1#/sys}"
 
-	if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-[ide|scsi|usb])"
+	if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-(ide|scsi|usb))"
 	then
 		return 0
 	elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
@@ -1369,7 +1369,7 @@ find_livefs ()
 	fi
 
 	# or do the scan of block devices
-	for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -v loop | grep -v ram | grep -v 'dm-' | grep -v fd )
+	for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -vE "/(loop|ram|dm-|fd)"; do
 	do
 		devname=$(sys2dev "${sysblock}")
 		fstype=$(get_fstype "${devname}")

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list