diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:51 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:29 +0100 |
commit | 8a4a50fdb6b206fbff62fd3043ed388f25a0ffb1 (patch) | |
tree | 621dc56a00a65ab0eb1fd4e7d42ad4e45d718741 /helpers/lh_chroot_proc | |
parent | 4739146fc6c4de8b16418517bb882312c475195c (diff) | |
download | vyos-live-build-8a4a50fdb6b206fbff62fd3043ed388f25a0ffb1.tar.gz vyos-live-build-8a4a50fdb6b206fbff62fd3043ed388f25a0ffb1.zip |
Adding live-helper 1.0~a7-1.
Diffstat (limited to 'helpers/lh_chroot_proc')
-rwxr-xr-x | helpers/lh_chroot_proc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_chroot_proc b/helpers/lh_chroot_proc index 42a7febe6..6eeec9dd8 100755 --- a/helpers/lh_chroot_proc +++ b/helpers/lh_chroot_proc @@ -57,7 +57,7 @@ case "${1}" in fi # Mounting /proc - mount proc-live -t proc chroot/proc + ${LH_ROOT_COMMAND} mount proc-live -t proc chroot/proc # Creating stage file Create_stagefile .stage/chroot_proc @@ -71,14 +71,14 @@ case "${1}" in Create_lockfile .lock # Workaround binfmt-support /proc locking - if [ -e chroot/proc/sys/fs/binftm_misc/status ] + if [ -e chroot/proc/sys/fs/binfmt_misc/status ] then - umount chroot/proc/sys/fs/binfmt_misc + ${LH_ROOT_COMMAND} umount chroot/proc/sys/fs/binfmt_misc fi # Unmounting /proc #fuser -km chroot/proc - umount chroot/proc > /dev/null 2>&1 + ${LH_ROOT_COMMAND} umount chroot/proc > /dev/null 2>&1 # Removing stage file rm -f .stage/chroot_proc |