Changeset c62f4d4 in clfs-embedded for BOOK/bootscripts


Ignore:
Timestamp:
Mar 25, 2011, 3:44:34 AM (14 years ago)
Author:
Andrew Bradford <bradfa@…>
Branches:
master
Children:
3e9edc5
Parents:
7dd2673
Message:

Link etc/init.d/rcS to etc/rc.d/startup for BusyBox

BusyBox wanst the startup script to be located at /etc/init.d/rcS.
Our startup scripts store everything in /etc/rc.d and our
startup script is "startup". Symlink created so BusyBox can find
the startup script.

This may change at a later date if startup scripts get renamed to be more
BusyBox friendly.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/bootscripts/common/bootscripts.xml

    r7dd2673 rc62f4d4  
    2929
    3030<screen><userinput>make DESTDIR=${CLFS} install-bootscripts</userinput></screen>
     31
     32    <para>The CLFS startup bootscript is <filename>/etc/rc.d/startup</filename>,
     33    but BusyBox will look for <filename>/etc/init.d/rcS</filename> to use as its
     34    startup script.  To ensure BusyBox finds the startup script, create the
     35    <filename>${CLFS}/etc/init.d</filename> directory and a symlink:</para>
     36
     37<screen><userinput>install -dv ${CLFS}/etc/init.d
     38ln -sv ../rc.d/startup ${CLFS}/etc/init.d/rcS</userinput></screen>
    3139
    3240  </sect2>
Note: See TracChangeset for help on using the changeset viewer.