[SCM] live-initramfs branch, master, updated. 1.157.4-1-38-g4fe1a8d

Daniel Baumann daniel at debian.org
Wed Jan 27 22:15:36 UTC 2010


The following commit has been merged in the master branch:
commit f71e01a61931b373f19f3dee438f900aa544f65e
Author: Luigi Capriotti <l.capriotti at xbmc.org>
Date:   Wed Jan 27 23:08:35 2010 +0100

    Handling cases with partial udev in live-helpers.

diff --git a/scripts/live-helpers b/scripts/live-helpers
index c4ef57f..f9b00b9 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -15,6 +15,16 @@ else
 	udevinfo='udevinfo'
 fi
 
+# handle cases with partial udev (Ubuntu)
+if [ -x /lib/udev/vol_id ]
+then
+	volume_label='/lib/udev/vol_id -l'
+	volume_fstype='/lib/udev/vol_id -t'
+else
+	volume_label='/lib/udev/blkid -s LABEL -o value'
+	volume_fstype='/lib/udev/blkid -s TYPE -o value'
+fi
+
 sys2dev ()
 {
 	sysdev=${1#/sys}

-- 
live-initramfs



More information about the debian-live-changes mailing list