r1927 - / trunk/BOOK/boot/common trunk/BOOK/boot/mips64 trunk/BOOK/boot/multilib trunk/BOOK/chroot/common trunk/BOOK/chroot/mips64 trunk/BOOK/chroot/multilib

jim at linuxfromscratch.org jim at linuxfromscratch.org
Sat Jul 8 00:45:25 PDT 2006


Author: jim
Date: 2006-07-08 01:45:24 -0600 (Sat, 08 Jul 2006)
New Revision: 1927

Modified:
   /
   trunk/BOOK/boot/common/creatingdirs.xml
   trunk/BOOK/boot/mips64/creatingdirs.xml
   trunk/BOOK/boot/multilib/creatingdirs.xml
   trunk/BOOK/chroot/common/creatingdirs.xml
   trunk/BOOK/chroot/mips64/creatingdirs.xml
   trunk/BOOK/chroot/multilib/creatingdirs.xml
Log:
 r4389 at server (orig r2023):  chris at beaker67.com | 2006-07-07 21:18:44 -0700
 More tweaking to remove redundancies, added missing xinclude, and removed the {1..8} constructs from boot section as this is a recent bash addition



Property changes on: 
___________________________________________________________________
Name: svk:merge
   - b6734a72-470d-0410-b049-f317dca95413:/:2022
   + b6734a72-470d-0410-b049-f317dca95413:/:2023

Modified: trunk/BOOK/boot/common/creatingdirs.xml
===================================================================
--- trunk/BOOK/boot/common/creatingdirs.xml	2006-07-08 07:45:15 UTC (rev 1926)
+++ trunk/BOOK/boot/common/creatingdirs.xml	2006-07-08 07:45:24 UTC (rev 1927)
@@ -13,19 +13,19 @@
   <para os="a">It is time to create some structure in the CLFS file system. Create a
   standard directory tree by issuing the following commands:</para>
 
-<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib,mnt,opt}
-mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt}
+mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
+mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
+mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}
 install -dv -m 0750 ${CLFS}/root
 install -dv -m 1777 ${CLFS}{/var,}/tmp
 mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib,sbin,src}
 mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
-mkdir -v  ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
-mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1..8}
+mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
+mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
 for dir in ${CLFS}/usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
-done
-mkdir -v ${CLFS}/var/{lock,log,mail,run,spool}
-mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
+done</userinput></screen>
 
   <para os="c">Directories are, by default, created with permission mode 755,
   but this is not desirable for all directories. In the commands above,

Modified: trunk/BOOK/boot/mips64/creatingdirs.xml
===================================================================
--- trunk/BOOK/boot/mips64/creatingdirs.xml	2006-07-08 07:45:15 UTC (rev 1926)
+++ trunk/BOOK/boot/mips64/creatingdirs.xml	2006-07-08 07:45:24 UTC (rev 1927)
@@ -14,19 +14,19 @@
   href="../common/creatingdirs.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
-<screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,32,64},mnt,opt}
-mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+<screen><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt}
+mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
+mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
+mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
 install -dv ${CLFS}/root -m 0750
 install -dv ${CLFS}{/var,}/tmp -m 1777
 mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,32,64},sbin,src}
 mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
 mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
-mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1..8}
+mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
 for dir in ${CLFS}/usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
 done
-mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
-mkdir -pv ${CLFS}/var/{opt,cache,lib{,32,64}/{misc,locate},local}
 install -dv ${CLFS}/usr/lib/locale
 ln -sv ../lib/locale ${CLFS}/usr/lib32
 ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>

Modified: trunk/BOOK/boot/multilib/creatingdirs.xml
===================================================================
--- trunk/BOOK/boot/multilib/creatingdirs.xml	2006-07-08 07:45:15 UTC (rev 1926)
+++ trunk/BOOK/boot/multilib/creatingdirs.xml	2006-07-08 07:45:24 UTC (rev 1927)
@@ -14,8 +14,10 @@
   href="../common/creatingdirs.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
-<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,etc/opt,home,lib{,64},mnt,opt}
-mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
+mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
+mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
+mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
 install -dv ${CLFS}/root -m 0750
 install -dv ${CLFS}{/var,}/tmp -m 1777
 mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,64},sbin,src}
@@ -25,8 +27,6 @@
 for dir in /usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
 done
-mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
-mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
 install -dv ${CLFS}/usr/lib/locale
 ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
 

