aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-05-28 19:42:21 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-05-28 19:42:21 -0500
commit4b7cae034764b66323dd2e103696bc6fc54b1e03 (patch)
treee9eba5010883c84857a75103d1f095c39f26ad17
parentb566078843c66db25d975a146a0b7ae2d5b7de1e (diff)
Adjust sysconfdir for e2fsprogs, adjust systemd manpages archive/commands.
-rw-r--r--chapter8/e2fsprogs.sh1
-rw-r--r--chapter8/systemd.sh10
-rw-r--r--packages-systemd.csv2
3 files changed, 4 insertions, 9 deletions
diff --git a/chapter8/e2fsprogs.sh b/chapter8/e2fsprogs.sh
index b994c4e..ddf6275 100644
--- a/chapter8/e2fsprogs.sh
+++ b/chapter8/e2fsprogs.sh
@@ -7,6 +7,7 @@ cd build || exit 1
../configure --prefix=/usr \
--bindir=/bin \
--with-root-prefix="" \
+ --sysconfdir=/etc \
--enable-elf-shlibs \
--disable-libblkid \
--disable-libuuid \
diff --git a/chapter8/systemd.sh b/chapter8/systemd.sh
index a9c8172..23a8c3c 100644
--- a/chapter8/systemd.sh
+++ b/chapter8/systemd.sh
@@ -1,15 +1,12 @@
#!/bin/bash
set -e
-sed '177,222 d' -i src/resolve/meson.build &&
+patch -Np1 -i ../systemd-"${VERSION}"-upstream_fixes-1.patch &&
sed -i 's/GROUP="render"/GROUP="video"/' rules.d/50-udev-default.rules.in &&
mkdir -v build
cd build || exit 1
-ln -sfv /bin/true /usr/bin/xsltproc
-ln -sfv /bin/true /usr/bin/rsync
-
LANG=en_US.UTF-8 \
meson --prefix=/usr \
--sysconfdir=/etc \
@@ -37,13 +34,10 @@ meson --prefix=/usr \
-Ddocdir=/usr/share/doc/systemd-"${VERSION}" \
.. &&
-rm -v /usr/bin/rsync
-rm -v /usr/bin/xsltproc
-
LANG=en_US.UTF-8 ninja &&
LANG=en_US.UTF-8 ninja install &&
-tar -xvf ../../systemd-man-pages-"247"-2.tar.xz \
+tar -xvf ../../systemd-man-pages-"${VERSION}".tar.xz \
--strip-components=1 -C /usr/share/man &&
rm -rfv /usr/lib/pam.d &&
systemd-machine-id-setup &&
diff --git a/packages-systemd.csv b/packages-systemd.csv
index 67b91d8..b127787 100644
--- a/packages-systemd.csv
+++ b/packages-systemd.csv
@@ -1,3 +1,3 @@
d-bus,1.12.20,https://dbus.freedesktop.org/releases/dbus/dbus-@.tar.gz,dfe8a71f412e0b53be26ed4fbfdc91c4
systemd,248,https://github.com/systemd/systemd/archive/v@/systemd-@.tar.gz,00131adf0e98c1fd8a7fde4eb47f10c8
-systemd-man-pages,247,http://anduin.linuxfromscratch.org/LFS/systemd-man-pages-@-2.tar.xz,7d8a53105b7a205f2863e360d9a23f95
+systemd-man-pages,248,http://anduin.linuxfromscratch.org/LFS/systemd-man-pages-@.tar.xz,82cc641742df67128df8b6a55fbcbabc