Remove systemd and dbus. Add eudev.

Update gnu urls to use an entity.
Update kbd URL. 
Update procps-ng URL.  
Update to shadow-4.2.1.


git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10557 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2014-05-11 00:11:22 +00:00
parent c5be6346ba
commit b3eb5259f1
17 changed files with 154 additions and 70 deletions

View File

@ -61,7 +61,7 @@
<segtitle>&before;</segtitle>
<seglistitem>
<seg>Systemd</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
@ -97,7 +97,7 @@
<segtitle>&before;</segtitle>
<seglistitem>
<seg>Systemd</seg>
<seg>Acli, Libcap</seg>
</seglistitem>
</segmentedlist>
@ -433,6 +433,7 @@
</segmentedlist>
<!-- Begin D-Bus dependency info -->
<!--
<bridgehead renderas="sect2" id="dbus-dep">D-Bus</bridgehead>
<segmentedlist>
@ -467,7 +468,7 @@
<seg>Xorg Libs</seg>
</seglistitem>
</segmentedlist>
-->
<!-- Begin DejaGNU dependency info -->
<bridgehead renderas="sect2" id="dejagnu-dep">DejaGNU</bridgehead>
@ -539,6 +540,42 @@
</seglistitem>
</segmentedlist>
<!-- Begin Eudev dependency info -->
<bridgehead renderas="sect2" id="eudev-dep">Eudev</bridgehead>
<segmentedlist>
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep,
Make, and Sed</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&testsuites;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&before;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<segmentedlist>
<segtitle>&external;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<!-- Begin Expat dependency info -->
<bridgehead renderas="sect2" id="expat-dep">Expat</bridgehead>
@ -1425,7 +1462,7 @@
<segtitle>&before;</segtitle>
<seglistitem>
<seg>Systemd</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
@ -2154,6 +2191,7 @@
</segmentedlist>
<!-- Begin systemd dependency info -->
<!--
<bridgehead renderas="sect2" id="systemd-dep">Systemd</bridgehead>
<segmentedlist>
@ -2189,7 +2227,7 @@
<seg>None</seg>
</seglistitem>
</segmentedlist>
-->
<!-- Begin Sysvinit dependency info -->
<bridgehead renderas="sect2" id="sysvinit-dep">Sysvinit</bridgehead>

View File

@ -12,9 +12,8 @@
<title>Udev configuration rules</title>
<para>The rules from <!-- &eudev-lfs;.tar.bz2 -->in this appendix are listed for
convenience. Installation is normally done via instructions in <xref
linkend='ch-system-systemd'/>. </para>
<para>The rules in this appendix are listed for convenience. Installation is
normally done via instructions in <xref linkend='ch-system-eudev'/>. </para>
<sect1 id="lfsrules" role="wrap">
<title>55-lfs.rules</title>

View File

@ -25,7 +25,6 @@ create-dirs:
install -d -m ${DIRMODE} ${ETCDIR}/sysconfig
install -d -m ${DIRMODE} ${LIBDIR}
install -d -m ${DIRMODE} ${SERVICEDIR}
install -d -m ${DIRMODE} ${UNITDIR}
install -d -m ${DIRMODE} ${MAN8}
install -d -m ${DIRMODE} ${SBIN}
ln -sfn services ${LIBDIR}/lsb
@ -59,7 +58,6 @@ files: create-dirs
install -m ${MODE} lfs/lib/services/ipv4-static-route ${SERVICEDIR}
install -m ${MODE} lfs/lib/services/ipv4-static ${SERVICEDIR}
install -m ${CONFMODE} lfs/lib/services/init-functions ${SERVICEDIR}
install -m ${CONFMODE} lfs/units/ifupdownat.service ${UNITDIR}/ifupdown@.service
if [ ! -f ${ETCDIR}/sysconfig/createfiles ]; then \
install -m ${CONFMODE} lfs/sysconfig/createfiles ${ETCDIR}/sysconfig/ ;\

View File

