summaryrefslogtreecommitdiffstats
path: root/mkosi.images
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-12-12 12:58:42 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2024-12-12 13:44:04 +0100
commit3aa725732161f11788a51405f9c5204190e7a0e9 (patch)
tree4a9028cb0e9bdbe4878269614e4a5d2174166b73 /mkosi.images
parentgpt-auto: take timeout opts in rootflags= into account; hibernate-resume: alw... (diff)
downloadsystemd-3aa725732161f11788a51405f9c5204190e7a0e9.tar.xz
systemd-3aa725732161f11788a51405f9c5204190e7a0e9.zip
mkosi: Fix opensuse build
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.
Diffstat (limited to 'mkosi.images')
-rwxr-xr-xmkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot b/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot
index 7349038638..c9089b78c4 100755
--- a/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot
+++ b/mkosi.images/build/mkosi.conf.d/opensuse/mkosi.build.chroot
@@ -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