Modified: trunk/BOOK/chroot/common/creatingdirs.xml
===================================================================
--- trunk/BOOK/chroot/common/creatingdirs.xml	2006-07-08 07:45:15 UTC (rev 1926)
+++ trunk/BOOK/chroot/common/creatingdirs.xml	2006-07-08 07:45:24 UTC (rev 1927)
@@ -14,19 +14,19 @@
   href="../../boot/common/creatingdirs.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
-<screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib,mnt,opt}
-mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+<screen os="b"><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib,mnt}
+mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
+mkdir -pv /var/{lock,log,mail,run,spool}
+mkdir -pv /var/{opt,cache,lib/{misc,locate},local}
 install -dv -m 0750 /root
 install -dv -m 1777 {/var,}/tmp
 mkdir -pv /usr/{,local/}{bin,include,lib,sbin,src}
 mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
-mkdir -v  /usr/{,local/}share/{misc,terminfo,zoneinfo}
+mkdir -pv /usr/{,local/}share/{misc,terminfo,zoneinfo}
 mkdir -pv /usr/{,local/}share/man/man{1..8}
 for dir in /usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
-done
-mkdir -v /var/{lock,log,mail,run,spool}
-mkdir -pv /var/{opt,cache,lib/{misc,locate},local}</userinput></screen>
+done</userinput></screen>
 
   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
   href="../../boot/common/creatingdirs.xml"

Modified: trunk/BOOK/chroot/mips64/creatingdirs.xml
===================================================================
--- trunk/BOOK/chroot/mips64/creatingdirs.xml	2006-07-08 07:45:15 UTC (rev 1926)
+++ trunk/BOOK/chroot/mips64/creatingdirs.xml	2006-07-08 07:45:24 UTC (rev 1927)
@@ -14,8 +14,10 @@
   href="../common/creatingdirs.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
-<screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib{,32,64},mnt,opt}
-mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+<screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt}
+mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
+mkdir -pv /var/{lock,log,mail,run,spool}
+mkdir -pv /var/{opt,cache,lib{,32,64}/{misc,locate},local}
 install -dv /root -m 0750
 install -dv {/var,}/tmp -m 1777
 mkdir -pv /usr/{,local/}{bin,include,lib{,32,64},sbin,src}
@@ -25,8 +27,6 @@
 for dir in /usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
 done
-mkdir -pv /var/{lock,log,mail,run,spool}
-mkdir -pv /var/{opt,cache,lib{,32,64}/{misc,locate},local}
 install -dv /usr/lib/locale
 ln -sv ../lib/locale /usr/lib32
 ln -sv ../lib/locale /usr/lib64</userinput></screen>

Modified: trunk/BOOK/chroot/multilib/creatingdirs.xml
===================================================================
--- trunk/BOOK/chroot/multilib/creatingdirs.xml	2006-07-08 07:45:15 UTC (rev 1926)
+++ trunk/BOOK/chroot/multilib/creatingdirs.xml	2006-07-08 07:45:24 UTC (rev 1927)
@@ -14,19 +14,19 @@
   href="../common/creatingdirs.xml"
   xpointer="xpointer(//*[@os='a'])"/>
 
-<screen><userinput>mkdir -pv /{bin,boot,dev,etc/opt,home,lib{,64},mnt,opt}
-mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys,var}
+<screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
+mkdir -pv /{proc,media/{floppy,cdrom},sbin,srv,sys}
+mkdir -pv /var/{lock,log,mail,run,spool}
+mkdir -pv /var/{opt,cache,lib{,64}/{misc,locate},local}
 install -dv /root -m 0750
 install -dv {/var,}/tmp -m 1777
 mkdir -pv /usr/{,local/}{bin,include,lib{,64},sbin,src}
 mkdir -pv /usr/{,local/}share/{doc,info,locale,man}
 mkdir -pv /usr/{,local/}share/{misc,terminfo,zoneinfo}
-mkdir -pv /usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
+mkdir -pv /usr/{,local/}share/man/man{1..8}
 for dir in /usr{,/local}; do
   ln -sv share/{man,doc,info} $dir
 done
-mkdir -pv /var/{lock,log,mail,run,spool}
-mkdir -pv /var/{opt,cache,lib{,64}/{misc,locate},local}
 install -dv /usr/lib/locale
 ln -sv ../lib/locale /usr/lib64</userinput></screen>
 




More information about the cross-lfs mailing list