Add temporarly 6000-meson-install-test-kernel-install-only-when-Dkernel-.patch until this patch is mainstreamed.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1325
This commit is contained in:
Franck Bui 2022-11-15 08:31:18 +00:00 committed by Git OBS Bridge
parent ade4d21a72
commit 518d9b73f4
3 changed files with 40 additions and 7 deletions

View File

@ -0,0 +1,29 @@
From c34a72017fe66998f7bd40b5e90d27accd69376c Mon Sep 17 00:00:00 2001
From: Franck Bui <fbui@suse.com>
Date: Tue, 15 Nov 2022 09:04:42 +0100
Subject: [PATCH 6000/6000] meson: install test-kernel-install only when
-Dkernel-install=true
This patch fixes the following build failure:
meson.build:3853:8: ERROR: Unknown variable "test_kernel_install_sh".
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 00daeac1b6..0fd0129820 100644
--- a/meson.build
+++ b/meson.build
@@ -3968,7 +3968,7 @@ exe = custom_target(
install_dir : bindir)
public_programs += exe
-if want_tests != 'false'
+if want_tests != 'false' and want_kernel_install
test('test-kernel-install',
test_kernel_install_sh,
args : [exe.full_path(), loaderentry_install])
--
2.35.3

View File

@ -11,6 +11,10 @@ Mon Nov 14 11:15:06 UTC 2022 - Franck Bui <fbui@suse.com>
* The new tools systemd-measure and systemd-pcrphase have been added to the * The new tools systemd-measure and systemd-pcrphase have been added to the
experimental sub-package for now. experimental sub-package for now.
* Add temporarly
6000-meson-install-test-kernel-install-only-when-Dkernel-.patch until this
patch is mainstreamed.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 8 16:33:26 UTC 2022 - Franck Bui <fbui@suse.com> Tue Nov 8 16:33:26 UTC 2022 - Franck Bui <fbui@suse.com>

View File

@ -106,7 +106,7 @@ BuildRequires: gperf
BuildRequires: libacl-devel BuildRequires: libacl-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libmount-devel >= 2.27.1 BuildRequires: libmount-devel >= 2.27.1
BuildRequires: meson >= 0.43 BuildRequires: meson >= 0.53.2
BuildRequires: pam-devel BuildRequires: pam-devel
BuildRequires: python3-jinja2 BuildRequires: python3-jinja2
# regenerate_initrd_post macro is expanded during build, hence this BR. Also # regenerate_initrd_post macro is expanded during build, hence this BR. Also
@ -211,12 +211,12 @@ Patch12: 0009-pid1-handle-console-specificities-weirdness-for-s390.patch
# Temporary workaround until bsc#1197178 is addressed. # Temporary workaround until bsc#1197178 is addressed.
Patch1000: 1000-Revert-getty-Pass-tty-to-use-by-agetty-via-stdin.patch Patch1000: 1000-Revert-getty-Pass-tty-to-use-by-agetty-via-stdin.patch
# Patches listed below are put in quarantine. Normally all changes # Patches listed below are put in quarantine. Normally all changes must go to
# must go to upstream first and then are cherry-picked in the SUSE git # upstream first and then are cherry-picked in the SUSE git repository. But for
# repository. But in very few cases, some stuff might be broken in # very few cases, some stuff might be broken in upstream and need to be fixed
# upstream and need an urgent fix. Even in this case, the patches are # quickly. But even in these cases, the patches are temporary and should be
# temporary and should be removed as soon as a fix is merged by # removed as soon as a fix is merged by upstream.
# upstream. Patch6000: 6000-meson-install-test-kernel-install-only-when-Dkernel-.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB