summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_interactive
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-10-28 16:44:06 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:43 +0100
commit1c1e7db6c44d639fd51ee23061087c7d14b6ef6b (patch)
treee20b0cfa3a45140a39be0cadf45410eab5cc22e7 /helpers/lh_chroot_interactive
parent6696b019fe03a371d69c50a1ef82223e4bb364a7 (diff)
downloadvyos-live-build-1c1e7db6c44d639fd51ee23061087c7d14b6ef6b.tar.gz
vyos-live-build-1c1e7db6c44d639fd51ee23061087c7d14b6ef6b.zip
Generalizing internal Chroot(); by requiring its first argument to be the chroot directory.
Diffstat (limited to 'helpers/lh_chroot_interactive')
-rwxr-xr-xhelpers/lh_chroot_interactive6
1 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_chroot_interactive b/helpers/lh_chroot_interactive
index b7d34d690..62f76524b 100755
--- a/helpers/lh_chroot_interactive
+++ b/helpers/lh_chroot_interactive
@@ -50,15 +50,15 @@ Create_lockfile .lock
case "${LH_INTERACTIVE}" in
enabled|shell)
Echo_message "Pausing build: starting interactive shell..."
- Chroot "/bin/bash --login"
+ Chroot chroot "/bin/bash --login"
;;
x11)
Echo_message "Pausing build: starting interactive X11..."
- Chroot "startx"
+ Chroot chroot "startx"
;;
xnest)
Echo_message "Pausing build: starting interactive Xnest..."
- #Chroot "" # FIXME
+ #Chroot chroot "" # FIXME
;;
esac