Changes in / [a4d251f:27931b9]
- Location:
- BOOK
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/boot/common/devices.xml
ra4d251f r27931b9 35 35 the following commands:</para> 36 36 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 38 mknod -m 666 ${CLFS}/dev/null c 1 3</userinput></screen> 40 39 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> 45 41 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 43 mknod -m 666 ${CLFS}/lib/udev/devices/null c 1 3</userinput></screen> 56 44 57 45 </sect2> -
BOOK/final-system/common/coreutils.xml
ra4d251f r27931b9 88 88 mv -v /usr/bin/{mv,pwd,rm,rmdir,stty,true,uname} /bin 89 89 mv -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> 90 99 91 100 </sect2> -
BOOK/final-system/common/kbd.xml
ra4d251f r27931b9 40 40 <screen os="g"><userinput>make install</userinput></screen> 41 41 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> 47 48 48 49 </sect2> -
BOOK/final-system/common/udev.xml
ra4d251f r27931b9 30 30 <screen os="b"><userinput>./configure --prefix=/usr \ 31 31 --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 \ 34 33 --disable-extras --disable-introspection</userinput></screen> 35 34 … … 46 45 47 46 <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 over55 <filename class="directory">/dev</filename> and the previous entries are56 no-longer available. The folling command creates files that are copied57 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 161 mknod -m 0666 /lib/udev/devices/null c 1 362 mknod -m 0666 /lib/udev/devices/zero c 1 563 mknod -m 0600 /lib/udev/devices/kmsg c 1 1164 ln -snvf /proc/self/fd /lib/udev/devices/fd65 ln -snvf /proc/self/fd/0 /lib/udev/devices/stdin66 ln -snvf /proc/self/fd/1 /lib/udev/devices/stdout67 ln -snvf /proc/self/fd/2 /lib/udev/devices/stderr68 ln -snvf /proc/kcore /lib/udev/devices/core</userinput></screen>69 47 70 48 </sect2> -
BOOK/final-system/common/util-linux.xml
ra4d251f r27931b9 93 93 94 94 <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> 95 101 96 102 </sect2> -
BOOK/final-system/multilib/coreutils.xml
ra4d251f r27931b9 106 106 xpointer="xpointer(//*[@os='u'])"/> 107 107 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 108 116 </sect2> 109 117 -
BOOK/final-system/multilib/udev-64bit.xml
ra4d251f r27931b9 27 27 28 28 <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> 33 31 34 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" … … 60 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 61 59 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"66 60 xpointer="xpointer(id('contents-udev'))"/> 67 61 -
BOOK/final-system/multilib/udev-n32.xml
ra4d251f r27931b9 26 26 xpointer="xpointer(//*[@os='a'])"/> 27 27 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> 33 31 34 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/udev.xml
ra4d251f r27931b9 27 27 28 28 <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> 33 31 34 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/util-linux-64bit.xml
ra4d251f r27931b9 57 57 xpointer="xpointer(//*[@os='h'])"/> 58 58 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 59 67 </sect2> 60 68 -
BOOK/final-system/multilib/util-linux-n32.xml
ra4d251f r27931b9 54 54 xpointer="xpointer(//*[@os='h'])"/> 55 55 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 56 64 </sect2> 57 65 -
BOOK/final-system/multilib/util-linux.xml
ra4d251f r27931b9 54 54 xpointer="xpointer(//*[@os='h'])"/> 55 55 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 56 64 </sect2> 57 65 -
BOOK/materials/common/packages.xml
ra4d251f r27931b9 484 484 485 485 <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>495 486 <term>Tar (&tar-version;) - <token>&tar-size;</token>:</term> 496 487 <listitem> -
BOOK/packages.ent
ra4d251f r27931b9 389 389 <!ENTITY sysvinit-home "http://savannah.nongnu.org/projects/sysvinit"> 390 390 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 397 391 <!ENTITY tar-version "1.25"> 398 392 <!ENTITY tar-size "2,276 KB">
Note:
See TracChangeset
for help on using the changeset viewer.