From a16c1866674b8bf8eb424d1333b0ea2e34f2721c Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Tue, 4 Jun 2024 11:00:53 +0200 Subject: [PATCH] mkosi: Use meson_extra_configure_options for opensuse This is now available so let's use it. --- .../system/mkosi.conf.d/10-opensuse/mkosi.build.chroot | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.build.chroot b/mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.build.chroot index 03bef75400..28c43fd4f5 100755 --- a/mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.build.chroot +++ b/mkosi.images/system/mkosi.conf.d/10-opensuse/mkosi.build.chroot @@ -71,8 +71,6 @@ build() { IFS= # TODO: Replace meson_build and meson_install overrides with "--undefine __meson_verbose" once # https://github.com/mesonbuild/meson/pull/12835 is available. - # TODO: Replace __meson_auto_features override with meson_extra_configure_options once the suse spec - # starts to use it. # shellcheck disable=SC2046 env \ --unset CFLAGS \ @@ -103,7 +101,7 @@ build() { --define "build_ldflags $MKOSI_LDFLAGS $LDFLAGS" \ --define "meson_build %{shrink:%{__meson} compile -C %{_vpath_builddir} -j %{_smp_build_ncpus} $( ((MESON_VERBOSE)) && echo --verbose) %{nil}}" \ --define "meson_install %{shrink:DESTDIR=%{buildroot} %{__meson} install -C %{_vpath_builddir} --no-rebuild --quiet %{nil}}" \ - --define "__meson_auto_features auto $MKOSI_MESON_OPTIONS $MESON_OPTIONS" \ + --define "meson_extra_configure_options $MKOSI_MESON_OPTIONS $MESON_OPTIONS" \ --define "__os_install_post /usr/lib/rpm/brp-suse %{nil}" \ --define "__elf_exclude_path ^/usr/lib/systemd/tests/unit-tests/.*$" \ --define "__script_requires %{nil}" \ -- 2.25.1