Changeset 229ed25 for BOOK/chroot/common
- 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/common
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
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"
Note:
See TracChangeset
for help on using the changeset viewer.