mkosi: fix debian/ubuntu/suse builds

Follow-up for 072e72424b
This commit is contained in:
Luca Boccassi
2026-01-24 16:12:09 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions
@@ -18,8 +18,10 @@ TS="${SOURCE_DATE_EPOCH:-$(date +%s)}"
# The openSUSE filelists hardcode the manpage compression extension. This causes rpmbuild errors since we
# disable manpage compression as the files cannot be found. Fix the issue by removing the compression
# extension.
# TODO: remove autovt@ removal when the upstream spec is updated
while read -r filelist; do
sed -E \
-e '/autovt@/d' \
-e 's/\.gz$//' \
"$filelist" >"/tmp/$(basename "$filelist")"
mount --bind "/tmp/$(basename "$filelist")" "$filelist"
@@ -9,5 +9,5 @@ Environment=
GIT_URL=https://salsa.debian.org/systemd-team/systemd.git
GIT_SUBDIR=debian
GIT_BRANCH=debian/master
GIT_COMMIT=93a222266c23ff73720f4de009a027d3556baee4
GIT_COMMIT=6f4d90be5cb4075954f0a36653105e586a9a1fa9
PKG_SUBDIR=debian