Changeset 65df7b1 in clfs-sysroot for BOOK/final-preps
- Timestamp:
- Sep 15, 2006, 5:36:32 PM (18 years ago)
- Branches:
- master
- Children:
- 3cf7854
- Parents:
- 5ae7889
- Location:
- BOOK/final-preps
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-preps/aboutclfs.xml
r5ae7889 r65df7b1 16 16 Check that the <envar>CLFS</envar> variable is set up properly with:</para> 17 17 18 <screen><userinput>echo $ CLFS</userinput></screen>18 <screen><userinput>echo ${CLFS}</userinput></screen> 19 19 20 20 <para>Make sure the output shows the path to the CLFS partition's mount … … 26 26 27 27 <para>Having this variable set is beneficial in that commands such as 28 <command>install -d $ CLFS/tools</command> can be typed literally. The shell29 will automatically replace <quote>$ CLFS</quote> with28 <command>install -d ${CLFS}/tools</command> can be typed literally. The shell 29 will automatically replace <quote>${CLFS}</quote> with 30 30 <quote>/mnt/clfs</quote> (or whatever the variable was set to) when it 31 31 processes the command line.</para> 32 32 33 <para>If you haven't created the <filename class="directory">$ CLFS</filename>33 <para>If you haven't created the <filename class="directory">${CLFS}</filename> 34 34 directory, do so at this time by issuing the following commands:</para> 35 35 36 <screen><userinput>install -dv $ CLFS</userinput></screen>36 <screen><userinput>install -dv ${CLFS}</userinput></screen> 37 37 38 <para>Do not forget to check that <envar>$ CLFS</envar> is set whenever38 <para>Do not forget to check that <envar>${CLFS}</envar> is set whenever 39 39 you leave and reenter the current working environment (as when doing a 40 40 <quote>su</quote> to <systemitem class="username">root</systemitem> or -
BOOK/final-preps/addinguser.xml
r5ae7889 r65df7b1 79 79 80 80 <para>Grant <systemitem class="username">clfs</systemitem> full access to 81 <filename class="directory">$ CLFS</filename> by making <systemitem81 <filename class="directory">${CLFS}</filename> by making <systemitem 82 82 class="username">clfs</systemitem> the directory's owner:</para> 83 83 84 <screen><userinput>chown -Rv clfs $ CLFS</userinput></screen>84 <screen><userinput>chown -Rv clfs ${CLFS}</userinput></screen> 85 85 86 86 <para>Next, login as user <systemitem class="username">clfs</systemitem>. -
BOOK/final-preps/creatingdirs.xml
r5ae7889 r65df7b1 25 25 mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8} 26 26 for dir in ${CLFS}/usr{,/local}; do 27 ln -sv share/{man,doc,info} $ dir27 ln -sv share/{man,doc,info} ${dir} 28 28 done</userinput></screen> 29 29 -
BOOK/final-preps/settingenviron.xml
r5ae7889 r65df7b1 17 17 18 18 <screen os="b"><userinput>cat > ~/.bash_profile << "EOF" 19 <literal>exec env -i HOME=$ HOME TERM=$TERMPS1='\u:\w\$ ' /bin/bash</literal>19 <literal>exec env -i HOME=${HOME} TERM=${TERM} PS1='\u:\w\$ ' /bin/bash</literal> 20 20 EOF</userinput></screen> 21 21
Note:
See TracChangeset
for help on using the changeset viewer.