Changeset 229ed25 for BOOK/chroot
- Timestamp:
- Jan 4, 2014, 12:03:38 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f90d077
- Parents:
- ec008670 (diff), e57ce38 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- BOOK/chroot
- Files:
-
- 1 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/chroot/64/createfiles.xml
rec008670 r229ed25 21 21 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 22 22 ln -sv /tools/lib/libstd* /usr/lib 23 ln -sv bash /bin/sh</userinput></screen> 23 ln -sv bash /bin/sh 24 ln -sv /run /var/run</userinput></screen> 24 25 25 26 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/chroot/common/createfiles.xml
rec008670 r229ed25 19 19 ln -sv /tools/lib/libgcc_s.so{,.1} /usr/lib 20 20 ln -sv /tools/lib/libstd* /usr/lib 21 ln -sv bash /bin/sh</userinput></screen> 21 ln -sv bash /bin/sh 22 ln -sv /run /var/run</userinput></screen> 22 23 23 24 </sect1> -
BOOK/chroot/common/creatingdirs.xml
rec008670 r229ed25 16 16 17 17 <screen os="b"><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib,mnt} 18 mkdir -pv /{proc,media/{floppy,cdrom}, sbin,srv,sys}19 mkdir -pv /var/{lock,log,mail, run,spool}18 mkdir -pv /{proc,media/{floppy,cdrom},run/shm,sbin,srv,sys} 19 mkdir -pv /var/{lock,log,mail,spool} 20 20 mkdir -pv /var/{opt,cache,lib/{misc,locate},local} 21 21 install -dv -m 0750 /root -
BOOK/chroot/common/devices.xml
rec008670 r229ed25 30 30 31 31 <para>This file—<filename>/etc/fstab</filename>—has not 32 been created yet but is also not required for the file systems to be 33 properly mounted. As such, the warning can be safely ignored.</para> 32 been created yet (unless using the boot method), but is also not required 33 for the file systems to be properly mounted. The warning can be safely 34 ignored.</para> 34 35 35 36 </sect2> -
BOOK/chroot/common/kernfs.xml
rec008670 r229ed25 36 36 <para>Two device nodes, /dev/console and /dev/null, are required to be 37 37 present on the filesystem. These are needed by the kernel even before 38 starting Udev early in the boot process, so we create them here:</para>38 starting Eudev early in the boot process, so we create them here:</para> 39 39 40 40 <screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1 … … 42 42 43 43 <para>Once the system is complete and booting, the rest of our device 44 nodes are created by the Udev package. Since this package is not44 nodes are created by the Eudev package. Since this package is not 45 45 available to us right now, we must take other steps to provide device 46 46 nodes under on the CLFS filesystem. We will use the <quote>bind</quote> … … 54 54 for each of these now:</para> 55 55 56 <screen><userinput>mount -f -vt tmpfs tmpfs ${CLFS}/dev/shm 56 <screen><userinput>if [ -h ${CLFS}/dev/shm ]; then 57 link=$(readlink ${CLFS}/dev/shm) 58 mkdir -p ${CLFS}/$link 59 mount -f -vt tmpfs shm ${CLFS}/$link 60 unset link 61 else 62 mount -f -vt tmpfs shm ${CLFS}/dev/shm 63 fi 57 64 mount -f -vt devpts -o gid=&gid-tty;,mode=620 devpts ${CLFS}/dev/pts</userinput></screen> 58 65 -
BOOK/chroot/common/util-linux.xml
rec008670 r229ed25 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput> ./configure --prefix=/tools \29 <screen os="b"><userinput>PKG_CONFIG= ./configure --prefix=/tools \ 30 30 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 31 --disable-makeinstall-chown </userinput></screen>31 --disable-makeinstall-chown --disable-su --disable-login</userinput></screen> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/chroot/mips64/createfiles.xml
rec008670 r229ed25 23 23 ln -sv /tools/lib32/libstd* /usr/lib32 24 24 ln -sv /tools/lib64/libstd* /usr/lib64 25 ln -sv bash /bin/sh</userinput></screen> 25 ln -sv bash /bin/sh 26 ln -sv /run /var/run</userinput></screen> 26 27 27 28 </sect1> -
BOOK/chroot/mips64/creatingdirs.xml
rec008670 r229ed25 16 16 17 17 <screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,32,64},mnt} 18 mkdir -pv /{proc,media/{floppy,cdrom}, sbin,srv,sys}19 mkdir -pv /var/{lock,log,mail, run,spool}18 mkdir -pv /{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 19 mkdir -pv /var/{lock,log,mail,spool} 20 20 mkdir -pv /var/{opt,cache,lib{,32,64}/{misc,locate},local} 21 21 install -dv /root -m 0750 -
BOOK/chroot/multilib/createfiles.xml
rec008670 r229ed25 21 21 ln -sv /tools/lib/libstd* /usr/lib 22 22 ln -sv /tools/lib64/libstd* /usr/lib64 23 ln -sv bash /bin/sh</userinput></screen> 23 ln -sv bash /bin/sh 24 ln -sv /run /var/run</userinput></screen> 24 25 25 26 </sect1> -
BOOK/chroot/multilib/creatingdirs.xml
rec008670 r229ed25 16 16 17 17 <screen><userinput>mkdir -pv /{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt} 18 mkdir -pv /{proc,media/{floppy,cdrom}, sbin,srv,sys}19 mkdir -pv /var/{lock,log,mail, run,spool}18 mkdir -pv /{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 19 mkdir -pv /var/{lock,log,mail,spool} 20 20 mkdir -pv /var/{opt,cache,lib{,64}/{misc,locate},local} 21 21 install -dv /root -m 0750 -
BOOK/chroot/multilib/util-linux.xml
rec008670 r229ed25 22 22 <sect2 role="installation"> 23 23 <title>Installation of Util-linux</title> 24 24 25 25 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 26 26 href="../common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" ./configure --prefix=/tools \29 <screen os="be"><userinput>CC="${CC} ${BUILD64}" PKG_CONFIG= ./configure --prefix=/tools \ 30 30 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 31 --disable-makeinstall-chown </userinput></screen>31 --disable-makeinstall-chown --disable-login --disable-su</userinput></screen> 32 32 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" -
BOOK/chroot/x86/before-chroot.xml
rec008670 r229ed25 35 35 <command>config.guess</command>:</para> 36 36 37 <screen><userinput> lib/config.guess</userinput></screen>37 <screen><userinput>build-aux/config.guess</userinput></screen> 38 38 39 39 <para>If the output of that command does not equal what is in … … 55 55 directory:</para> 56 56 57 <screen><userinput>setarch linux32 lib/config.guess</userinput></screen>57 <screen><userinput>setarch linux32 build-aux/config.guess</userinput></screen> 58 58 59 59 <para>If the output of the command above equals what is in … … 125 125 directory:</para> 126 126 127 <screen os="uui"><userinput> lib/config.guess</userinput></screen>127 <screen os="uui"><userinput>build-aux/config.guess</userinput></screen> 128 128 129 129 <para os="uuj">The output of the above command should be the same as the
Note:
See TracChangeset
for help on using the changeset viewer.