Changeset 229ed25 for BOOK/boot/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/boot/common
- Files:
-
- 3 added
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/createfiles.xml
rec008670 r229ed25 16 16 the next chapter after the software has been installed.</para> 17 17 18 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,pwd,sleep,stty} ${CLFS}/bin 18 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin 19 20 ln -sv /tools/bin/file ${CLFS}/usr/bin 20 21 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 21 22 ln -sv /tools/lib/libstd*so* ${CLFS}/usr/lib 22 ln -sv bash ${CLFS}/bin/sh</userinput></screen> 23 ln -sv bash ${CLFS}/bin/sh 24 ln -sv /run ${CLFS}/var/run</userinput></screen> 23 25 24 26 </sect1> -
BOOK/boot/common/creatingdirs.xml
rec008670 r229ed25 15 15 16 16 <screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib,mnt} 17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom}, sbin,srv,sys}18 mkdir -pv ${CLFS}/var/{lock,log,mail, run,spool}17 mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},run/{,shm},sbin,srv,sys} 18 mkdir -pv ${CLFS}/var/{lock,log,mail,spool} 19 19 mkdir -pv ${CLFS}/var/{opt,cache,lib/{misc,locate},local} 20 20 install -dv -m 0750 ${CLFS}/root -
BOOK/boot/common/devices.xml
rec008670 r229ed25 20 20 <note os="a"> 21 21 <para>The commands in the remainder of the book should be run as 22 the <systemitem class="username">root</systemitem> user. Also, 23 double-check that ${CLFS} is set as 24 <systemitem class="username">root</systemitem>.</para> 22 the <systemitem class="username">root</systemitem> user. Check 23 that ${CLFS} is set in the 24 <systemitem class="username">root</systemitem> user’s environment 25 before proceeding.</para> 25 26 </note> 26 27 -
BOOK/boot/common/fstab.xml
rec008670 r229ed25 32 32 devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0 33 33 shm /dev/shm tmpfs defaults 0 0 34 tmpfs /run tmpfs defaults 0 0 35 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 36 34 37 # End /etc/fstab</literal> 35 38 EOF</userinput></screen> -
BOOK/boot/common/pwdgroup.xml
rec008670 r229ed25 192 192 193 193 <para os="e">The created groups are not part of any standard—they are 194 groups decided on in part by the requirements of the Udev configuration194 groups decided on in part by the requirements of the Eudev configuration 195 195 in the final system, and in part by common convention employed by a 196 196 number of existing Linux distributions. The Linux Standard Base (LSB, -
BOOK/boot/common/sysvinit.xml
rec008670 r229ed25 24 24 25 25 <para os="aa">The following modifications help locate files specific to this 26 p erticular build:</para>26 particular build:</para> 27 27 28 28 <screen os="ab"><userinput>cp -v src/Makefile{,.orig} … … 86 86 87 87 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 88 <literal>1:2345:respawn:/sbin/agetty - I '\033(K' tty1 960089 2:2345:respawn:/sbin/agetty - I '\033(K' tty2 960090 3:2345:respawn:/sbin/agetty - I '\033(K' tty3 960091 4:2345:respawn:/sbin/agetty - I '\033(K' tty4 960092 5:2345:respawn:/sbin/agetty - I '\033(K' tty5 960093 6:2345:respawn:/sbin/agetty - I '\033(K' tty6 960088 <literal>1:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty1 9600 89 2:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty2 9600 90 3:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty3 9600 91 4:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty4 9600 92 5:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty5 9600 93 6:2345:respawn:/sbin/agetty --noclear -I '\033(K' tty6 9600 94 94 </literal> 95 95 EOF</userinput></screen> … … 99 99 100 100 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF" 101 <literal>c0:12345:respawn:/sbin/agetty 115200 ttyS0 vt100101 <literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100 102 102 </literal> 103 103 EOF</userinput></screen> -
BOOK/boot/common/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="../../final-system/common/util-linux.xml" 27 27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os="b"><userinput>PKG_CONFIG= true\29 <screen os="b"><userinput>PKG_CONFIG= \ 30 30 ./configure --prefix=/tools --exec-prefix=/tools \ 31 31 --build=${CLFS_HOST} --host=${CLFS_TARGET} \ 32 -- enable-login-utils --disable-makeinstall-chown</userinput></screen>32 --disable-makeinstall-chown --disable-login --disable-su</userinput></screen> 33 33 34 34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note:
See TracChangeset
for help on using the changeset viewer.