summaryrefslogtreecommitdiff
path: root/i486-stage4/systemd/DESCR
blob: d78a0a3c8b93e3bb5f7260e92e0e6662fc8343ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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