From a65b85fa890df5a24787ebbda6f2af1afd7faca5 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Tue, 22 May 2001 23:31:21 +0000 Subject: Added chrootcmd.xml and have bash-inst.xml, glibc-inst.xml, m4-inst.xml and chroot.xml use that file git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@650 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/chroot.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'chapter06/chroot.xml') diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml index 906d71b48..17745173c 100644 --- a/chapter06/chroot.xml +++ b/chapter06/chroot.xml @@ -13,12 +13,7 @@ everything a user does will be restricted to the LFS partition (since / is actually /mnt/lfs but the shell doesn't know that). -
- cd $LFS && - chroot $LFS /usr/bin/env -i HOME=/root - \ -    TERM=$TERM /bin/bash --login -
+&c6-chrootcmd; The TERM=$TERM construction will set the $TERM value inside -- cgit v1.2.3-54-g00ecf