]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
opensuse: Drop workarounds
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Mar 2025 13:55:08 +0000 (14:55 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 7 Mar 2025 14:28:51 +0000 (15:28 +0100)
None of these should be needed anymore.

mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot
mkosi.images/build/mkosi.conf.d/opensuse/mkosi.prepare

index f1cb7ba98fae19913c86f918383d1de9df42ed0e..f3eba28e029ec760373a5e20fc37e6732408ff7e 100755 (executable)
@@ -57,17 +57,6 @@ if ((COVERAGE)); then
     MKOSI_CFLAGS="$MKOSI_CFLAGS -fprofile-dir=/coverage"
 fi
 
-# TODO: Drop when the spec is fixed (either the patch is adapted or not applied when building for upstream).
-sed --in-place '/0009-pid1-handle-console-specificities-weirdness-for-s390.patch/d' "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}/systemd.spec"
-
-# TODO: Drop when the opensuse spec uses README.md instead of README.testsuite.
-sed --in-place 's/README.testsuite/README.md/' "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}/systemd.spec"
-
-# TODO: Drop when https://bugzilla.opensuse.org/show_bug.cgi?id=1236901 is resolved.
-sed '/%buildroot/d' /usr/lib/rpm/macros >macros
-mount --bind "$PWD/macros" /usr/lib/rpm/macros
-rm macros
-
 build() {
     IFS=
     # shellcheck disable=SC2046
index de736a570f165659451c8fb4d5f8f4044cb2dd51..ab2a42d8b424004382f23c115f63308dc9b29201 100755 (executable)
@@ -11,9 +11,6 @@ if [[ ! -f "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}/systemd.spec" ]]; then
     exit 1
 fi
 
-# TODO: Drop when the spec is fixed (either the patch is adapted or not applied when building for upstream).
-sed --in-place '/0009-pid1-handle-console-specificities-weirdness-for-s390.patch/d' "pkg/$PKG_SUBDIR${GIT_SUBDIR:+/$GIT_SUBDIR}/systemd.spec"
-
 mkosi-chroot \
     rpmspec \
     --with upstream \