Changeset 2484938 for chroot/common


Ignore:
Timestamp:
Sep 15, 2006, 7:06:38 AM (18 years ago)
Author:
Chris Staub <chris@…>
Children:
6ec9929
Parents:
142e52c5
Message:

Change occurences of $VARIABLE to $\{VARIABLE\} for consistency

Location:
chroot/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chroot/common/chroot.xml

    r142e52c5 r2484938  
    1717  temporary tools:</para>
    1818
    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\$ ' \
    2121    PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
    2222    /tools/bin/bash --login +h</userinput></screen>
     
    2727  <envar>TERM</envar>, <envar>PS1</envar>, and
    2828  <envar>PATH</envar> variables are set again. The
    29   <parameter>TERM=$TERM</parameter> construct will set the
     29  <parameter>TERM=${TERM}</parameter> construct will set the
    3030  <envar>TERM</envar> variable inside chroot to the same value as
    3131  outside chroot. This variable is needed for programs like
     
    3838  <envar>CLFS</envar> variable anymore, because all work will be
    3939  restricted to the CLFS file system.  This is because the Bash shell is
    40   told that <filename class="directory">$CLFS</filename> is now the root
     40  told that <filename class="directory">${CLFS}</filename> is now the root
    4141  (<filename class="directory">/</filename>) directory.</para>
    4242
  • chroot/common/kernfs.xml

    r142e52c5 r2484938  
    2323  be mounted:</para>
    2424
    25 <screen><userinput>mkdir -pv $CLFS/{dev,proc,sys}</userinput></screen>
     25<screen><userinput>mkdir -pv ${CLFS}/{dev,proc,sys}</userinput></screen>
    2626
    2727  <para>Now mount the file systems:</para>
    2828
    29 <screen><userinput>mount -vt proc proc $CLFS/proc
    30 mount -vt sysfs sysfs $CLFS/sys</userinput></screen>
     29<screen><userinput>mount -vt proc proc ${CLFS}/proc
     30mount -vt sysfs sysfs ${CLFS}/sys</userinput></screen>
    3131
    3232  <para>Remember that if for any reason you stop working on the CLFS system
     
    3838  starting Udev early in the boot process, so we create them here:</para>
    3939
    40 <screen><userinput>mknod -m 600 $CLFS/dev/console c 5 1
    41 mknod -m 666 $CLFS/dev/null c 1 3</userinput></screen>
     40<screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
     41mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
    4242
    4343  <para>Once the system is complete and booting, the rest of our device
     
    4848  appear in the new CLFS filesystem:</para>
    4949
    50 <screen><userinput>mount -v -o bind /dev $CLFS/dev</userinput></screen>
     50<screen><userinput>mount -v -o bind /dev ${CLFS}/dev</userinput></screen>
    5151
    5252  <para>Additional file systems will soon be mounted from within the chroot
     
    5454  for each of these now:</para>
    5555
    56 <screen><userinput>mount -f -vt tmpfs tmpfs $CLFS/dev/shm
    57 mount -f -vt devpts -o gid=4,mode=620 devpts $CLFS/dev/pts</userinput></screen>
     56<screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm
     57mount -f -vt devpts -o gid=4,mode=620 devpts ${CLFS}/dev/pts</userinput></screen>
    5858
    5959</sect1>
Note: See TracChangeset for help on using the changeset viewer.