mkosi/opensuse: do not build/install systemd-sysvcompat package
The package is now empty. It is not necessary to build it. This also drops unnecessary modifications for files.*.
This commit is contained in:
@@ -25,7 +25,6 @@ VolatilePackages=
|
||||
systemd-networkd
|
||||
systemd-portable
|
||||
systemd-resolved
|
||||
systemd-sysvcompat
|
||||
systemd-testsuite
|
||||
systemd-ukify
|
||||
udev
|
||||
|
||||
@@ -23,11 +23,7 @@ TS="${SOURCE_DATE_EPOCH:-$(date +%s)}"
|
||||
# when the upstream spec is updated
|
||||
while read -r filelist; do
|
||||
sed -E \
|
||||
-e 's/\.gz$//; /systemd-cgroups-agent/d; s/import-pubring.gpg/import-pubring.pgp/' \
|
||||
-e '/(initctl|runlevel|telinit)/ d' \
|
||||
-e 's/systemd-quotacheck.service.8/systemd-quotacheck@.service.8/' \
|
||||
-e '/systemd-sysv-generator/d' \
|
||||
-e '/rc-local/d' \
|
||||
-e 's/\.gz$//' \
|
||||
"$filelist" >"/tmp/$(basename "$filelist")"
|
||||
mount --bind "/tmp/$(basename "$filelist")" "$filelist"
|
||||
done < <(find "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}" -name "files.*")
|
||||
@@ -97,6 +93,7 @@ build() {
|
||||
--noprep \
|
||||
--build-in-place \
|
||||
--with upstream \
|
||||
--without sysvcompat \
|
||||
$( ((WITH_TESTS)) || echo "--nocheck") \
|
||||
--define "_topdir /var/tmp" \
|
||||
--define "_sourcedir $PWD/pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}" \
|
||||
|
||||
Reference in New Issue
Block a user