aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Trepl <thomas@linuxfromscratch.org>2023-02-20 00:30:12 +0100
committerThomas Trepl <thomas@linuxfromscratch.org>2023-02-20 00:30:12 +0100
commit4096cdff248d177c0133805511688c96a73f3ccb (patch)
tree24802a2405b5cf82c65f6c2568c780d6551051c0
parentbef6431de36aae10be4de874f3db27ff4276226b (diff)
parentea601535b80f1a45314c60b5ce14028b39e6c27a (diff)
Automatic merge of trunk into multilib
-rw-r--r--appendices/dependencies.xml78
-rw-r--r--chapter01/changelog.xml11
-rw-r--r--chapter01/whatsnew.xml10
-rw-r--r--chapter03/patches.xml8
-rw-r--r--chapter08/e2fsprogs.xml27
-rw-r--r--chapter08/grub.xml9
-rw-r--r--patches.ent8
7 files changed, 108 insertions, 43 deletions
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index 6717160ba..697d0d1d7 100644
--- a/appendices/dependencies.xml
+++ b/appendices/dependencies.xml
@@ -464,7 +464,9 @@
<segmentedlist id="coreutils-before">
<segtitle>&before;</segtitle>
<seglistitem>
- <seg>Bash, Diffutils, Eudev, Findutils, and Man-DB</seg>
+ <seg>Bash, Diffutils, <phrase revision="sysv">Eudev, </phrase>
+ Findutils, <phrase revision="sysv">and </phrase>Man-DB<phrase
+ revision="systemd">, and Systemd</phrase></seg>
</seglistitem>
</segmentedlist>
@@ -480,42 +482,45 @@
</segmentedlist>
<!-- Begin D-Bus dependency info -->
-<!--
- <bridgehead renderas="sect2" id="dbus-dep">D-Bus</bridgehead>
- <segmentedlist>
- <segtitle>&dependencies;</segtitle>
+ <bridgehead renderas="sect2" id="dbus-dep" revision="systemd">D-Bus</bridgehead>
+ <segmentedlist id="dbus-depends" revision="systemd">
+ <segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep,
- Make, Sed, and Util-linux</seg>
+ Make, Sed, Systemd, and Util-linux</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist>
- <segtitle>&testsuites;</segtitle>
+ <segmentedlist id="dbus-rundeps" revision="systemd">
+ <segtitle>&runtime;</segtitle>
+ <seglistitem>
+ <seg>Glibc and Systemd</seg>
+ </seglistitem>
+ </segmentedlist>
+ <segmentedlist id="dbus-testdeps" revision="systemd">
+ <segtitle>&testsuites;</segtitle>
<seglistitem>
- <seg>None</seg>
+ <seg>Several packages in BLFS</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist>
+ <segmentedlist id="dbus-before" revision="systemd">
<segtitle>&before;</segtitle>
-
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist>
+ <segmentedlist id="dbus-optdeps" revision="systemd">
<segtitle>&external;</segtitle>
-
<seglistitem>
- <seg>Xorg Libs</seg>
+ <seg><ulink url="&blfs-book;x/x7lib.html">Xorg Libraries</ulink></seg>
</seglistitem>
</segmentedlist>
--->
+
<!-- Begin DejaGNU dependency info -->
<bridgehead renderas="sect2" id="dejagnu-dep">DejaGNU</bridgehead>
@@ -634,9 +639,9 @@
</segmentedlist>
<!-- Begin Eudev dependency info -->
- <bridgehead renderas="sect2" id="eudev-dep">Eudev</bridgehead>
+ <bridgehead renderas="sect2" id="eudev-dep" revision="sysv">Eudev</bridgehead>
- <segmentedlist id="eudev-depends">
+ <segmentedlist id="eudev-depends" revision="sysv">
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Gperf, Make,
@@ -644,28 +649,28 @@
</seglistitem>
</segmentedlist>
- <segmentedlist id="eudev-rundeps">
+ <segmentedlist id="eudev-rundeps" revision="sysv">
<segtitle>&runtime;</segtitle>
<seglistitem>
<seg>Glibc, Kmod, Xz, Util-linux, and Zlib.</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist id="eudev-testdeps">
+ <segmentedlist id="eudev-testdeps" revision="sysv">
<segtitle>&testsuites;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist id="eudev-before">
+ <segmentedlist id="eudev-before" revision="sysv">
<segtitle>&before;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist id="eudev-optdeps">
+ <segmentedlist id="eudev-optdeps" revision="sysv">
<segtitle>&external;</segtitle>
<seglistitem>
<seg>None</seg>
@@ -1579,7 +1584,8 @@
<segmentedlist id="kmod-before">
<segtitle>&before;</segtitle>
<seglistitem>
- <seg>Eudev</seg>
+ <seg><phrase revision="sysv">Eudev</phrase>
+ <phrase revision="systemd">Systemd</phrase></seg>
</seglistitem>
</segmentedlist>
@@ -1626,6 +1632,7 @@
<segtitle>&external;</segtitle>
<seglistitem>
<seg>
+ <ulink url="&blfs-book;general/pcre2.html">PCRE2</ulink> or
<ulink url="&blfs-book;general/pcre.html">PCRE</ulink>
</seg>
</seglistitem>
@@ -2437,7 +2444,7 @@
<segmentedlist id="pkgconfig-depends">
<segtitle>&dependencies;</segtitle>
<seglistitem>
- <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make, Popt,
+ <seg>Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
and Sed</seg>
</seglistitem>
</segmentedlist>
@@ -2716,37 +2723,37 @@
</segmentedlist>
<!-- Begin Sysklogd dependency info -->
- <bridgehead renderas="sect2" id="sysklogd-dep">Sysklogd</bridgehead>
+ <bridgehead renderas="sect2" id="sysklogd-dep" revision="sysv">Sysklogd</bridgehead>
- <segmentedlist id="sysklogd-depends">
+ <segmentedlist id="sysklogd-depends" revision="sysv">
<segtitle>&dependencies;</segtitle>
<seglistitem>
<seg>Binutils, Coreutils, GCC, Glibc, Make, and Patch</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist id="sysklogd-rundeps">
+ <segmentedlist id="sysklogd-rundeps" revision="sysv">
<segtitle>&runtime;</segtitle>
<seglistitem>
<seg>Glibc</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist id="sysklogd-testdeps">
+ <segmentedlist id="sysklogd-testdeps" revision="sysv">
<segtitle>&testsuites;</segtitle>
<seglistitem>
<seg>No test suite available</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist id="sysklogd-before">
+ <segmentedlist id="sysklogd-before" revision="sysv">
<segtitle>&before;</segtitle>
<seglistitem>
<seg>None</seg>
</seglistitem>
</segmentedlist>
- <segmentedlist id="sysklogd-optdeps">
+ <segmentedlist id="sysklogd-optdeps" revision="sysv">
<segtitle>&external;</segtitle>
<seglistitem>
<seg>None</seg>
@@ -2830,7 +2837,8 @@
<ulink url="https://sourceforge.net/projects/linuxquota/">
quota-tools</ulink>,
<ulink url="&blfs-book;basicnet/rsync.html">rsync</ulink>,
- <ulink url="https://pypi.python.org/pypi/Sphinx">Sphinx</ulink>,
+ <ulink url="&blfs-book;general/python-modules.html#sphinx">
+ Sphinx</ulink>,
<ulink url="https://tpm2-tss.readthedocs.io/en/latest/">
tpm2-tss</ulink>,
<ulink url="&blfs-book;general/valgrind.html">Valgrind</ulink>,
@@ -3002,8 +3010,10 @@
<segmentedlist id="util-linux-depends">
<segtitle>&dependencies;</segtitle>
<seglistitem>
- <seg>Bash, Binutils, Coreutils, Diffutils, Eudev, Findutils, Gawk,
- GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed, and Zlib</seg>
+ <seg>Bash, Binutils, Coreutils, Diffutils,
+ <phrase revision="sysv">Eudev, </phrase>Findutils, Gawk,
+ GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed,
+ <phrase revision="systemd">Systemd, </phrase>and Zlib</seg>
</seglistitem>
</segmentedlist>
@@ -3194,7 +3204,9 @@
<segmentedlist id="xz-before">
<segtitle>&before;</segtitle>
<seglistitem>
- <seg>Eudev, File, GRUB, Kmod, and Man-DB</seg>
+ <seg><phrase revision="sysv">Eudev, </phrase>File, GRUB, Kmod,
+ <phrase revision="sysv">and </phrase>Man-DB<phrase
+ revision="systemd">, and Systemd</phrase></seg>
</seglistitem>
</segmentedlist>
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index ce0c5e9c5..e64127dd8 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,17 @@
appropriate for the entry or if needed the entire day's listitem.
-->
<listitem>
+ <para>2023-02-19</para>
+ <itemizedlist>
+ <listitem>
+ <para>[xry111] - Apply a patch for GRUB for an issue triggered
+ with e2fsprogs-1.47.0. Fixes
+ <ulink url="&lfs-ticket-root;5219">#5219</ulink>.</para>
+ </listitem>
+ </itemizedlist>
+ </listitem>
+
+ <listitem>
<para>2023-02-13</para>
<itemizedlist>
<listitem>
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index cd9d32d26..bf69cb08f 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -109,9 +109,9 @@
<listitem>
<para>Gettext-&gettext-version;</para>
</listitem>
- <!--<listitem>
+ <listitem>
<para>Glibc-&glibc-version;</para>
- </listitem>-->
+ </listitem>
<!--<listitem>
<para>GMP-&gmp-version;</para>
</listitem>-->
@@ -291,11 +291,11 @@
<itemizedlist>
<title>Added:</title>
<listitem><para></para></listitem> <!-- satisfy build -->
-<!--
+
<listitem>
- <para>&bash-fixes-patch;</para>
+ <para>&grub-upstream-fixes-patch;</para>
</listitem>
--->
+
<listitem>
<para>&readline-fixes-patch;</para>
</listitem>
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index ae39a70bb..44367898f 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -86,6 +86,14 @@
</varlistentry>
<varlistentry>
+ <term>GRUB Upstream Fixes Patch - <token>&grub-upstream-fixes-patch-size;</token>:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&grub-upstream-fixes-patch;"/></para>
+ <para>MD5 sum: <literal>&grub-upstream-fixes-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>Kbd Backspace/Delete Fix Patch - <token>&kbd-backspace-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&kbd-backspace-patch;"/></para>
diff --git a/chapter08/e2fsprogs.xml b/chapter08/e2fsprogs.xml
index bccf33227..68cfffd69 100644
--- a/chapter08/e2fsprogs.xml
+++ b/chapter08/e2fsprogs.xml
@@ -134,6 +134,33 @@ install -v -m644 doc/com_err.info /usr/share/info
install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info</userinput></screen>
</sect2>
+ <sect2 id="conf-e2fsprogs" role="configuration">
+ <title>Configuring E2fsprogs</title>
+
+ <indexterm zone="conf-e2fsprogs">
+ <primary sortas="e-/etc/mke2fs.conf">/etc/mke2fs.conf</primary>
+ </indexterm>
+
+ <para>
+ <filename>/etc/mke2fs.conf</filename> contains the default value of
+ various command line options of <command>mke2fs</command>. You may
+ edit the file to make the default values suitable for your need.
+ For example, some utilities (not in LFS or BLFS) cannot recognize a
+ <systemitem class='filesystem'>ext4</systemitem> file system with
+ <literal>metadata_csum_seed</literal> feature enabled.
+ <emphasis role='bold'>If</emphasis> you need such an utility, you may
+ remove the feature from the default
+ <systemitem class='filesystem'>ext4</systemitem> feature list with the
+ command:
+ </para>
+
+ <screen role='nodump'><userinput>sed 's/metadata_csum_seed,//' -i /etc/mke2fs.conf</userinput></screen>
+
+ <para>
+ Read the man page <filename>mke2fs.conf(5)</filename> for details.
+ </para>
+ </sect2>
+
<sect2 id="contents-e2fsprogs" role="content">
<title>Contents of E2fsprogs</title>
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 04fbef91b..357036c34 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -61,6 +61,15 @@
aggressive optimization.</para>
</warning>
+ <para>
+ Fix an issue causing <command>grub-install</command> to fail when the
+ <filename class='directory'>/boot</filename> partition (or the root
+ partition if <filename class='directory'>/boot</filename> is not a
+ separate partition) is created by e2fsprogs-1.47.0 or later:
+ </para>
+
+<screen><userinput remap='pre'>patch -Np1 -i ../grub-&grub-version;-upstream_fixes-1.patch</userinput></screen>
+
<para>Prepare GRUB for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr \
diff --git a/patches.ent b/patches.ent
index 6e66a4b59..c381cd0a8 100644
--- a/patches.ent
+++ b/patches.ent
@@ -50,11 +50,9 @@
<!ENTITY glibc-fhs-patch-md5 "9a5997c3452909b1769918c759eff8a2">
<!ENTITY glibc-fhs-patch-size "2.8 KB">
-<!--
-<!ENTITY glibc-upstream-patch "glibc-&glibc-version;-upstream_fixes-1.patch">
-<!ENTITY glibc-upstream-patch-md5 "e602b6c3a332f4a06e2914e02ae2b295">
-<!ENTITY glibc-upstream-patch-size "16 KB">
--->
+<!ENTITY grub-upstream-fixes-patch "grub-&grub-version;-upstream_fixes-1.patch">
+<!ENTITY grub-upstream-fixes-patch-md5 "da388905710bb4cbfbc7bd7346ff9174">
+<!ENTITY grub-upstream-fixes-patch-size "8 KB">
<!ENTITY kbd-backspace-patch "kbd-&kbd-version;-backspace-1.patch">
<!ENTITY kbd-backspace-patch-md5 "f75cca16a38da6caa7d52151f7136895">