[Clfs-commits] [Cross-LFS]Cross-LFS Book branch, systemd, updated. clfs-2.1.0-722-g3832b71

git git at cross-lfs.org
Sun Apr 13 02:37:39 PDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Cross-LFS Book".

The branch, systemd has been updated
       via  3832b714a9d4e38c5081954bf522f6df2bb82095 (commit)
       via  3471ff237726a4bd7bfcd00dda01c20a95fb4eb8 (commit)
       via  1db7c4b44f4af8ba304f582571ac4d6f60fa1576 (commit)
       via  a49b75d54365264ba8e72c663356cdb6b5f5c86e (commit)
      from  37a6db23b3c86ebde373f807f29617f0a84615f0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3832b714a9d4e38c5081954bf522f6df2bb82095
Author: Chris Staub <chris at beaker67.com>
Date:   Sun Apr 13 05:37:32 2014 -0400

    Install sysvinit entirely in /tools

diff --git a/BOOK/boot/common/sysvinit.xml b/BOOK/boot/common/sysvinit.xml
index 774dac5..41f1e1d 100644
--- a/BOOK/boot/common/sysvinit.xml
+++ b/BOOK/boot/common/sysvinit.xml
@@ -45,7 +45,8 @@ make -C src CC="${CC}"</userinput></screen>
 
    <para os="e">Install the package:</para>
 
-<screen os="ad"><userinput>make -C src ROOT=${CLFS} install</userinput></screen>
+<screen os="ad"><userinput>make -C src ROOT=/tools install
+ln -svf /tools/sbin/init ${CLFS}/sbin</userinput></screen>
 
   </sect2>
 
@@ -79,7 +80,7 @@ l4:4:wait:/etc/rc.d/init.d/rc 4
 l5:5:wait:/etc/rc.d/init.d/rc 5
 l6:6:wait:/etc/rc.d/init.d/rc 6
 
-ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
+ca:12345:ctrlaltdel:/tools/sbin/shutdown -t1 -a -r now
 
 su:S016:once:/tools/sbin/sulogin
 </literal>

commit 3471ff237726a4bd7bfcd00dda01c20a95fb4eb8
Author: Chris Staub <chris at beaker67.com>
Date:   Sun Apr 13 05:33:18 2014 -0400

    Removed obsolete commands to create links and device nodes in /lib/udev/devices

diff --git a/BOOK/boot/common/bootscripts.xml b/BOOK/boot/common/bootscripts.xml
index 17cf17e..891cd6e 100644
--- a/BOOK/boot/common/bootscripts.xml
+++ b/BOOK/boot/common/bootscripts.xml
@@ -26,6 +26,14 @@
   <sect2 role="installation">
     <title>Installation of Bootscripts</title>
 
+    <para os="s1">Remove references to Makefile targets that do not need
+    to be used at this time:</para>
+
+<screen os="s2"><userinput>cp Makefile{,.orig}
+sed -e '/^install-minimal/s/ udev_device_dirs udev_device_links//' \
+    -e '/ mknod_devices/d' \
+    Makefile.orig > Makefile</userinput></screen>
+
     <para os="a">Install the package:</para>
 
 <screen os="b"><userinput>make DESTDIR=${CLFS} install-minimal</userinput></screen>
diff --git a/BOOK/boot/common/devices.xml b/BOOK/boot/common/devices.xml
index 08b4e5c..55fea07 100644
--- a/BOOK/boot/common/devices.xml
+++ b/BOOK/boot/common/devices.xml
@@ -36,24 +36,7 @@
     the following commands:</para>
 
 <screen><userinput>mknod -m 0600 ${CLFS}/dev/console c 5 1
-mknod -m 0666 ${CLFS}/dev/null c 1 3
-mknod -m 0666 ${CLFS}/dev/zero c 1 5</userinput></screen>
-
-    <para>When Systemd starts a tmpfs filesystem is mounted over
-    <filename class="directory">/dev</filename> and the previous entries are
-    no-longer available. The following command creates files that are copied
-    over when udevd starts:</para>
-
-<screen><userinput>mkdir -pv ${CLFS}/lib/udev/devices/{pts,shm}
-mknod -m 0600 ${CLFS}/lib/udev/devices/console c 5 1
-mknod -m 0666 ${CLFS}/lib/udev/devices/null c 1 3
-mknod -m 0666 ${CLFS}/lib/udev/devices/zero c 1 5
-mknod -m 0600 ${CLFS}/lib/udev/devices/kmsg c 1 11
-ln -snvf /proc/self/fd ${CLFS}/lib/udev/devices/fd
-ln -snvf /proc/self/fd/0 ${CLFS}/lib/udev/devices/stdin
-ln -snvf /proc/self/fd/1 ${CLFS}/lib/udev/devices/stdout
-ln -snvf /proc/self/fd/2 ${CLFS}/lib/udev/devices/stderr
-ln -snvf /proc/kcore ${CLFS}/lib/udev/devices/core</userinput></screen>
+mknod -m 0666 ${CLFS}/dev/null c 1 3</userinput></screen>
 
   </sect2>
 

