Ignore:
Timestamp:
Jul 7, 2006, 8:36:27 PM (18 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
eda9ef8
Parents:
906ec5b
Message:

Changed Creating Directories sections to use be more consistent, and use xincludes for the directory-creation commands

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/multilib/creatingdirs.xml

    r906ec5b rd012cdb5  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>install -dv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt}
    18 install -dv ${CLFS}/{sbin,srv,usr/local,var,opt,proc,sys}
     17<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt,opt}
     18mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
    1919install -dv ${CLFS}/root -m 0750
    20 install -dv ${CLFS}/tmp ${CLFS}/var/tmp -m 1777
    21 install -dv ${CLFS}/media/{floppy,cdrom}
    22 install -dv ${CLFS}/usr/{bin,include,lib{,64},sbin,share,src}
    23 ln -sv share/{man,doc,info} ${CLFS}/usr
    24 install -dv ${CLFS}/usr/share/{doc,info,locale,man}
    25 install -dv ${CLFS}/usr/share/{misc,terminfo,zoneinfo}
    26 install -dv ${CLFS}/usr/share/man/man{1,2,3,4,5,6,7,8}
    27 install -dv ${CLFS}/usr/local/{bin,etc,include,lib{,64},sbin,share,src}
    28 ln -sv share/{man,doc,info} ${CLFS}/usr/local
    29 install -dv ${CLFS}/usr/local/share/{doc,info,locale,man}
    30 install -dv ${CLFS}/usr/local/share/{misc,terminfo,zoneinfo}
    31 install -dv ${CLFS}/usr/local/share/man/man{1,2,3,4,5,6,7,8}
    32 install -dv ${CLFS}/var/{lock,log,mail,run,spool}
    33 install -dv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
    34 install -dv ${CLFS}/opt/{bin,doc,include,info}
    35 install -dv ${CLFS}/opt/{lib{,64},man/man{1,2,3,4,5,6,7,8}}
     20install -dv ${CLFS}{/var,}/tmp -m 1777
     21mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,64},sbin,src}
     22mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
     23mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
     24mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
     25for dir in /usr{,/local}; do
     26  ln -sv share/{man,doc,info} $dir
     27done
     28mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     29mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
    3630install -dv ${CLFS}/usr/lib/locale
    3731ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
    38 
    39   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    40   href="../common/creatingdirs.xml"
    41   xpointer="xpointer(//*[@os='b'])"/>
    4232
    4333  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4939  xpointer="xpointer(//*[@os='d'])"/>
    5040
     41  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     42  href="../common/creatingdirs.xml"
     43  xpointer="xpointer(//*[@os='e'])"/>
     44
    5145</sect1>
Note: See TracChangeset for help on using the changeset viewer.