aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Trepl (Moody) <thomas@linuxfromscratch.org>2022-08-14 14:58:23 +0200
committerThomas Trepl (Moody) <thomas@linuxfromscratch.org>2022-08-14 14:58:23 +0200
commitba62edf4b060a3681635ad901cd98bb85fe2c071 (patch)
treef95e2fcc57c72c9257afa4c02de7a4cd0ea74f63
parent804c3e5c58b083acda44f9bb5b42c0b16ea57fe4 (diff)
Updates
-rw-r--r--chapter08/chapter08.xml1
-rw-r--r--chapter08/s6-utils.xml104
-rw-r--r--packages.ent10
3 files changed, 115 insertions, 0 deletions
diff --git a/chapter08/chapter08.xml b/chapter08/chapter08.xml
index fde5897a1..eae9b9aa1 100644
--- a/chapter08/chapter08.xml
+++ b/chapter08/chapter08.xml
@@ -108,6 +108,7 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="s6.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="s6-rc.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="s6-init.xml"/>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="s6-utils.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutdebug.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="stripping.xml"/>
diff --git a/chapter08/s6-utils.xml b/chapter08/s6-utils.xml
new file mode 100644
index 000000000..07d9bcd08
--- /dev/null
+++ b/chapter08/s6-utils.xml
@@ -0,0 +1,104 @@
+<?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;
+]>
+
+<sect1 id="ch-system-s6-utils" role="wrap" revision="s6">
+ <?dbhtml filename="s6-utils.html"?>
+
+ <sect1info condition="script">
+ <productname>s6-utils</productname>
+ <productnumber>&s6-utils-version;</productnumber>
+ <address>&s6-utils-url;</address>
+ </sect1info>
+
+ <title>s6-utils-&s6-utils-version;</title>
+
+ <indexterm zone="ch-system-s6-utils">
+ <primary sortas="a-s6-utils">s6-utils</primary>
+ </indexterm>
+
+ <sect2 role="package">
+ <title/>
+
+ <para>s6-linux-init is a set of minimalistic tools used to
+ create a s6-based init system, including a /sbin/init binary,
+ on a Linux kernel.</para>
+
+ <segmentedlist>
+ <segtitle>&buildtime;</segtitle>
+ <segtitle>&diskspace;</segtitle>
+
+ <seglistitem>
+ <seg>&s6-utils-fin-sbu;</seg>
+ <seg>&s6-utils-fin-du;</seg>
+ </seglistitem>
+ </segmentedlist>
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of s6-linux-utils</title>
+
+ <para>Prepare s6-utils for compilation:</para>
+
+<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
+
+<!--
+ <variablelist>
+ <title>The meaning of the configure options:</title>
+
+ <varlistentry>
+ <term><parameter>--skeldir=/etc/s6-linux-init/skel</parameter></term>
+ <listitem>
+ <para>Set directory where to store essential files for the init process</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+-->
+
+ <para>Compile the package:</para>
+
+<screen><userinput remap="make">make</userinput></screen>
+
+ <para>Install the package:</para>
+
+<screen><userinput remap="install">make install</userinput></screen>
+
+ </sect2>
+
+ <sect2 id="contents-s6-utils" role="content">
+ <title>Contents of s6-utils</title>
+
+ <segmentedlist>
+ <segtitle>Installed programs</segtitle>
+ <segtitle>Installed libraries</segtitle>
+ <segtitle>Installed directories</segtitle>
+
+ <seglistitem>
+ <seg>s6-utils-x, s6-utils-y, s6-utils-z, ...</seg>
+ <seg>libx, liby, libz ...</seg>
+ <seg>dirx, diry, dirz ...</seg>
+ </seglistitem>
+ </segmentedlist>
+
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
+
+ <varlistentry id="s6-utils-x">
+ <term><command>s6-utils-x</command></term>
+ <listitem>
+ <para>Is used to blah blah</para>
+ <indexterm zone="ch-system-s6-utils s6-utils-x">
+ <primary sortas="b-s6-utils-x">s6-utils-x</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ </sect2>
+
+</sect1>
diff --git a/packages.ent b/packages.ent
index eee92adc5..10aa4a9b7 100644
--- a/packages.ent
+++ b/packages.ent
@@ -664,6 +664,16 @@
<!ENTITY s6-init-fin-du "9999 MB">
<!ENTITY s6-init-fin-sbu "9999 SBU">
+<!ENTITY s6-utils-version "2.6.0.0"><!-- S6 init -->
+<!ENTITY s6-utils-size "9999 KB">
+<!ENTITY s6-utils-url "https://skarnet.org/software/s6-linux-utils/s6-linux-utils-&s6-utils-version;.tar.gz">
+<!ENTITY s6-utils-md5 "5f7c1722badf34128003c57491253e6e">
+<!ENTITY s6-utils-home "https://skarnet.org/software/s6-linux-utils/">
+<!ENTITY s6-utils-tmp-du "9999 MB">
+<!ENTITY s6-utils-tmp-sbu "9999 SBU">
+<!ENTITY s6-utils-fin-du "9999 MB">
+<!ENTITY s6-utils-fin-sbu "9999 SBU">
+
<!ENTITY sed-version "4.8">
<!ENTITY sed-size "1,317 KB">
<!ENTITY sed-url "&gnu;sed/sed-&sed-version;.tar.xz">