Changeset 65df7b1 in clfs-sysroot
- Timestamp:
- Sep 15, 2006, 5:36:32 PM (18 years ago)
- Branches:
- master
- Children:
- 3cf7854
- Parents:
- 5ae7889
- Location:
- BOOK
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootable/common/chowning.xml
r5ae7889 r65df7b1 19 19 <para>The commands in the remainder of this book must be performed while 20 20 logged in as <systemitem class="username">root</systemitem>. Check that 21 $ CLFSis still set:</para>21 ${CLFS} is still set:</para> 22 22 23 <screen><userinput>echo $ CLFS</userinput></screen>23 <screen><userinput>echo ${CLFS}</userinput></screen> 24 24 25 25 </important> -
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 -
BOOK/final-system/common/bison.xml
r5ae7889 r65df7b1 32 32 <para os="b1">The configure system causes bison to be built without support 33 33 for internationalization of error messages if a <command>bison</command> 34 program is not already in $ PATH. The following addition will correct34 program is not already in ${PATH}. The following addition will correct 35 35 this:</para> 36 36 -
BOOK/final-system/common/texinfo.xml
r5ae7889 r65df7b1 74 74 rm dir 75 75 for f in * 76 do install-info $ fdir 2>/dev/null76 do install-info ${f} dir 2>/dev/null 77 77 done</userinput></screen> 78 78 -
BOOK/introduction/common/askforhelp.xml
r5ae7889 r65df7b1 47 47 </listitem> 48 48 <listitem> 49 <para>The value of the $ CLFS_HOST, $CLFS_TARGET, $BUILD32, and $BUILD6449 <para>The value of the ${CLFS_HOST}, ${CLFS_TARGET}, ${BUILD32}, and ${BUILD64} 50 50 environment variables.</para> 51 51 </listitem> -
BOOK/materials/common/introduction.xml
r5ae7889 r65df7b1 30 30 that is conveniently available throughout the entire build. A working 31 31 directory is also required to unpack the sources and build them. 32 <filename class="directory">$ CLFS/sources</filename> can be used both32 <filename class="directory">${CLFS}/sources</filename> can be used both 33 33 as the place to store the tarballs and patches and as a working 34 34 directory. By using this directory, the required elements will be … … 40 40 starting the download session:</para> 41 41 42 <screen><userinput>mkdir -v $ CLFS/sources</userinput></screen>42 <screen><userinput>mkdir -v ${CLFS}/sources</userinput></screen> 43 43 44 44 <para>Make this directory writable and sticky. When a directory is … … 48 48 write and sticky modes:</para> 49 49 50 <screen><userinput>chmod -v a+wt $ CLFS/sources</userinput></screen>50 <screen><userinput>chmod -v a+wt ${CLFS}/sources</userinput></screen> 51 51 52 52 </sect1> -
BOOK/partitioning/common/mounting.xml
r5ae7889 r65df7b1 26 26 running:</para> 27 27 28 <screen><userinput>mkdir -pv $ CLFS29 mount -v /dev/<replaceable>[xxx]</replaceable> $ CLFS</userinput></screen>28 <screen><userinput>mkdir -pv ${CLFS} 29 mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}</userinput></screen> 30 30 31 31 <para>Replace <replaceable>[xxx]</replaceable> with the designation of … … 36 36 class="directory">/usr</filename>), mount them using:</para> 37 37 38 <screen><userinput>mkdir -pv $ CLFS39 mount -v /dev/<replaceable>[xxx]</replaceable> $ CLFS40 mkdir -v $ CLFS/usr41 mount -v /dev/<replaceable>[yyy]</replaceable> $ CLFS/usr</userinput></screen>38 <screen><userinput>mkdir -pv ${CLFS} 39 mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS} 40 mkdir -v ${CLFS}/usr 41 mount -v /dev/<replaceable>[yyy]</replaceable> ${CLFS}/usr</userinput></screen> 42 42 43 43 <para>Replace <replaceable>[xxx]</replaceable> and -
BOOK/prologue/common/typography.xml
r5ae7889 r65df7b1 40 40 and websites.</para> 41 41 42 <screen role="nodump"><userinput>cat > $ CLFS/etc/group << "EOF"42 <screen role="nodump"><userinput>cat > ${CLFS}/etc/group << "EOF" 43 43 <literal>root:x:0: 44 44 bin:x:1: … … 48 48 <para>This format is used when creating configuration files. The first 49 49 command tells the system to create the file 50 <filename>$ CLFS/etc/group</filename> from whatever is typed on the50 <filename>${CLFS}/etc/group</filename> from whatever is typed on the 51 51 following lines until the sequence end of file (EOF) is encountered. 52 52 Therefore, this entire section is generally typed as seen.</para>
Note:
See TracChangeset
for help on using the changeset viewer.