r1926 - / trunk/BOOK/boot/mips64 trunk/BOOK/chroot/mips64 trunk/BOOK/chroot/multilib

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


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

Modified:
   /
   trunk/BOOK/boot/mips64/creatingdirs.xml
   trunk/BOOK/chroot/mips64/creatingdirs.xml
   trunk/BOOK/chroot/multilib/creatingdirs.xml
Log:
 r4388 at server (orig r2022):  chris at beaker67.com | 2006-07-07 20:51:49 -0700
 Forgot chroot commands for Creating Directories section



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

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