[SCM] Debian Live initramfs hook branch, master, updated. 1.157.2-1-21-g84fccdb

Daniel Baumann daniel at debian.org
Wed Jul 29 10:21:36 UTC 2009


The following commit has been merged in the master branch:
commit 84fccdbe5d77ad3c972ddcb9c11e060ff5114d13
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed Jul 29 12:06:23 2009 +0200

    Also updating USB device detection in initramfs script for linux 2.6.29 and newer.

diff --git a/scripts/live b/scripts/live
index 89fcd50..f33ece7 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1411,7 +1411,8 @@ find_livefs ()
 			do
 				if [ "$(cat ${sysblock}/removable)" = "1" ]
 				then
-					if readlink ${sysblock}/device | grep -q usb
+					if readlink ${sysblock} | grep -q usb ||
+					   readlink ${sysblock}/device | grep -q usb # linux < 2.6.29
 					then
 						for dev in $(subdevices "${sysblock}")
 						do

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list