Author: dj Date: Mon Sep 2 01:39:06 2019 New Revision: 22081 Log: Replace Lsb_release and Initd-tools with LSB-Tools package Begin update of bootscript headers. Partial fix for #12010 Remove unneeded elogind and mountcgroupfs bootscripts Update to blfs-bootscripts-20190902
Added: trunk/BOOK/archive/initdtools.xml (contents, props changed) trunk/BOOK/archive/lsb-release.xml (contents, props changed) trunk/BOOK/general/sysutils/lsb-tools.xml (contents, props changed) Deleted: trunk/BOOK/general/sysutils/initdtools.xml trunk/BOOK/postlfs/config/lsb-release.xml Modified: trunk/BOOK/general.ent trunk/BOOK/general/sysutils/elogind.xml trunk/BOOK/general/sysutils/sysutils.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/lxde/desktop/lxsession.xml trunk/BOOK/packages.ent trunk/BOOK/postlfs/config/config.xml Added: trunk/BOOK/archive/initdtools.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/BOOK/archive/initdtools.xml Mon Sep 2 01:39:06 2019 (r22081) @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../../general.ent"> + %general-entities; + <!ENTITY initd-tools-download-http "https://people.freedesktop.org/~dbn/initd-tools/releases/initd-tools-&initd-tools-version;.tar.gz"> + <!ENTITY initd-tools-download-ftp " "> + <!ENTITY initd-tools-md5sum "ab6377700ace81ec5a556ebdbae1d8d9"> + <!ENTITY initd-tools-size "291 KB"> + <!ENTITY initd-tools-buildsize "2.6 MB"> + <!ENTITY initd-tools-time "less than 0.1 SBU"> +]> + +<sect1 id="initd-tools" xreflabel="Initd-tools-&initd-tools-version;"> + <?dbhtml filename="initd-tools.html"?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> + + <title>Initd-tools-&initd-tools-version;</title> + + <indexterm zone="initd-tools"> + <primary sortas="a-initd-tools">initd-tools</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to initd-tools</title> + + <para>The <application>initd-tools</application> package contains + programs to install and remove LSB based bootscripts. </para> + + &lfs90_checked; + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&initd-tools-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&initd-tools-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &initd-tools-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &initd-tools-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &initd-tools-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &initd-tools-time;</para> + </listitem> + </itemizedlist> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/initd_tools"/></para> + + </sect2> + + <sect2 role="installation"> + + <title>Installation of initd-tools</title> + + <para>Install <application>initd-tools</application> by running the following + commands:</para> + +<screen><userinput>./configure --prefix=/ --mandir=/usr/share/man && +make</userinput></screen> + + <para>This package does not come with a test suite.</para> + + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>make install</userinput></screen> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + <segtitle>Installed Libraries</segtitle> + <segtitle>Installed Directories</segtitle> + + <seglistitem> + <seg>install_initd and remove_initd</seg> + <seg>None</seg> + <seg>/usr/lib/lsb</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="install_initd"> + <term><command>install_initd</command></term> + <listitem> + <para>installs a boot script and the necessary symbolic links + using LSB methodology.</para> + <indexterm zone="initd-tools install_initd"> + <primary sortas="b-install_initd">install_initd</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="remove_initd"> + <term><command>remove_initd</command></term> + <listitem> + <para>removes a boot script and the necessary symbolic links + using LSB methodology.</para> + <indexterm zone="initd-tools remove_initd"> + <primary sortas="b-remove_initd">remove_initd</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> Added: trunk/BOOK/archive/lsb-release.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/BOOK/archive/lsb-release.xml Mon Sep 2 01:39:06 2019 (r22081) @@ -0,0 +1,132 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../../general.ent"> + + <!ENTITY lsb-release-download-http "&sourceforge-dl;/lsb/lsb-release-&lsb-release-version;.tar.gz"> + <!ENTITY lsb-release-download-ftp " "> + <!ENTITY lsb-release-md5sum "30537ef5a01e0ca94b7b8eb6a36bb1e4"> + <!ENTITY lsb-release-size "12 KB"> + <!ENTITY lsb-release-buildsize "80 KB"> + <!ENTITY lsb-release-time "less than 0.1 SBU"> + + %general-entities; +]> + +<sect1 id="lsb-release" xreflabel="lsb_release-&lsb-release-version;"> + <?dbhtml filename="lsb-release.html"?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> + + <title>lsb_release-&lsb-release-version;</title> + + <indexterm zone="lsb-release"> + <primary sortas="a-lsb-release">lsb_release</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to lsb_release</title> + + <para>The <application>lsb_release</application> script gives information + about the Linux Standards Base (LSB) status of the distribution.</para> + + &lfs90_checked; + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&lsb-release-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&lsb-release-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &lsb-release-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &lsb-release-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &lsb-release-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &lsb-release-time;</para> + </listitem> + </itemizedlist> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/lsb_release"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of lsb_release</title> + + <para>First fix a minor display problem:</para> + +<screen><userinput>sed -i "s|n/a|unavailable|" lsb_release</userinput></screen> + + <para>Install <application>lsb_release</application> by running the following + commands:</para> + +<screen><userinput>./help2man -N --include ./lsb_release.examples \ + --alt_version_key=program_version ./lsb_release > lsb_release.1</userinput></screen> + + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>install -v -m 644 lsb_release.1 /usr/share/man/man1 && +install -v -m 755 lsb_release /usr/bin</userinput></screen> + + </sect2> + + <sect2> + <title>Configuration Information</title> + + <para> + The configuration for this package was done in + <ulink url="&lfs-website;/lfs/view/stable/chapter09/theend.html">LFS</ulink>. + The file <filename>/etc/lsb-release</filename> should already exist. + Be sure that the DISTRIB_CODENAME entry has been set properly. + </para> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + <segtitle>Installed Library</segtitle> + <segtitle>Installed Directories</segtitle> + + <seglistitem> + <seg> + lsb_release + </seg> + <seg>None</seg> + <seg>None</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="lsb_release-prog"> + <term><command>lsb_release</command></term> + <listitem> + <para>is a script to give LSB data.</para> + <indexterm zone="lsb-release lsb_release-prog"> + <primary sortas="b-lsb-release">lsb_release</primary> + </indexterm> + </listitem> + </varlistentry> + </variablelist> + + </sect2> + +</sect1> Modified: trunk/BOOK/general.ent ============================================================================== --- trunk/BOOK/general.ent Mon Sep 2 00:42:38 2019 (r22080) +++ trunk/BOOK/general.ent Mon Sep 2 01:39:06 2019 (r22081) @@ -1,12 +1,12 @@ <!-- $LastChangedBy$ $Date$ --> -<!ENTITY day "30"> <!-- Always 2 digits --> -<!ENTITY month "08"> <!-- Always 2 digits --> +<!ENTITY day "02"> <!-- Always 2 digits --> +<!ENTITY month "09"> <!-- Always 2 digits --> <!ENTITY year "2019"> <!ENTITY copyrightdate "2001-&year;"> <!ENTITY copyholder "The BLFS Development Team"> <!ENTITY version "&year;-&month;-&day;"> -<!ENTITY releasedate "August 30th, &year;"> +<!ENTITY releasedate "September 2nd, &year;"> <!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP --> <!ENTITY blfs-version "svn"> <!-- svn|[release #] --> <!ENTITY lfs-version "development"> <!-- x.y|development --> @@ -82,7 +82,7 @@ <!ENTITY lfs-vim-version "7.4"> <!-- End LFS versions --> -<!ENTITY blfs-bootscripts-version "20190609"> +<!ENTITY blfs-bootscripts-version "20190902"> <!ENTITY systemd-units-version "20180105"> Modified: trunk/BOOK/general/sysutils/elogind.xml ============================================================================== --- trunk/BOOK/general/sysutils/elogind.xml Mon Sep 2 00:42:38 2019 (r22080) +++ trunk/BOOK/general/sysutils/elogind.xml Mon Sep 2 01:39:06 2019 (r22081) @@ -194,25 +194,10 @@ <sect2 role="configuration"> <title>Configuring elogind</title> - <para revision="sysv"> - To automatically start <command>elogind</command> when the - system is rebooted, install the - <filename>/etc/rc.d/init.d/mountcgroupfs</filename> and - <filename>/etc/rc.d/init.d/elogind</filename> bootscripts from the - <xref linkend="bootscripts"/> package. - </para> - - <indexterm zone="elogind elogind"> - <primary sortas="f-elogind">elogind</primary> - </indexterm> - -<screen role="root"><userinput>make install-elogind</userinput></screen> - <para> - Note that this boot script only starts the system-wide - <application>elogind</application> daemon. Each user will also need to - register a user session using <application>Linux-PAM</application> at - login. The <filename>/etc/pam.d/system-session</filename> file needs to + Each user will need to register a user session using + <application>Linux-PAM</application> at login. The + <filename>/etc/pam.d/system-session</filename> file needs to be modified and a new file needs to be created in order for <command>elogind</command> to work correctly. Run the following commands as the <systemitem class="username">root</systemitem> user: Added: trunk/BOOK/general/sysutils/lsb-tools.xml ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ trunk/BOOK/general/sysutils/lsb-tools.xml Mon Sep 2 01:39:06 2019 (r22081) @@ -0,0 +1,147 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" + "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../../general.ent"> + + <!ENTITY lsb-tools-download-http "https://github.com/djlucas/LSB-Tools/releases/download/v&lsb-tools-version;/LSB-Tools-&lsb-tools-version;.tar.gz"> + <!ENTITY lsb-tools-download-ftp " "> + <!ENTITY lsb-tools-md5sum "9748ac3a6b792c2e9d69ff85d59a83d5"> + <!ENTITY lsb-tools-size "12 KB"> + <!ENTITY lsb-tools-buildsize "152 KB"> + <!ENTITY lsb-tools-time "0.1 SBU"> + + %general-entities; +]> + +<sect1 id="lsb-tools" xreflabel="lsb-tools-&lsb-tools-version;"> + <?dbhtml filename="lsb-tools.html"?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + </sect1info> + + <title>LSB-Tools-&lsb-tools-version;</title> + + <indexterm zone="lsb-tools"> + <primary sortas="a-lsb-tools">LSB-Tools</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to LSB-Tools</title> + + <para>The <application>LSB-Tools</application> package includes tools + for Linux Standards Base (LSB) conformance.</para> + + &lfs90_checked; + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&lsb-tools-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&lsb-tools-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &lsb-tools-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &lsb-tools-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &lsb-tools-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &lsb-tools-time;</para> + </listitem> + </itemizedlist> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/LSB-Tools"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of LSB-Tools</title> + + <para>Install <application>lsb_release</application> by running the following + commands:</para> + +<screen><userinput>python3 setup.py build</userinput></screen> + + <para>Now, as the <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen> + + </sect2> + + <sect2> + <title>Configuration Information</title> + + <para> + The configuration for this package was done in <phrase revision="sysv"> + <ulink url="&lfs-website;/lfs/view/stable/chapter09/theend.html">LFS</ulink>.</phrase> + <phrase revision="systemd"> + <ulink url="&lfs-website;/lfs/view/systemd/chapter09/theend.html">LFS</ulink> + and + <ulink url="&lfs-website;/lfs/view/systemd/chapter06/systemd.html">Systemd</ulink>.</phrase> + The file <filename>/etc/lsb-release</filename> should already exist. + Be sure that the DISTRIB_CODENAME entry has been set properly. + </para> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + <segtitle>Installed Directories</segtitle> + + <seglistitem> + <seg> + /sbin/lsb_release, /usr/lib/lsb/install_initd, + and /usr/lib/lsb/remove_initd + </seg> + <seg>/usr/lib/python3.7/site-packaes/lsbtools</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="lsb_release"> + <term><command>lsb_release</command></term> + <listitem> + <para>is a script to give LSB data.</para> + <indexterm zone="lsb-tools lsb_release"> + <primary sortas="b-lsb-tools">lsb_release</primary> + </indexterm> + </listitem> + </varlistentry> + <varlistentry id="install_initd"> + <term><command>install_initd</command></term> + <listitem> + <para>is a script to activate SysV startup scripts.</para> + <indexterm zone="lsb-tools install_initd"> + <primary sortas="b-lsb-tools">install_initd</primary> + </indexterm> + </listitem> + </varlistentry> + <varlistentry id="remove_initd"> + <term><command>lsb_release</command></term> + <listitem> + <para>is a script to deactivate SysV startup scripts.</para> + <indexterm zone="lsb-tools remove_initd"> + <primary sortas="b-lsb-tools">remove_initd</primary> + </indexterm> + </listitem> + </varlistentry> + </variablelist> + + </sect2> + +</sect1> Modified: trunk/BOOK/general/sysutils/sysutils.xml ============================================================================== --- trunk/BOOK/general/sysutils/sysutils.xml Mon Sep 2 00:42:38 2019 (r22080) +++ trunk/BOOK/general/sysutils/sysutils.xml Mon Sep 2 01:39:06 2019 (r22081) @@ -41,10 +41,7 @@ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="fcron.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gpm.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hdparm.xml"/> - - <!-- sysv only --> - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="initdtools.xml"/> - + <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lsb-tools.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lm_sensors.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="logrotate.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mc.xml"/> Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Mon Sep 2 00:42:38 2019 (r22080) +++ trunk/BOOK/introduction/welcome/changelog.xml Mon Sep 2 01:39:06 2019 (r22081) @@ -43,6 +43,27 @@ --> <listitem> + <para>September 2nd, 2019</para> + <itemizedlist> + <listitem> + <para>[dj] - Replace Lsb_release and Initd-tools with LSB-Tools + package.</para> + </listitem> + <listitem> + <para>[dj] - Begin update of bootscript headers. Partial fix for + <ulink url="&blfs-ticket-root;12010">#12010</ulink>.</para> + </listitem> + <listitem> + <para>[dj] - Remove unneeded elogind and mountcgroupfs + bootscripts.</para> + </listitem> + <listitem> + <para>[dj] - Update to blfs-bootscripts-20190902.</para> + </listitem> + </itemizedlist> + </listitem> + + <listitem> <para>September 1st, 2019</para> <itemizedlist> <listitem> Modified: trunk/BOOK/lxde/desktop/lxsession.xml ============================================================================== --- trunk/BOOK/lxde/desktop/lxsession.xml Mon Sep 2 00:42:38 2019 (r22080) +++ trunk/BOOK/lxde/desktop/lxsession.xml Mon Sep 2 01:39:06 2019 (r22081) @@ -82,7 +82,7 @@ <bridgehead renderas="sect4">Optional</bridgehead> <para role="optional"> - <xref role="runtime" linkend="lsb-release"/> (may be used at runtime + <xref role="runtime" linkend="lsb-tools"/> (may be used at runtime to display the distribution release in the logout dialog), <xref linkend="gtk3"/>, and <xref linkend="libxslt"/> with Modified: trunk/BOOK/packages.ent ============================================================================== --- trunk/BOOK/packages.ent Mon Sep 2 00:42:38 2019 (r22080) +++ trunk/BOOK/packages.ent Mon Sep 2 01:39:06 2019 (r22081) @@ -1,10 +1,6 @@ <!-- $LastChangedBy$ $Date$ --> <!-- Part II --> -<!-- Chapter 3 --> -<!ENTITY initd-tools-version "0.1.3"> -<!ENTITY lsb-release-version "1.4"> - <!-- Chapter 4 --> <!ENTITY acl-version "2.2.52"> @@ -280,6 +276,7 @@ <!ENTITY hdwids-version "20141022"> <!ENTITY lm_sensors-version "3.4.0"> <!ENTITY logrotate-version "3.15.0"> +<!ENTITY lsb-tools-version "0.3"> <!ENTITY mc-version "4.8.23"> <!ENTITY ModemManager-version "1.10.4"> <!ENTITY obex-data-server-version "0.4.6"> Modified: trunk/BOOK/postlfs/config/config.xml ============================================================================== --- trunk/BOOK/postlfs/config/config.xml Mon Sep 2 00:42:38 2019 (r22080) +++ trunk/BOOK/postlfs/config/config.xml Mon Sep 2 01:39:06 2019 (r22081) @@ -56,7 +56,4 @@ <!-- sysv only --> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="random.xml"/> - - <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lsb-release.xml"/> - </chapter> -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
