From 865f67701ce8a7d2fd8e7c57480f577dd6044a8f Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sat, 20 Apr 2024 09:43:14 +0200 Subject: [PATCH] mkosi: Disable rpm package notes This introduces dependencies on various environment variables set by rpmbuild which will not be set when rerunning meson inside the VM/container so let's disable package notes to avoid these dependencies, as the package notes aren't terribly useful in this scenario anyway. --- .../system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot | 1 + 1 file changed, 1 insertion(+) diff --git a/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot b/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot index 6ef39bc4ef1..8c4c2469aee 100755 --- a/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot +++ b/mkosi.images/system/mkosi.conf.d/10-centos-fedora/mkosi.build.chroot @@ -74,6 +74,7 @@ ANNOBIN="no-active-checks" rpmbuild \ --define "_find_debuginfo_dwz_opts %{nil}" \ --define "_fortify_level 0" \ --undefine _lto_cflags \ + --undefine _package_note_flags \ --noclean \ "pkg/$ID/systemd.spec" -- 2.47.3