]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: Fix opensuse build
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 12 Dec 2024 11:58:42 +0000 (11:58 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 12 Dec 2024 12:44:04 +0000 (12:44 +0000)
The opensuse spec still looks for README.testsuite so hack it to look
for README.md instead now that we changed the name in the repo.

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

index 734903863892a9d50ec0e7aadcc3f1a1e699185e..c9089b78c43aac844c2eafe29ae47ff94a2f2a66 100755 (executable)
@@ -60,6 +60,9 @@ 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/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/systemd.spec"
+
 build() {
     IFS=
     # shellcheck disable=SC2046