summaryrefslogtreecommitdiffstats
path: root/mkosi.conf.d/10-opensuse
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-10 10:07:05 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-10 10:55:33 +0200
commit612a98a0652387d857198cb92dea03ddf1bbbe43 (patch)
tree9636a10ebfad15c72560e5733797863ce185e2a6 /mkosi.conf.d/10-opensuse
parentmkosi: Install erofs-utils (diff)
downloadsystemd-612a98a0652387d857198cb92dea03ddf1bbbe43.tar.xz
systemd-612a98a0652387d857198cb92dea03ddf1bbbe43.zip
mkosi: Build a sysext if SYSEXT=1 is specified
Diffstat (limited to 'mkosi.conf.d/10-opensuse')
-rwxr-xr-xmkosi.conf.d/10-opensuse/mkosi.build.chroot4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkosi.conf.d/10-opensuse/mkosi.build.chroot b/mkosi.conf.d/10-opensuse/mkosi.build.chroot
index 67481d0b10..e9f1e8a123 100755
--- a/mkosi.conf.d/10-opensuse/mkosi.build.chroot
+++ b/mkosi.conf.d/10-opensuse/mkosi.build.chroot
@@ -2,6 +2,8 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
+. mkosi.functions
+
if ((NO_BUILD)); then
exit 0
fi
@@ -139,3 +141,5 @@ fi
cp "$OUTPUTDIR"/*.rpm "$PACKAGEDIR"
cp "$OUTPUTDIR"/*.rpm "$BUILDDIR"
+
+make_sysext_unsigned /var/tmp/BUILD/*/BUILDROOT