summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_sysfs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-02-18 11:29:04 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:06 +0200
commit04cec317cc4437eed514f4277f6779010e587662 (patch)
tree16e00a5358affa5a5b906f2c0d3f38d628ab0b2e /scripts/build/chroot_sysfs
parent3f3d05b2e654a4ec312cb121c991b8c010bf3db1 (diff)
downloadvyos-live-build-04cec317cc4437eed514f4277f6779010e587662.tar.gz
vyos-live-build-04cec317cc4437eed514f4277f6779010e587662.zip
Removing incomplete support for root-command.
Diffstat (limited to 'scripts/build/chroot_sysfs')
-rwxr-xr-xscripts/build/chroot_sysfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/chroot_sysfs b/scripts/build/chroot_sysfs
index 9ae890942..a40078f30 100755
--- a/scripts/build/chroot_sysfs
+++ b/scripts/build/chroot_sysfs
@@ -49,7 +49,7 @@ case "${1}" in
mkdir -p chroot/sys
# Mounting /sys
- ${LB_ROOT_COMMAND} mount sysfs-live -t sysfs chroot/sys
+ mount sysfs-live -t sysfs chroot/sys
else
rm -rf chroot/sys
ln -s /sys chroot/
@@ -74,7 +74,7 @@ case "${1}" in
#fuser -km chroot/sys
if [ -e chroot/sys/class ]
then
- ${LB_ROOT_COMMAND} umount chroot/sys
+ umount chroot/sys
fi
else
rm -rf chroot/sys