summaryrefslogtreecommitdiff
path: root/i486-stage4/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage4/systemd')
-rw-r--r--i486-stage4/systemd/DESCR29
1 files changed, 29 insertions, 0 deletions
diff --git a/i486-stage4/systemd/DESCR b/i486-stage4/systemd/DESCR
new file mode 100644
index 0000000..d78a0a3
--- /dev/null
+++ b/i486-stage4/systemd/DESCR
@@ -0,0 +1,29 @@
+# TODO: how can we import source keys: pacman-key --recv-keys 63CDA1E5D3FC22B998D20DD6327F26951A015CC4
+# automatically, sort of counteracts the idea of security..
+sed -i 's/\(_validate_tag || return\)/#\1/' PKGBUILD
+
+# 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