[SCM] debian-live/live-helper branch, master, updated. 1.0_a37-2-34-g2576eed

Daniel Baumann daniel at debian.org
Wed Jan 16 09:24:31 UTC 2008


The branch, master has been updated
       via  2576eed7315eee6122650168c61a849592da54f9 (commit)
      from  8b59b61bb25e43766add1f601404224d33cde727 (commit)


- Shortlog ------------------------------------------------------------
2576eed Checking for /sys/class rather than /sys/kernel, avoids problem when running under OpenVZ which doesn't have sys/kernel, thanks to Takeshi Yaegashi <yaegashi at debian.org>.

Summary of changes:
 helpers/lh_chroot_sysfs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit 2576eed7315eee6122650168c61a849592da54f9
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed Jan 16 10:24:23 2008 +0100

    Checking for /sys/class rather than /sys/kernel, avoids problem when running under OpenVZ which doesn't have sys/kernel, thanks to Takeshi Yaegashi <yaegashi at debian.org>.

diff --git a/helpers/lh_chroot_sysfs b/helpers/lh_chroot_sysfs
index 04e67de..c9d07aa 100755
--- a/helpers/lh_chroot_sysfs
+++ b/helpers/lh_chroot_sysfs
@@ -81,7 +81,7 @@ case "${1}" in
 		then
 			# Unmounting /sys
 			#fuser -km chroot/sys
-			if [ -e chroot/sys/kernel ]
+			if [ -e chroot/sys/class ]
 			then
 				${LH_ROOT_COMMAND} umount chroot/sys
 			fi

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list