commit 1db7c4b44f4af8ba304f582571ac4d6f60fa1576
Author: Chris Staub <chris at beaker67.com>
Date:   Sun Apr 13 05:31:13 2014 -0400

    Install kmod entirely in /tools

diff --git a/BOOK/boot/common/kmod.xml b/BOOK/boot/common/kmod.xml
index b5cfee7..2f4ee8c 100644
--- a/BOOK/boot/common/kmod.xml
+++ b/BOOK/boot/common/kmod.xml
@@ -28,7 +28,7 @@
 
 <screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib -llzma" \
 zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib -lz" \
-./configure --prefix=/tools --bindir=/bin \
+./configure --prefix=/tools \
     --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib</userinput></screen>
 
     <variablelist os="c">
@@ -56,13 +56,14 @@ zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib -lz" \
     href="../../final-system/common/kmod.xml"
     xpointer="xpointer(//*[@os='g'])"/>
 
-<screen os="h"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
+<screen os="h"><userinput>make install</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
     href="../../final-system/common/kmod.xml"
     xpointer="xpointer(//*[@os='i'])"/>
 
-<screen os="j"><userinput>ln -sv kmod ${CLFS}/bin/lsmod
+<screen os="j"><userinput>ln -sv /tools/bin/kmod ${CLFS}/bin
+ln -sv kmod ${CLFS}/bin/lsmod
 ln -sv ../bin/kmod ${CLFS}/sbin/depmod
 ln -sv ../bin/kmod ${CLFS}/sbin/insmod
 ln -sv ../bin/kmod ${CLFS}/sbin/modprobe
diff --git a/BOOK/boot/multilib/kmod.xml b/BOOK/boot/multilib/kmod.xml
index d84451d..a800039 100644
--- a/BOOK/boot/multilib/kmod.xml
+++ b/BOOK/boot/multilib/kmod.xml
@@ -29,7 +29,7 @@
 <screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib64 -llzma" \
 zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib64 -lz" \
 CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
-    --bindir=/bin --build=${CLFS_HOST} --host=${CLFS_TARGET} \
+    --build=${CLFS_HOST} --host=${CLFS_TARGET} \
     --libdir=/tools/lib64 --with-xz --with-zlib</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
diff --git a/BOOK/boot/x86_64-64/kmod.xml b/BOOK/boot/x86_64-64/kmod.xml
index f0aad1d..86d78c9 100644
--- a/BOOK/boot/x86_64-64/kmod.xml
+++ b/BOOK/boot/x86_64-64/kmod.xml
@@ -28,7 +28,7 @@
 
 <screen os="b"><userinput>liblzma_CFLAGS="-I/tools/include" liblzma_LIBS="-L/tools/lib -llzma" \
 zlib_CFLAGS="-I/tools/include" zlib_LIBS="-L/tools/lib -lz" \
-CC="${CC} ${BUILD64}" ./configure --prefix=/tools --bindir=/bin \
+CC="${CC} ${BUILD64}" ./configure --prefix=/tools \
     --build=${CLFS_HOST} --host=${CLFS_TARGET} --with-xz --with-zlib</userinput></screen>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"

commit a49b75d54365264ba8e72c663356cdb6b5f5c86e
Author: Chris Staub <chris at beaker67.com>
Date:   Sun Apr 13 05:17:32 2014 -0400

    Actually allow root to logon with no password

diff --git a/BOOK/boot/common/pwdgroup.xml b/BOOK/boot/common/pwdgroup.xml
index 3c40e06..8664120 100644
--- a/BOOK/boot/common/pwdgroup.xml
+++ b/BOOK/boot/common/pwdgroup.xml
@@ -27,7 +27,7 @@
   the following command:</para>
 
 <screen><userinput>cat > ${CLFS}/etc/passwd << "EOF"
-<literal>root:x:&uid-root;:&gid-root;:root:/root:/bin/bash</literal>
+<literal>root::&uid-root;:&gid-root;:root:/root:/bin/bash</literal>
 <literal>bin:x:&uid-bin;:&gid-bin;:/dev/null:/bin/false</literal>
 <literal>daemon:x:&uid-daemon;:&gid-daemon;:/dev/null:/bin/false</literal>
 <literal>messagebus:x:&uid-messagebus;:&gid-messagebus;:D-Bus Message Daemon User:/dev/null:/bin/false</literal>

-----------------------------------------------------------------------

Summary of changes:
 BOOK/boot/common/bootscripts.xml |    8 ++++++++
 BOOK/boot/common/devices.xml     |   19 +------------------
 BOOK/boot/common/kmod.xml        |    7 ++++---
 BOOK/boot/common/pwdgroup.xml    |    2 +-
 BOOK/boot/common/sysvinit.xml    |    5 +++--
 BOOK/boot/multilib/kmod.xml      |    2 +-
 BOOK/boot/x86_64-64/kmod.xml     |    2 +-
 7 files changed, 19 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
Cross-LFS Book



More information about the Clfs-commits mailing list