Changeset 032dc4e8 for chapter07


Ignore:
Timestamp:
03/31/2021 10:41:40 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
4ea78e0
Parents:
bd1abf6
git-author:
Thomas Trepl <thomas@…> (08/07/2020 07:06:58 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:40 AM)
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12012 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter07
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter07/chapter07.xml

    rbd1abf6 r032dc4e8  
    1919  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="createfiles.xml"/>
    2020  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libstdc++-pass2.xml"/>
     21  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/>
    2122  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bison.xml"/>
    22   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gettext.xml"/>
    2323  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="perl.xml"/>
    2424  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="python.xml"/>
  • chapter07/creatingdirs.xml

    rbd1abf6 r032dc4e8  
    1111  <title>Creating Directories</title>
    1212
    13   <para>It is time to create the full structure in the LFS file system. Create
    14   a standard directory tree by issuing the following commands:</para>
     13  <para>It is time to create the full structure in the LFS file system.</para>
    1514
    16 <screen><userinput>mkdir -pv /{bin,boot,etc/{opt,sysconfig},home,lib/firmware,mnt,opt}
    17 mkdir -pv /{media/{floppy,cdrom},srv,var}
     15  <para>Create some root-level directories that are not in the limited set
     16    required in the previous chapters by issuing the following command:</para>
     17
     18  <note><para>Some of the directories below have already been created earlier
     19  with explicit instructions or when installing some packages.  They are
     20  repeated below for completeness.</para></note>
     21
     22<screen><userinput>mkdir -pv /{boot,home,mnt,opt,srv}</userinput></screen>
     23
     24  <para>Create the required set of subdirectories below the root-level by
     25    issuing the following commands:</para>
     26
     27<screen><userinput>mkdir -pv /etc/{opt,sysconfig}
     28mkdir -pv /lib/firmware
     29mkdir -pv /media/{floppy,cdrom}
    1830mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
    1931mkdir -pv /usr/{,local/}share/{color,dict,doc,info,locale,man}
    2032mkdir -pv /usr/{,local/}share/{misc,terminfo,zoneinfo}
    2133mkdir -pv /usr/{,local/}share/man/man{1..8}
     34mkdir -pv /var/{cache,local,log,mail,opt,spool}
     35mkdir -pv /var/lib/{color,misc,locate}
     36
     37ln -sfv /run /var/run
     38ln -sfv /run/lock /var/lock
     39
    2240install -dv -m 0750 /root
    23 install -dv -m 1777 /tmp /var/tmp
    24 
    25 mkdir -v /var/{log,mail,spool}
    26 ln -sv /run /var/run
    27 ln -sv /run/lock /var/lock
    28 mkdir -pv /var/{opt,cache,lib/{color,misc,locate},local}</userinput></screen>
     41install -dv -m 1777 /tmp /var/tmp</userinput></screen>
    2942
    3043  <para arch="ml_32,ml_x32,ml_all">Required directories for multilib
Note: See TracChangeset for help on using the changeset viewer.