summaryrefslogtreecommitdiff
path: root/i486-stage3/systemd/DESCR
blob: 17150cf69be863a706effe974960510949b914c2 (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
# 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