@ -35,6 +35,31 @@
</itemizedlist>
</listitem>
-->
<listitem>
<para>2014-05-10</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Remove systemd and dbus. Add eudev.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update gnu urls to use an entity. Fixes
<ulink url="&lfs-ticket-root;3571">#3571</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update kbd URL. Fixes
<ulink url="&lfs-ticket-root;3574">#3574</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update procps-ng URL. Fixes
<ulink url="&lfs-ticket-root;3572">#3572</ulink>.</para>
</listitem>
<listitem>
<para>[bdubbs] - Update to shadow-4.2.1. Fixes
<ulink url="&lfs-ticket-root;3553">#3553</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>2014-05-02</para>
<itemizedlist>

View File

@ -175,9 +175,9 @@
<!--<listitem>
<para>Sed &sed-version;</para>
</listitem>-->
<!--<listitem>
<listitem>
<para>Shadow &shadow-version;</para>
</listitem>-->
</listitem>
<!--<listitem>
<para>Sysklogd &sysklogd-version;</para>
</listitem>-->
@ -241,8 +241,11 @@
<listitem>
<para>&coreutils-shuf-segfault-patch;</para>
</listitem>
<listitem>
<!--<listitem>
<para>dbus-&dbus-version;</para>
</listitem>-->
<listitem>
<para>eudev-&eudev-version;</para>
</listitem>
<listitem>
<para>expat-&expat-version;</para>
@ -262,9 +265,9 @@
<listitem>
<para>&readline-fixes-patch;</para>
</listitem>
<listitem>
<!--<listitem>
<para>systemd-&systemd-version;</para>
</listitem>
</listitem>-->
<listitem>
<para>XML::Parser-&xml-parser-version;</para>
</listitem>
@ -286,10 +289,6 @@
<para>udev 208</para>
</listitem>
<!--<listitem>
<para>texinfo-5.1-test-1.patch</para>
</listitem>-->
</itemizedlist>
</sect1>

View File

@ -112,7 +112,7 @@
<para>MD5 sum: <literal>&coreutils-md5;</literal></para>
</listitem>
</varlistentry>
<!--
<varlistentry>
<term>D-Bus (&dbus-version;) - <token>&dbus-size;</token>:</term>
<listitem>
@ -121,7 +121,7 @@
<para>MD5 sum: <literal>&dbus-md5;</literal></para>
</listitem>
</varlistentry>
-->
<varlistentry>
<term>DejaGNU (&dejagnu-version;) - <token>&dejagnu-size;</token>:</term>
<listitem>
@ -140,6 +140,22 @@
</listitem>
</varlistentry>
<varlistentry>
<term>Eudev (&eudev-version;) - <token>&eudev-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&eudev-url;"/></para>
<para>MD5 sum: <literal>&eudev-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry>
<term>Eudev-manpages (&eudev-version;) - <token>&eudev-manpages-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&eudev-manpages-url;"/></para>
<para>MD5 sum: <literal>&eudev-manpages-md5;</literal></para>
</listitem>
</varlistentry>
<varlistentry>
<term>E2fsprogs (&e2fsprogs-version;) - <token>&e2fsprogs-size;</token>:</term>
<listitem>
@ -586,7 +602,7 @@
<para>MD5 sum: <literal>&sysklogd-md5;</literal></para>
</listitem>
</varlistentry>
<!--
<varlistentry>
<term>Systemd (&systemd-version;) - <token>&systemd-size;</token>:</term>
<listitem>
@ -595,7 +611,7 @@
<para>MD5 sum: <literal>&systemd-md5;</literal></para>
</listitem>
</varlistentry>
-->
<varlistentry>
<term>Sysvinit (&sysvinit-version;) - <token>&sysvinit-size;</token>:</term>
<listitem>

View File

@ -88,10 +88,10 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tar.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="texinfo.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/>
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="systemd.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus.xml"/>-->
<!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="eudev.xml"/>-->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="eudev.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="util-linux.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="man-db.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="vim.xml"/>

View File

@ -82,14 +82,6 @@
<screen><userinput remap="install">make -C src install</userinput></screen>
<para>Move files that have a name conflict with <xref linkend="ch-system-systemd"/>
so that both packages can be installed side-by-side:</para>
<screen><userinput remap="install">for p in init halt poweroff reboot runlevel shutdown telinit; do
mv -v /sbin/$p /sbin/$p-sysv
mv -v /usr/share/man/man8/$p.8 /usr/share/man/man8/$p-sysv.8
done</userinput></screen>
</sect2>
<sect2 id="contents-sysvinit" role="content">

