Changes in / [27931b9:a4d251f]


Ignore:
Location:
BOOK
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/devices.xml

    r27931b9 ra4d251f  
    3535    the following commands:</para>
    3636
    37 <screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
    38 mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
     37<screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1
     38mknod -m 0666 ${CLFS}/dev/null c 1 3
     39mknod -m 0666 ${CLFS}/dev/zero c 1 5</userinput></screen>
    3940
    40     <para>Before udev starts a tmpfs filesystem is mounted over <filename class="directory">/dev</filename> and the previous entries are no-longer available. The folling command creates files that are copied over by the udev bootscript:</para>
     41    <para>When systemd starts a tmpfs filesystem is mounted over
     42    <filename class="directory">/dev</filename> and the previous entries are
     43    no-longer available. The folling command creates files that are copied
     44    over when udevd starts:</para>
    4145
    42 <screen><userinput>mknod -m 600 ${CLFS}/lib/udev/devices/console c 5 1
    43 mknod -m 666 ${CLFS}/lib/udev/devices/null c 1 3</userinput></screen>
     46<screen><userinput>mkdir -pv ${CLFS}/lib/udev/devices/{pts,shm}
     47mknod -m 0600 ${CLFS}/lib/udev/devices/console c 5 1
     48mknod -m 0666 ${CLFS}/lib/udev/devices/null c 1 3
     49mknod -m 0666 ${CLFS}/lib/udev/devices/zero c 1 5
     50mknod -m 0600 ${CLFS}/lib/udev/devices/kmsg c 1 11
     51ln -snvf /proc/self/fd ${CLFS}/lib/udev/devices/fd
     52ln -snvf /proc/self/fd/0 ${CLFS}/lib/udev/devices/stdin
     53ln -snvf /proc/self/fd/1 ${CLFS}/lib/udev/devices/stdout
     54ln -snvf /proc/self/fd/2 ${CLFS}/lib/udev/devices/stderr
     55ln -snvf /proc/kcore ${CLFS}/lib/udev/devices/core</userinput></screen>
    4456
    4557  </sect2>
  • BOOK/final-system/common/coreutils.xml

    r27931b9 ra4d251f  
    8888mv -v /usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} /bin
    8989mv -v /usr/bin/chroot /usr/sbin</userinput></screen>
    90 
    91     <para os="v">Other Coreutils programs are used by some of the scripts
    92     in the CLFS-Bootscripts package. As <filename
    93     class="directory">/usr</filename> may not be available during the early
    94     stages of booting, those binaries need to be on the root partition:</para>
    95 
    96 <screen os="w"><userinput>mv -v /usr/bin/{[,basename,head,install,nice} /bin
    97 mv -v /usr/bin/{readlink,sleep,sync,test,touch} /bin
    98 ln -svf ../../bin/install /usr/bin</userinput></screen>
    9990
    10091  </sect2>
  • BOOK/final-system/common/kbd.xml

    r27931b9 ra4d251f  
    4040<screen os="g"><userinput>make install</userinput></screen>
    4141
    42     <para os="h">Some of the programs from Kbd are used by scripts
    43     in the CLFS-Bootscripts package. As <filename
    44     class="directory">/usr</filename> may not be available during the early
    45     stages of booting, those binaries need to be on the root partition:</para>
    46 
    47 <screen os="i"><userinput>mv -v /usr/bin/{kbd_mode,dumpkeys,loadkeys,openvt,setfont} /bin</userinput></screen>
     42    <para os="h">Some of the programs from Kbd are used by systemd to
     43    initialize the system, those binaries need to be on the root
     44    partition:</para>
     45
     46<screen os="i"><userinput>mv -v /usr/bin/{loadkeys,setfont} /bin</userinput></screen>
    4847
    4948  </sect2>
  • BOOK/final-system/common/udev.xml

    r27931b9 ra4d251f  
    3030<screen os="b"><userinput>./configure --prefix=/usr \
    3131  --exec-prefix="" --sysconfdir=/etc \
    32   --libexecdir=/lib/udev --libdir=/usr/lib \
     32  --sbindir=/sbin --libexecdir=/lib/udev \
     33  --libdir=/usr/lib --with-systemdsystemunitdir=/lib/systemd/system \
    3334  --disable-extras --disable-introspection</userinput></screen>
    3435
     
    4546
    4647<screen os="j"><userinput>install -dv /lib/firmware</userinput></screen>
     48
     49  </sect2>
     50
     51  <sect2 id="conf-udev" role="configuration">
     52    <title>Configuring Udev</title>
     53
     54    <para>When systemd starts a tmpfs filesystem is mounted over
     55    <filename class="directory">/dev</filename> and the previous entries are
     56    no-longer available. The folling command creates files that are copied
     57    over when udevd starts:</para>
     58
     59<screen><userinput>mkdir -pv /lib/udev/devices/{pts,shm}
     60mknod -m 0600 /lib/udev/devices/console c 5 1
     61mknod -m 0666 /lib/udev/devices/null c 1 3
     62mknod -m 0666 /lib/udev/devices/zero c 1 5
     63mknod -m 0600 /lib/udev/devices/kmsg c 1 11
     64ln -snvf /proc/self/fd /lib/udev/devices/fd
     65ln -snvf /proc/self/fd/0 /lib/udev/devices/stdin
     66ln -snvf /proc/self/fd/1 /lib/udev/devices/stdout
     67ln -snvf /proc/self/fd/2 /lib/udev/devices/stderr
     68ln -snvf /proc/kcore /lib/udev/devices/core</userinput></screen>
    4769
    4870  </sect2>
  • BOOK/final-system/common/util-linux.xml

    r27931b9 ra4d251f  
    9393
    9494<screen os="h"><userinput>make install</userinput></screen>
    95 
    96     <para os="i">Move the <command>logger</command> binary to
    97     <filename class="directory">/bin</filename> as it is needed by the
    98     CLFS-Bootscripts package:</para>
    99 
    100 <screen os="j"><userinput>mv -v /usr/bin/logger /bin</userinput></screen>
    10195
    10296  </sect2>
  • BOOK/final-system/multilib/coreutils.xml

    r27931b9 ra4d251f  
    106106    xpointer="xpointer(//*[@os='u'])"/>
    107107
    108     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    109     href="../common/coreutils.xml"
    110     xpointer="xpointer(//*[@os='v'])"/>
    111 
    112     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    113     href="../common/coreutils.xml"
    114     xpointer="xpointer(//*[@os='w'])"/>
    115 
    116108  </sect2>
    117109
  • BOOK/final-system/multilib/udev-64bit.xml

    r27931b9 ra4d251f  
    2727
    2828<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    29   --exec-prefix="" --sysconfdir=/etc --libexecdir=/lib/udev \
    30   --libdir=/usr/lib64 --disable-extras --disable-introspection</userinput></screen>
     29  --exec-prefix="" --sysconfdir=/etc \
     30  --sbindir=/sbin --libexecdir=/lib/udev \
     31  --libdir=/usr/lib64 --with-systemdsystemunitdir=/lib/systemd/system \
     32  --disable-extras --disable-introspection</userinput></screen>
    3133
    3234    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5860  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    5961  href="../common/udev.xml"
     62  xpointer="xpointer(id('conf-udev'))"/>
     63
     64  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     65  href="../common/udev.xml"
    6066  xpointer="xpointer(id('contents-udev'))"/>
    6167
  • BOOK/final-system/multilib/udev-n32.xml

    r27931b9 ra4d251f  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="b"><userinput>CC="gcc ${BUILDN32}"./configure --prefix=/usr \
    29   --exec-prefix="" --sysconfdir=/etc --libexecdir=/lib/udev \
    30   --libdir=/usr/lib32 --disable-extras --disable-introspection</userinput></screen>
     28<screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
     29  --exec-prefix="" --sysconfdir=/etc \
     30  --sbindir=/sbin --libexecdir=/lib/udev \
     31  --libdir=/usr/lib32 --with-systemdsystemunitdir=/lib/systemd/system \
     32  --disable-extras --disable-introspection</userinput></screen>
    3133
    3234    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/udev.xml

    r27931b9 ra4d251f  
    2727
    2828<screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    29   --exec-prefix="" --sysconfdir=/etc --libexecdir=/lib/udev \
    30   --libdir=/usr/lib --disable-extras --disable-introspection</userinput></screen>
     29  --exec-prefix="" --sysconfdir=/etc \
     30  --sbindir=/sbin --libexecdir=/lib/udev \
     31  --libdir=/usr/lib --with-systemdsystemunitdir=/lib/systemd/system \
     32  --disable-extras --disable-introspection</userinput></screen>
    3133
    3234    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/util-linux-64bit.xml

    r27931b9 ra4d251f  
    5757    xpointer="xpointer(//*[@os='h'])"/>
    5858
    59     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    60     href="../common/util-linux.xml"
    61     xpointer="xpointer(//*[@os='i'])"/>
    62 
    63     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    64     href="../common/util-linux.xml"
    65     xpointer="xpointer(//*[@os='j'])"/>
    66 
    6759  </sect2>
    6860
  • BOOK/final-system/multilib/util-linux-n32.xml

    r27931b9 ra4d251f  
    5454    xpointer="xpointer(//*[@os='h'])"/>
    5555
    56     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    57     href="../common/util-linux.xml"
    58     xpointer="xpointer(//*[@os='i'])"/>
    59 
    60     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    61     href="../common/util-linux.xml"
    62     xpointer="xpointer(//*[@os='j'])"/>
    63 
    6456  </sect2>
    6557
  • BOOK/final-system/multilib/util-linux.xml

    r27931b9 ra4d251f  
    5454    xpointer="xpointer(//*[@os='h'])"/>
    5555
    56     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    57     href="../common/util-linux.xml"
    58     xpointer="xpointer(//*[@os='i'])"/>
    59 
    60     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    61     href="../common/util-linux.xml"
    62     xpointer="xpointer(//*[@os='j'])"/>
    63 
    6456  </sect2>
    6557
  • BOOK/materials/common/packages.xml

    r27931b9 ra4d251f  
    484484
    485485    <varlistentry>
     486      <term>systemd (&systemd-version;) - <token>&systemd-size;</token>:</term>
     487      <listitem>
     488        <para>Home page: <ulink url="&systemd-home;"/></para>
     489        <para>Download: <ulink url="&systemd-url;"/></para>
     490        <para>MD5 sum: <literal>&systemd-md5;</literal></para>
     491      </listitem>
     492    </varlistentry>
     493
     494    <varlistentry>
    486495      <term>Tar (&tar-version;) - <token>&tar-size;</token>:</term>
    487496      <listitem>
  • BOOK/packages.ent

    r27931b9 ra4d251f  
    389389<!ENTITY sysvinit-home "http://savannah.nongnu.org/projects/sysvinit">
    390390
     391<!ENTITY systemd-version "17">
     392<!ENTITY systemd-size "738 KB">
     393<!ENTITY systemd-url "http://www.freedesktop.org/software/systemd/systemd-&systemd-version;.tar.bz2">
     394<!ENTITY systemd-md5 "ae69109af0628c083846b8aea921692c">
     395<!ENTITY systemd-home "http://freedesktop.org/wiki/Software/systemd">
     396
    391397<!ENTITY tar-version "1.25">
    392398<!ENTITY tar-size "2,276 KB">
Note: See TracChangeset for help on using the changeset viewer.