Changeset dbc8e54


Ignore:
Timestamp:
Apr 12, 2014, 3:43:00 AM (10 years ago)
Author:
Chris Staub <chris@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
ba2a6ce0
Parents:
9a995bd
Message:

Started moving stuff in boot section to /tools, starting with inittab and its references to agetty

Location:
BOOK
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/64/createfiles.xml

    r9a995bd rdbc8e54  
    2020<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
    2121ln -sv /tools/bin/file ${CLFS}/usr/bin
    22 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
    2322ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    2423ln -sv /tools/lib/libstdc++.so{.6,} ${CLFS}/usr/lib
  • BOOK/boot/common/createfiles.xml

    r9a995bd rdbc8e54  
    1717
    1818<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
    2019ln -sv /tools/bin/file ${CLFS}/usr/bin
    2120ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
  • BOOK/boot/common/sysvinit.xml

    r9a995bd rdbc8e54  
    3434    src/Makefile.orig > src/Makefile</userinput></screen>
    3535
     36    <para os="bc">Change the location of inittab:</para>
     37
     38<screen os="bd"><userinput>cp -v src/paths.h{,.orig}
     39sed 's@/etc/inittab@/tools&amp;@' src/paths.h.orig &gt; src/paths.h</userinput></screen>
     40
    3641    <para os ="c">Compile the package:</para>
    3742
     
    5762    </indexterm>
    5863
    59     <para>Create a new file <filename>${CLFS}/etc/inittab</filename> by running the
     64    <para>Create a new file <filename>/tools/etc/inittab</filename> by running the
    6065    following:</para>
    6166
    62 <screen><userinput>cat &gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    63 <literal># Begin /etc/inittab
     67<screen><userinput>cat &gt; /tools/etc/inittab &lt;&lt; "EOF"
     68<literal># Begin /tools/etc/inittab
    6469
    6570id:3:initdefault:
     
    7782ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
    7883
    79 su:S016:once:/sbin/sulogin
     84su:S016:once:/tools/sbin/sulogin
    8085</literal>
    8186EOF</userinput></screen>
    8287
    8388    <para>The following command adds the standard virtual terminals to
    84     <filename>${CLFS}/etc/inittab</filename>. If your system only has a serial
     89    <filename>/tools/etc/inittab</filename>. If your system only has a serial
    8590    console skip the following command:</para>
    8691
    87 <screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    88 <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
     92<screen><userinput>cat &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
     93<literal>1:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty1 9600
     942:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty2 9600
     953:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty3 9600
     964:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty4 9600
     975:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty5 9600
     986:2345:respawn:/tools/sbin/agetty --noclear -I '\033(K' tty6 9600
    9499</literal>
    95100EOF</userinput></screen>
    96101
    97102    <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 &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "EOF"
    101 <literal>c0:12345:respawn:/sbin/agetty --noclear 115200 ttyS0 vt100
     103    the entry to <filename>/tools/etc/inittab</filename>.</para>
     104
     105<screen><userinput>cat &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
     106<literal>c0:12345:respawn:/tools/sbin/agetty --noclear 115200 ttyS0 vt100
    102107</literal>
    103108EOF</userinput></screen>
    104109
    105    <para>Finally, add the end line to <filename>${CLFS}/etc/inittab</filename>.</para>
    106 
    107 <screen><userinput>cat &gt;&gt; ${CLFS}/etc/inittab &lt;&lt; "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 &gt;&gt; /tools/etc/inittab &lt;&lt; "EOF"
     113<literal># End /tools/etc/inittab</literal>
    109114EOF</userinput></screen>
    110115
  • BOOK/boot/mips64/createfiles.xml

    r9a995bd rdbc8e54  
    1717<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
    1818ln -sv /tools/bin/file ${CLFS}/usr/bin
    19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
    2019ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    2120ln -sv /tools/lib32/libgcc_s.so{,.1} ${CLFS}/usr/lib32
  • BOOK/boot/multilib/createfiles.xml

    r9a995bd rdbc8e54  
    1717<screen><userinput>ln -sv /tools/bin/{bash,cat,echo,grep,login,passwd,pwd,sleep,stty} ${CLFS}/bin
    1818ln -sv /tools/bin/file ${CLFS}/usr/bin
    19 ln -sv /tools/sbin/{agetty,blkid} ${CLFS}/sbin
    2019ln -sv /tools/lib/libgcc_s.so{,.1} ${CLFS}/usr/lib
    2120ln -sv /tools/lib64/libgcc_s.so{,.1} ${CLFS}/usr/lib64
  • BOOK/boot/multilib/sysvinit.xml

    r9a995bd rdbc8e54  
    3333    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    3434    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"
    3543    xpointer="xpointer(//*[@os='c'])"/>
    3644
  • BOOK/introduction/common/changelog.xml

    r9a995bd rdbc8e54  
    3838
    3939    <listitem>
     40      <para>12 April 2014</para>
     41      <itemizedlist>
     42        <listitem>
     43          <para>[Chris] - Modified sysvinit installation to allow it
     44          to use /tools/etc/inittab and /tools/sbin/agetty.</para>
     45        </listitem>
     46      </itemizedlist>
     47    </listitem>
     48
     49    <listitem>
    4050      <para>11 April 2014</para>
    4151      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.