Changeset fd6bb04 for BOOK


Ignore:
Timestamp:
Jul 7, 2006, 9:18:44 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:
a66a890
Parents:
eda9ef8
Message:

More tweaking to remove redundancies, added missing xinclude, and removed the {1..8} constructs from boot section as this is a recent bash addition

Location:
BOOK
Files:
6 edited

Legend:

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

    reda9ef8 rfd6bb04  
    1414  standard directory tree by issuing the following commands:</para>
    1515
    16 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
    17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     16<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
     17mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
     18mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     19mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
    1820install -dv -m 0750 ${CLFS}/root
    1921install -dv -m 1777 ${CLFS}{/var,}/tmp
    2022mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src}
    2123mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
    22 mkdir -v ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
    23 mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1..8}
     24mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
     25mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
    2426for dir in ${CLFS}/usr{,/local}; do
    2527  ln -sv share/{man,doc,info} $dir
    26 done
    27 mkdir -v ${CLFS}/var/{lock,log,mail,run,spool}
    28 mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
     28done</userinput></screen>
    2929
    3030  <para os="c">Directories are, by default, created with permission mode 755,
  • BOOK/boot/mips64/creatingdirs.xml

    reda9ef8 rfd6bb04  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,32,64},mnt,opt}
    18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     17<screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt}
     18mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
     19mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     20mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
    1921install -dv ${CLFS}/root -m 0750
    2022install -dv ${CLFS}{/var,}/tmp -m 1777
     
    2224mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
    2325mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
    24 mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1..8}
     26mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
    2527for dir in ${CLFS}/usr{,/local}; do
    2628  ln -sv share/{man,doc,info} $dir
    2729done
    28 mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
    29 mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
    3030install -dv ${CLFS}/usr/lib/locale
    3131ln -sv ../lib/locale ${CLFS}/usr/lib32
  • BOOK/boot/multilib/creatingdirs.xml

    reda9ef8 rfd6bb04  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt,opt}
    18 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     17<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
     18mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
     19mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
     20mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
    1921install -dv ${CLFS}/root -m 0750
    2022install -dv ${CLFS}{/var,}/tmp -m 1777
     
    2628  ln -sv share/{man,doc,info} $dir
    2729done
    28 mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
    29 mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
    3030install -dv ${CLFS}/usr/lib/locale
    3131ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
  • BOOK/chroot/common/creatingdirs.xml

    reda9ef8 rfd6bb04  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib,mnt,opt}
    18 mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     17<screen os="b"><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib,mnt}
     18mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
     19mkdir -pv /var/{lock,log,mail,run,spool}
     20mkdir -pv /var/{opt,cache,lib/{misc,locate},local}
    1921install -dv -m 0750 /root
    2022install -dv -m 1777 {/var,}/tmp
    2123mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
    2224mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
    23 mkdir -v /usr/{,local/}share/{misc,terminfo,zoneinfo}
     25mkdir -pv /usr/{,local/}share/{misc,terminfo,zoneinfo}
    2426mkdir -pv /usr/{,local/}share/man/man{1..8}
    2527for dir in /usr{,/local}; do
    2628  ln -sv share/{man,doc,info} $dir
    27 done
    28 mkdir -v /var/{lock,log,mail,run,spool}
    29 mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
     29done</userinput></screen>
    3030
    3131  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/chroot/mips64/creatingdirs.xml

    reda9ef8 rfd6bb04  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib{,32,64},mnt,opt}
    18 mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     17<screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt}
     18mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
     19mkdir -pv /var/{lock,log,mail,run,spool}
     20mkdir -pv /var/{opt,cache,lib{,32,64}/{misc,locate},local}
    1921install -dv /root -m 0750
    2022install -dv {/var,}/tmp -m 1777
     
    2628  ln -sv share/{man,doc,info} $dir
    2729done
    28 mkdir -pv /var/{lock,log,mail,run,spool}
    29 mkdir -pv /var/{opt,cache,lib{,32,64}/{misc,locate},local}
    3030install -dv /usr/lib/locale
    3131ln -sv ../lib/locale /usr/lib32
  • BOOK/chroot/multilib/creatingdirs.xml

    reda9ef8 rfd6bb04  
    1515  xpointer="xpointer(//*[@os='a'])"/>
    1616
    17 <screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib{,64},mnt,opt}
    18 mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var}
     17<screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
     18mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
     19mkdir -pv /var/{lock,log,mail,run,spool}
     20mkdir -pv /var/{opt,cache,lib{,64}/{misc,locate},local}
    1921install -dv /root -m 0750
    2022install -dv {/var,}/tmp -m 1777
     
    2224mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
    2325mkdir -pv /usr/{,local/}share/{misc,terminfo,zoneinfo}
    24 mkdir -pv /usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
     26mkdir -pv /usr/{,local/}share/man/man{1..8}
    2527for dir in /usr{,/local}; do
    2628  ln -sv share/{man,doc,info} $dir
    2729done
    28 mkdir -pv /var/{lock,log,mail,run,spool}
    29 mkdir -pv /var/{opt,cache,lib{,64}/{misc,locate},local}
    3030install -dv /usr/lib/locale
    3131ln -sv ../lib/locale /usr/lib64</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.