Changeset 040521bc for BOOK/chroot/common/chroot.xml
- Timestamp:
- Sep 22, 2006, 8:30:38 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 8953f24
- Parents:
- 5921622
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/chroot/common/chroot.xml
r5921622 r040521bc 17 17 temporary tools:</para> 18 18 19 <screen><userinput>chroot "$ CLFS" /tools/bin/env -i \20 HOME=/root TERM="$ TERM" PS1='\u:\w\$ ' \19 <screen><userinput>chroot "${CLFS}" /tools/bin/env -i \ 20 HOME=/root TERM="${TERM}" PS1='\u:\w\$ ' \ 21 21 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \ 22 22 /tools/bin/bash --login +h</userinput></screen> … … 27 27 <envar>TERM</envar>, <envar>PS1</envar>, and 28 28 <envar>PATH</envar> variables are set again. The 29 <parameter>TERM=$ TERM</parameter> construct will set the29 <parameter>TERM=${TERM}</parameter> construct will set the 30 30 <envar>TERM</envar> variable inside chroot to the same value as 31 31 outside chroot. This variable is needed for programs like … … 38 38 <envar>CLFS</envar> variable anymore, because all work will be 39 39 restricted to the CLFS file system. This is because the Bash shell is 40 told that <filename class="directory">$ CLFS</filename> is now the root40 told that <filename class="directory">${CLFS}</filename> is now the root 41 41 (<filename class="directory">/</filename>) directory.</para> 42 42
Note: See TracChangeset
for help on using the changeset viewer.