From 612a98a0652387d857198cb92dea03ddf1bbbe43 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 10 Jul 2024 10:07:05 +0200 Subject: mkosi: Build a sysext if SYSEXT=1 is specified --- mkosi.conf.d/10-centos-fedora/mkosi.build.chroot | 4 ++++ mkosi.conf.d/10-opensuse/mkosi.build.chroot | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'mkosi.conf.d') diff --git a/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot b/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot index 21f106292b..37a4377f2f 100755 --- a/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot +++ b/mkosi.conf.d/10-centos-fedora/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 @@ -120,3 +122,5 @@ CXX_LD="$( ((LLVM)) && echo lld)" \ cp "$OUTPUTDIR"/*.rpm "$PACKAGEDIR" cp "$OUTPUTDIR"/*.rpm "$BUILDDIR" + +make_sysext_unsigned /var/tmp/BUILD/*/BUILDROOT 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 -- cgit v1.2.3