- Timestamp:
- Apr 12, 2014, 3:43:00 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ba2a6ce0
- Parents:
- 9a995bd
- Location:
- BOOK/boot
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/64/createfiles.xml
r9a995bd rdbc8e54 20 20 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 21 21 ln -sv /tools/bin/file ${CLFS}/usr/bin 22 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin23 22 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 24 23 ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib -
BOOK/boot/common/createfiles.xml
r9a995bd rdbc8e54 17 17 18 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}/sbin20 19 ln -sv /tools/bin/file ${CLFS}/usr/bin 21 20 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib -
BOOK/boot/common/sysvinit.xml
r9a995bd rdbc8e54 34 34 src/Makefile.orig > src/Makefile</userinput></screen> 35 35 36 <para os="bc">Change the location of inittab:</para> 37 38 <screen os="bd"><userinput>cp -v src/paths.h{,.orig} 39 sed 's@/etc/inittab@/tools&@' src/paths.h.orig > src/paths.h</userinput></screen> 40 36 41 <para os ="c">Compile the package:</para> 37 42 … … 57 62 </indexterm> 58 63 59 <para>Create a new file <filename> ${CLFS}/etc/inittab</filename> by running the64 <para>Create a new file <filename>/tools/etc/inittab</filename> by running the 60 65 following:</para> 61 66 62 <screen><userinput>cat > ${CLFS}/etc/inittab << "EOF"63 <literal># Begin / etc/inittab67 <screen><userinput>cat > /tools/etc/inittab << "EOF" 68 <literal># Begin /tools/etc/inittab 64 69 65 70 id:3:initdefault: … … 77 82 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now 78 83 79 su:S016:once:/ sbin/sulogin84 su:S016:once:/tools/sbin/sulogin 80 85 </literal> 81 86 EOF</userinput></screen> 82 87 83 88 <para>The following command adds the standard virtual terminals to 84 <filename> ${CLFS}/etc/inittab</filename>. If your system only has a serial89 <filename>/tools/etc/inittab</filename>. If your system only has a serial 85 90 console skip the following command:</para> 86 91 87 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF"88 <literal>1:2345:respawn:/ sbin/agetty --noclear -I '\033(K' tty1 960089 2:2345:respawn:/ sbin/agetty --noclear -I '\033(K' tty2 960090 3:2345:respawn:/ sbin/agetty --noclear -I '\033(K' tty3 960091 4:2345:respawn:/ sbin/agetty --noclear -I '\033(K' tty4 960092 5:2345:respawn:/ sbin/agetty --noclear -I '\033(K' tty5 960093 6:2345:respawn:/ sbin/agetty --noclear -I '\033(K' tty6 960092 <screen><userinput>cat >> /tools/etc/inittab << "EOF" 93 <literal>1:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty1 9600 94 2:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty2 9600 95 3:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty3 9600 96 4:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty4 9600 97 5:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty5 9600 98 6:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty6 9600 94 99 </literal> 95 100 EOF</userinput></screen> 96 101 97 102 <para>If your system has a serial console, run the following command to add 98 the entry to <filename> ${CLFS}/etc/inittab</filename>.</para>99 100 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF"101 <literal>c0:12345:respawn:/ sbin/agetty --noclear 115200 ttyS0 vt100103 the entry to <filename>/tools/etc/inittab</filename>.</para> 104 105 <screen><userinput>cat >> /tools/etc/inittab << "EOF" 106 <literal>c0:12345:respawn:/tools/sbin/agetty --noclear 115200 ttyS0 vt100 102 107 </literal> 103 108 EOF</userinput></screen> 104 109 105 <para>Finally, add the end line to <filename> ${CLFS}/etc/inittab</filename>.</para>106 107 <screen><userinput>cat >> ${CLFS}/etc/inittab << "EOF"108 <literal># End / etc/inittab</literal>110 <para>Finally, add the end line to <filename>/tools/etc/inittab</filename>.</para> 111 112 <screen><userinput>cat >> /tools/etc/inittab << "EOF" 113 <literal># End /tools/etc/inittab</literal> 109 114 EOF</userinput></screen> 110 115 -
BOOK/boot/mips64/createfiles.xml
r9a995bd rdbc8e54 17 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 18 18 ln -sv /tools/bin/file ${CLFS}/usr/bin 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin20 19 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 21 20 ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32 -
BOOK/boot/multilib/createfiles.xml
r9a995bd rdbc8e54 17 17 <screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin 18 18 ln -sv /tools/bin/file ${CLFS}/usr/bin 19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin20 19 ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib 21 20 ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64 -
BOOK/boot/multilib/sysvinit.xml
r9a995bd rdbc8e54 33 33 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 34 34 href="../common/sysvinit.xml" 35 xpointer="xpointer(//*[@os='bc'])"/> 36 37 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 38 href="../common/sysvinit.xml" 39 xpointer="xpointer(//*[@os='bd'])"/> 40 41 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" 42 href="../common/sysvinit.xml" 35 43 xpointer="xpointer(//*[@os='c'])"/> 36 44
Note:
See TracChangeset
for help on using the changeset viewer.