View File

@ -24,8 +24,8 @@
<title/>
<para>The LFS-Bootscripts package contains a set of scripts to start/stop
the LFS system at bootup/shutdown. A networking systemd unit file is
also installed. The configuration files and procedures needed to
the LFS system at bootup/shutdown.
The configuration files and procedures needed to
customize the boot process are described in the following sections.</para>
<segmentedlist>
@ -53,7 +53,6 @@
<title>Contents of LFS-Bootscripts</title>
<segmentedlist>
<segtitle>Installed scripts</segtitle>
<segtitle>Installed unit</segtitle>
<segtitle>Installed directories</segtitle>
<seglistitem>
@ -61,7 +60,6 @@
ifup, localnet, modules, mountfs, mountvirtfs, network, rc, reboot,
sendsignals, setclock, ipv4-static, swap, sysctl, sysklogd, template,
udev, and udev_retry</seg>
<seg>ifupdown@.service</seg>
<seg>/etc/rc.d, /etc/init.d (symbolic link), /etc/sysconfig,
/lib/services, /lib/lsb (symbolic link)</seg>
</seglistitem>

View File

@ -18,7 +18,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="network.xml"/>
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hosts.xml"/>-->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="usage.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysd-custom.xml"/>
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="sysd-custom.xml"/> -->
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hostname.xml"/>-->
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="setclock.xml"/>-->
<!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="console.xml"/>-->

View File

@ -18,11 +18,11 @@
process must be organized to ensure the tasks are performed in the correct
order but, at the same time, be executed as fast as possible.</para>
<para>In the packages that were installed in Chapter 6, there were two
<!-- <para>In the packages that were installed in Chapter 6, there were two
different boot systems installed. LFS provides the ability to easily
select which system the user wants to use and to compare and contrast the
two systems by actually running each system on the local computer. The
advantages and disadvantages of these systems is presented below.</para>
advantages and disadvantages of these systems is presented below.</para>-->
<sect2 id='sysv-desc'>
<title>System V</title>
@ -94,7 +94,7 @@
</itemizedlist>
</sect2>
<!--
<sect2 id='sysd-desc'>
<title>Systemd</title>
@ -166,7 +166,8 @@
</itemizedlist>
</sect2>
-->
<!--
<sect2 id='sysv'>
<title>Selecting a Boot Method</title>
@ -220,5 +221,5 @@ chmod 0744 /usr/sbin/set-sysv</userinput></screen>
appropriate script above and rebooting.</para>
</sect2>
-->
</sect1>

View File

@ -98,7 +98,7 @@ EOF</userinput></screen>
<para>For more information see the <command>ifup</command> man page.</para>
</sect2>
<!--
<sect2 id="systemd-net-enable">
<title>Configuring the Network Interface Card at boot (systemd)</title>
@ -195,7 +195,7 @@ EOF</userinput></screen>
<note><para>The Google Public IPv4 DNS addresses are 8.8.8.8 and 8.8.4.4.</para></note>
</sect2>
-->
<sect2 id="ch-scripts-hostname">
<title>Configuring the system hostname</title>
@ -204,9 +204,8 @@ EOF</userinput></screen>
<secondary>configuring</secondary>
</indexterm>
<para>During the boot process, both Systemd and System V use the same file
for establishing the system's hostname. This needs to be configured by
creating <filename>/etc/hostname</filename>.</para>
<para>During the boot process, the file <filename>/etc/hostname</filename>
is used for establishing the system's hostname.</para>
<para>Create the <filename>/etc/hostname</filename> file and enter a
hostname by running:</para>

View File

@ -155,7 +155,7 @@ EOF</userinput></screen>
8-bit</quote>). So you can use the <quote>C</quote> locale only if you are sure that
you will never need 8-bit characters.</para>
<para>UTF-8 based locales are not supported well by many programs.
<para>UTF-8 based locales are not supported well by some programs.
Work is in progress to document and, if possible, fix such problems, see
<ulink url="&blfs-root;view/svn/introduction/locale-issues.html"/>.</para>

