systemd/systemd: adds libbz2 dependency

Before this change, systemd package depends on other compression
libraries, but does not depend on libbz2. Let's also make it depend
on libbz2.

This also makes bzip2-dev explicitly installed on build, like other
compression libraries like lz4-dev, xz-dev, zlib-dev, and zstd-dev.
Currently, it is indirectly installed as glib-dev depends on it.
So the makedepends= change does not effectively changes anything.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8926>
This commit is contained in:
Yu Watanabe
2026-06-29 13:28:06 +00:00
parent e22fb90295
commit 5ff3f5ed44
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ pkgname=systemd-stage0
pkgver=261
_pkgver="${pkgver/_/-}"
# pkgrel must match systemd!
pkgrel=0
pkgrel=1
pkgdesc="Minimal systemd bootstrap package"
url="https://github.com/systemd/systemd"
# armhf: pmb#2618
+3 -2
View File
@@ -17,7 +17,7 @@ pkgname=systemd
pkgver=261
_pkgver="${pkgver/_/-}"
# pkgrel must match systemd-stage0!
pkgrel=0
pkgrel=1
pkgdesc="System and service manager"
url="https://github.com/systemd/systemd"
# armhf: no linux-stable
@@ -54,6 +54,7 @@ makedepends="
bash
bash-completion
bpftool
bzip2-dev
clang
cmake
coreutils
@@ -66,7 +67,6 @@ makedepends="
kmod-dev
libapparmor-dev
libarchive-dev
libbz2
libbpf-dev
libcap-dev
libfido2-dev
@@ -133,6 +133,7 @@ depends="
libarchive
libblkid
libbpf
libbz2
libcap2
libdw
libelf