aboutsummaryrefslogtreecommitdiffstats
path: root/chapter08
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2021-11-14 12:22:12 -0600
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2021-11-14 12:22:12 -0600
commit0d78c2c1798784b696bf75d47f5d301ecbe260e7 (patch)
treeba74f5a033ccf07edb2886dcc57185891eff998b /chapter08
parentd48d1c2d91edaec4d25d0e4324673d5a1d41aa71 (diff)
Package updates.
Update to iana-etc-20211112. Update to elfutils-0.186. Update to jinja2-3.0.3. Update to bc-5.2.0. Update to ncurses-6.3. Update to libpipeline-1.5.4. Update to meson-0.60.1. Update to iproute2-5.15.0. Update to linux-5.15.2. One change was needed to systemd-249 due to changes in the linux keernel version 5.14 and later. A change to ncurses was needed to ensure the .pc files are placed in the right location (/usr/lib/pkgconfig).
Diffstat (limited to 'chapter08')
-rw-r--r--chapter08/ncurses.xml3
-rw-r--r--chapter08/systemd.xml4
2 files changed, 6 insertions, 1 deletions
diff --git a/chapter08/ncurses.xml b/chapter08/ncurses.xml
index ed0461f16..7b0da21fe 100644
--- a/chapter08/ncurses.xml
+++ b/chapter08/ncurses.xml
@@ -49,7 +49,8 @@
--without-debug \
--without-normal \
--enable-pc-files \
- --enable-widec</userinput></screen>
+ --enable-widec \
+ --with-pkg-config-libdir=/usr/lib/pkgconfig</userinput></screen>
<variablelist>
<title>The meaning of the new configure options:</title>
diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml
index 70e747650..a8c74d177 100644
--- a/chapter08/systemd.xml
+++ b/chapter08/systemd.xml
@@ -63,6 +63,10 @@
<screen><userinput remap="pre">sed -i 's/+ want_libfuzzer.*$/and want_libfuzzer/' meson.build</userinput></screen>
+ <para>Fix a problem when using a kernel version 5.14 and later:</para>
+
+ <screen><userinput remap="pre">sed -i '/ARPHRD_CAN/a#define ARPHRD_MCTP 290' src/basic/linux/if_arp.h</userinput></screen>
+
<para>Prepare systemd for compilation:</para>
<screen><userinput remap="configure">mkdir -p build