summaryrefslogtreecommitdiff
path: root/i486-stage3
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-11 12:58:40 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-11 12:58:40 +0100
commitb5e66ba7bf57c8d012ce22e220c30057577ba021 (patch)
tree34b09bc827274a52acb19e08cff218c4aabeab42 /i486-stage3
parentc8daadccefa390907f500ca3a2621312e2a2dcb6 (diff)
downloadbootstrap32-b5e66ba7bf57c8d012ce22e220c30057577ba021.tar.xz
got systemd
Diffstat (limited to 'i486-stage3')
-rw-r--r--i486-stage3/systemd/DESCR25
1 files changed, 25 insertions, 0 deletions
diff --git a/i486-stage3/systemd/DESCR b/i486-stage3/systemd/DESCR
new file mode 100644
index 0000000..17150cf
--- /dev/null
+++ b/i486-stage3/systemd/DESCR
@@ -0,0 +1,25 @@
+# no documentation
+sed -i '/makedepends=/,/)/ s/docbook-xsl//' PKGBUILD
+sed -i '/makedepends=/,/)/ s/libxslt//' PKGBUILD
+sed -i '/makedepends=/,/)/ s/python-lxml//' PKGBUILD
+sed -i 's/\(rm.*man8\)/#\1/' PKGBUILD
+
+# we don't need systemd-sysvcompat
+sed -i "/pkgname=/,/)/ s/'systemd-sysvcompat'//" PKGBUILD
+
+# break cyclic dependency with cryptsetup and dbus
+sed -i '/makedepends=/,/)/ s/cryptsetup//' PKGBUILD
+sed -i "/depends=/,/)/ s/'cryptsetup'//" PKGBUILD
+sed -i "/depends=/,/)/ s/'dbus'//" PKGBUILD
+
+# we build without verifying PGP keys, so disable git tag valication
+sed -i 's/\(_validate_tag || return\)/#\1/' PKGBUILD
+
+# disable EFI support, we build for old machines with a PC BIOS
+sed -i '/makedepends=/,/)/ s/gnu-efi-libs//' PKGBUILD
+sed -i 's/-Dgnuefi=true/-Dgnuefi=false/g' PKGBUILD
+
+# disable LTO support for now
+sed -i '/-Dsysvrcnd-path=/ a \ -Db_lto=false' PKGBUILD
+
+ADDITIONAL_INSTALL_PACKAGE=libsystemd