View File

@ -113,7 +113,7 @@
creating your configuration files below.</para>
</sect3>
<!--
<sect3>
<title>Custom Naming in Systemd</title>
@ -151,7 +151,7 @@ MACAddress=cb:a9:87:65:43:21</screen>
the Name entry.</para>
</sect3>
-->
</sect2>
<sect2>

View File

@ -1,6 +1,6 @@
<!ENTITY version "SVN-20140502">
<!ENTITY version "SVN-20140510">
<!ENTITY short-version "svn"> <!-- Used in dbus chapter, change to x.y for release -->
<!ENTITY releasedate "May 2, 2014">
<!ENTITY releasedate "May 10, 2014">
<!ENTITY copyrightdate "1999-2014"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "8.0">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

View File

@ -127,7 +127,7 @@
<!ENTITY diffutils-ch5-sbu "0.2 SBU">
<!ENTITY diffutils-ch6-du "25 MB">
<!ENTITY diffutils-ch6-sbu "0.5 SBU">
<!--
<!ENTITY dbus-version "1.8.0">
<!ENTITY dbus-size "1,820 KB">
<!ENTITY dbus-url "http://dbus.freedesktop.org/releases/dbus/dbus-&dbus-version;.tar.gz">
@ -135,7 +135,7 @@
<!ENTITY dbus-home "http://www.freedesktop.org/wiki/Software/dbus">
<!ENTITY dbus-ch6-du "35 MB">
<!ENTITY dbus-ch6-sbu "less than 0.4 SBU">
-->
<!-- NOTE: When updating e2fsprogs, remember to check the list
of acceptable features that can be shown by debugfs in
chapter02/creatingfilesystem.xml -->
@ -147,6 +147,17 @@
<!ENTITY e2fsprogs-ch6-du "64 MB">
<!ENTITY e2fsprogs-ch6-sbu "1.7 SBU">
<!ENTITY eudev-version "1.6">
<!ENTITY eudev-size "1,689 KB">
<!ENTITY eudev-url "http://dev.gentoo.org/~blueness/eudev/eudev-&eudev-version;.tar.gz">
<!ENTITY eudev-md5 "c2fbf420a50d07b80158a0185cbb08f7">
<!ENTITY eudev-manpages-size "9 KB">
<!ENTITY eudev-manpages-url "&anduin-other;eudev-&eudev-version;-manpages.tar.bz2">
<!ENTITY eudev-manpages-md5 "c2fbf420a50d07b80158a0185cbb08f7">
<!ENTITY eudev-ch6-du "7.5 MB">
<!ENTITY eudev-ch6-sbu "0.1 SBU">
<!ENTITY expat-version "2.1.0">
<!ENTITY expat-size "552 KB">
<!ENTITY expat-url "&sourceforge;expat/expat-&expat-version;.tar.gz">
@ -251,7 +262,7 @@
<!ENTITY gmp-version "6.0.0a">
<!ENTITY gmp-extracted-version "6.0.0">
<!ENTITY gmp-size "1,860 KB">
<!ENTITY gmp-url "http://ftp.gnu.org/gnu/gmp/gmp-&gmp-version;.tar.xz">
<!ENTITY gmp-url "&gnu;/gmp/gmp-&gmp-version;.tar.xz">
<!ENTITY gmp-md5 "1e6da4e434553d2811437aa42c7f7c76">
<!ENTITY gmp-home "&gnu-software;gmp/">
<!ENTITY gmp-ch5-du "39 MB">
@ -337,7 +348,7 @@
<!ENTITY kbd-version "2.0.1">
<!ENTITY kbd-size "1,962 KB">
<!ENTITY kbd-url "http://ftp.altlinux.org/pub/people/legion/kbd/kbd-&kbd-version;.tar.gz">
<!ENTITY kbd-url "https://www.kernel.org/pub/linux/utils/kbd/kbd-&kbd-version;.tar.gz">
<!ENTITY kbd-md5 "cc0ee9f2537d8636cae85a8c6541ed2e">
<!ENTITY kbd-home "http://ftp.altlinux.org/pub/people/legion/kbd">
<!ENTITY kbd-ch6-du "20 MB">
@ -359,7 +370,7 @@
<!ENTITY less-ch6-du "3.6 MB">
<!ENTITY less-ch6-sbu "less than 0.1 SBU">
<!ENTITY lfs-bootscripts-version "20140404"> <!-- Scripts depend on this format -->
<!ENTITY lfs-bootscripts-version "20140510"> <!-- Scripts depend on this format -->
<!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> <!-- Updated in Makefile -->
<!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.bz2">
<!ENTITY lfs-bootscripts-md5 "BOOTSCRIPTS-MD5SUM"> <!-- Updated in Makefile -->
@ -472,7 +483,7 @@
<!ENTITY ncurses-version "5.9">
<!ENTITY ncurses-size "2,760 KB">
<!ENTITY ncurses-url "http://ftp.gnu.org/gnu/ncurses/ncurses-&ncurses-version;.tar.gz">
<!ENTITY ncurses-url "&gnu;/ncurses/ncurses-&ncurses-version;.tar.gz">
<!ENTITY ncurses-md5 "8cb9c412e5f2d96bc6f459aa8c6282a1">
<!ENTITY ncurses-home "&gnu-software;ncurses/">
<!ENTITY ncurses-ch5-du "35 MB">
@ -510,7 +521,7 @@
<!ENTITY procps-ng-version "3.3.9">
<!ENTITY procps-ng-size "548 KB">
<!ENTITY procps-ng-url "http://sourceforge.net/projects/procps-ng/files/Production/procps-ng-&procps-ng-version;.tar.xz/">
<!ENTITY procps-ng-url "http://hivelocity.sourceforge.net/projects/procps-ng/Production/procps-ng-&procps-ng-version;.tar.xz">
<!ENTITY procps-ng-md5 "0980646fa25e0be58f7afb6b98f79d74">
<!ENTITY procps-ng-home "http://sourceforge.net/projects/procps-ng">
<!ENTITY procps-ng-ch6-du "13 MB">
@ -542,11 +553,11 @@
<!ENTITY sed-ch6-du "6.7 MB">
<!ENTITY sed-ch6-sbu "0.2 SBU">
<!ENTITY shadow-version "4.1.5.1">
<!ENTITY shadow-size "3,428 KB">
<!ENTITY shadow-url "http://cdn.debian.net/debian/pool/main/s/shadow/shadow_&shadow-version;.orig.tar.gz">
<!ENTITY shadow-md5 "ae66de9953f840fb3a97f6148bc39a30">
<!-- <!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org/"> -->
<!ENTITY shadow-version "4.2.1">
<!ENTITY shadow-size "1,558 KB">
<!ENTITY shadow-url "http://pkg-shadow.alioth.debian.org/releases/shadow-&shadow-version;.tar.xz">
<!ENTITY shadow-md5 "2bfafe7d4962682d31b5eba65dba4fc8">
<!ENTITY shadow-home "http://pkg-shadow.alioth.debian.org/">
<!ENTITY shadow-ch6-du "42 MB">
<!ENTITY shadow-ch6-sbu "0.2 SBU">

View File

@ -107,7 +107,7 @@
command line file management, and are necessary for the installation
procedures of every package in LFS.</para>
</listitem>
<!--
<listitem>
<para>D-Bus</para>
@ -115,7 +115,7 @@
which a simple way for applications to talk to one another.
</para>
</listitem>
-->
<listitem>
<para>DejaGNU</para>
@ -139,6 +139,14 @@
tested file systems that Linux supports.</para>
</listitem>
<listitem>
<para>Eudev</para>
<para>This package is a device manager. It dynamically controls the entries
in the /dev directory as devices are added or removed from the system.
</para>
</listitem>
<listitem>
<para>Expat</para>
@ -466,7 +474,7 @@
such as those given by the kernel or daemon processes when unusual
events occur.</para>
</listitem>
<!--
<listitem>
<para>Systemd</para>
@ -476,7 +484,7 @@
In LFS it is installed side-by-side with Sysvinit to provide the user with
alternative boot systems for comparison.</para>
</listitem>
-->
<listitem>
<para>Sysvinit</para>