]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Drop s390x console patch from opensuse spec
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 27 Jun 2024 07:49:40 +0000 (09:49 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 27 Jun 2024 07:49:40 +0000 (09:49 +0200)
This patch does not apply anymore on upstream, so let's remove it
from the spec before building until the spec is fixed.

mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.build.chroot
mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.prepare

index 3d6cc58b64def5243fc499d2f098427a99d4aed1..dbf3f2fa83e2d9a8964479522baa0cb87ae645d5 100755 (executable)
@@ -67,6 +67,9 @@ if ((WIPE)); then
     MKOSI_MESON_OPTIONS="$MKOSI_MESON_OPTIONS --wipe"
 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/$ID/systemd.spec"
+
 build() {
     IFS=
     # shellcheck disable=SC2046
index 282a360bca3f7b1ee270e4b456306534f9abc567..c57aa878b8bb33482b5977fd941e397f51d16ed0 100755 (executable)
@@ -15,6 +15,9 @@ if [ ! -f "pkg/$ID/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/$ID/systemd.spec"
+
 for DEPS in --requires --buildrequires; do
     mkosi-chroot \
         rpmspec \