Changes in / [a4d251f:27931b9]


Ignore:
Location:
BOOK
Files:
14 edited

Legend:

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

    ra4d251f r27931b9  
    3535    the following commands:</para>
    3636
    37 <screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1
    38 mknod -m 0666 ${CLFS}/dev/null c 1 3
    39 mknod -m 0666 ${CLFS}/dev/zero c 1 5</userinput></screen>
     37<screen><userinput>mknod -m 600 ${CLFS}/dev/console c 5 1
     38mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen>
    4039
    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>
     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>
    4541
    46 <screen><userinput>mkdir -pv ${CLFS}/lib/udev/devices/{pts,shm}
    47 mknod -m 0600 ${CLFS}/lib/udev/devices/console c 5 1
    48 mknod -m 0666 ${CLFS}/lib/udev/devices/null c 1 3
    49 mknod -m 0666 ${CLFS}/lib/udev/devices/zero c 1 5
    50 mknod -m 0600 ${CLFS}/lib/udev/devices/kmsg c 1 11
    51 ln -snvf /proc/self/fd ${CLFS}/lib/udev/devices/fd
    52 ln -snvf /proc/self/fd/0 ${CLFS}/lib/udev/devices/stdin
    53 ln -snvf /proc/self/fd/1 ${CLFS}/lib/udev/devices/stdout
    54 ln -snvf /proc/self/fd/2 ${CLFS}/lib/udev/devices/stderr
    55 ln -snvf /proc/kcore ${CLFS}/lib/udev/devices/core</userinput></screen>
     42<screen><userinput>mknod -m 600 ${CLFS}/lib/udev/devices/console c 5 1
     43mknod -m 666 ${CLFS}/lib/udev/devices/null c 1 3</userinput></screen>
    5644
    5745  </sect2>
  • BOOK/final-system/common/coreutils.xml

    ra4d251f r27931b9  
    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
     97mv -v /usr/bin/{readlink,sleep,sync,test,touch} /bin
     98ln -svf ../../bin/install /usr/bin</userinput></screen>
    9099
    91100  </sect2>
  • BOOK/final-system/common/kbd.xml

    ra4d251f r27931b9  
    4040<screen os="g"><userinput>make install</userinput></screen>
    4141
    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>
     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>
    4748
    4849  </sect2>
  • BOOK/final-system/common/udev.xml

    ra4d251f r27931b9  
    3030<screen os="b"><userinput>./configure --prefix=/usr \
    3131  --exec-prefix="" --sysconfdir=/etc \
    32   --sbindir=/sbin --libexecdir=/lib/udev \
    33   --libdir=/usr/lib --with-systemdsystemunitdir=/lib/systemd/system \
     32  --libexecdir=/lib/udev --libdir=/usr/lib \
    3433  --disable-extras --disable-introspection</userinput></screen>
    3534
     
    4645
    4746<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}
    60 mknod -m 0600 /lib/udev/devices/console c 5 1
    61 mknod -m 0666 /lib/udev/devices/null c 1 3
    62 mknod -m 0666 /lib/udev/devices/zero c 1 5
    63 mknod -m 0600 /lib/udev/devices/kmsg c 1 11
    64 ln -snvf /proc/self/fd /lib/udev/devices/fd
    65 ln -snvf /proc/self/fd/0 /lib/udev/devices/stdin
    66 ln -snvf /proc/self/fd/1 /lib/udev/devices/stdout
    67 ln -snvf /proc/self/fd/2 /lib/udev/devices/stderr
    68 ln -snvf /proc/kcore /lib/udev/devices/core</userinput></screen>
    6947
    7048  </sect2>
  • BOOK/final-system/common/util-linux.xml

    ra4d251f r27931b9  
    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>
    95101
    96102  </sect2>
  • BOOK/final-system/multilib/coreutils.xml

    ra4d251f r27931b9  
    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
    108116  </sect2>
    109117
  • BOOK/final-system/multilib/udev-64bit.xml

    ra4d251f r27931b9  
    2727
    2828<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    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>
     29  --exec-prefix="" --sysconfdir=/etc --libexecdir=/lib/udev \
     30  --libdir=/usr/lib64 --disable-extras --disable-introspection</userinput></screen>
    3331
    3432    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6058  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    6159  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"
    6660  xpointer="xpointer(id('contents-udev'))"/>
    6761
  • BOOK/final-system/multilib/udev-n32.xml

    ra4d251f r27931b9  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    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>
     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>
    3331
    3432    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/udev.xml

    ra4d251f r27931b9  
    2727
    2828<screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr \
    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>
     29  --exec-prefix="" --sysconfdir=/etc --libexecdir=/lib/udev \
     30  --libdir=/usr/lib --disable-extras --disable-introspection</userinput></screen>
    3331
    3432    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/final-system/multilib/util-linux-64bit.xml

    ra4d251f r27931b9  
    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
    5967  </sect2>
    6068
  • BOOK/final-system/multilib/util-linux-n32.xml

    ra4d251f r27931b9  
    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
    5664  </sect2>
    5765
  • BOOK/final-system/multilib/util-linux.xml

    ra4d251f r27931b9  
    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
    5664  </sect2>
    5765
  • BOOK/materials/common/packages.xml

    ra4d251f r27931b9  
    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>
    495486      <term>Tar (&tar-version;) - <token>&tar-size;</token>:</term>
    496487      <listitem>
  • BOOK/packages.ent

    ra4d251f r27931b9  
    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 
    397391<!ENTITY tar-version "1.25">
    398392<!ENTITY tar-size "2,276 KB">
Note: See TracChangeset for help on using the changeset viewer.