diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-07-10 13:21:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-10 13:21:12 +0200 |
commit | 0443f7e722c1a4b64325e20c3a83e6b8d73b5f8d (patch) | |
tree | f429fa52fd33ecded0863e99a4fb4fb1e16fee75 /mkosi.conf.d | |
parent | Merge pull request #33660 from poettering/mount-tool-tweaks (diff) | |
parent | mkosi: Build a sysext if SYSEXT=1 is specified (diff) | |
download | systemd-0443f7e722c1a4b64325e20c3a83e6b8d73b5f8d.tar.xz systemd-0443f7e722c1a4b64325e20c3a83e6b8d73b5f8d.zip |
Merge pull request #33683 from DaanDeMeyer/sysext
mkosi: Build a sysext if SYSEXT=1 is specified
Diffstat (limited to 'mkosi.conf.d')
-rwxr-xr-x | mkosi.conf.d/10-centos-fedora/mkosi.build.chroot | 4 | ||||
-rwxr-xr-x | mkosi.conf.d/10-opensuse/mkosi.build.chroot | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot b/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot index 2b3341ccbd..dcb90c31cc 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 286fd582a6..0c598eae56 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 |