summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sysfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:51 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:51 +0200
commit3de3c9914784e384c5747323bc18988601e137e6 (patch)
tree621dc56a00a65ab0eb1fd4e7d42ad4e45d718741 /helpers/lh_chroot_sysfs
parent2230835b694fef8f6f63992b373d06e6025917ce (diff)
downloadvyos-live-build-3de3c9914784e384c5747323bc18988601e137e6.tar.gz
vyos-live-build-3de3c9914784e384c5747323bc18988601e137e6.zip
Adding live-helper 1.0~a7-1.
Diffstat (limited to 'helpers/lh_chroot_sysfs')
-rwxr-xr-xhelpers/lh_chroot_sysfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_sysfs b/helpers/lh_chroot_sysfs
index 539a7937d..5cf50c3cf 100755
--- a/helpers/lh_chroot_sysfs
+++ b/helpers/lh_chroot_sysfs
@@ -57,7 +57,7 @@ case "${1}" in
fi
# Mounting /sys
- mount sysfs-live -t sysfs chroot/sys
+ ${LH_ROOT_COMMAND} mount sysfs-live -t sysfs chroot/sys
# Creating stage file
Create_stagefile .stage/chroot_sysfs
@@ -72,7 +72,7 @@ case "${1}" in
# Unmounting /sys
#fuser -km chroot/sys
- umount chroot/sys > /dev/null 2>&1
+ ${LH_ROOT_COMMAND} umount chroot/sys > /dev/null 2>&1
# Removing stage file
rm -f .stage/chroot_sysfs