summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/systemd/systemd-boot-native_256.4.bb (renamed from meta/recipes-core/systemd/systemd-boot-native_256.bb)0
-rw-r--r--meta/recipes-core/systemd/systemd-boot_256.4.bb (renamed from meta/recipes-core/systemd/systemd-boot_256.bb)2
-rw-r--r--meta/recipes-core/systemd/systemd.inc6
-rw-r--r--meta/recipes-core/systemd/systemd/0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch32
-rw-r--r--meta/recipes-core/systemd/systemd/0003-meson-bpf-propagate-sysroot-for-cross-compilation.patch31
-rw-r--r--meta/recipes-core/systemd/systemd_256.4.bb (renamed from meta/recipes-core/systemd/systemd_256.bb)2
6 files changed, 3 insertions, 70 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot-native_256.bb b/meta/recipes-core/systemd/systemd-boot-native_256.4.bb
index 73db59b14e..73db59b14e 100644
--- a/meta/recipes-core/systemd/systemd-boot-native_256.bb
+++ b/meta/recipes-core/systemd/systemd-boot-native_256.4.bb
diff --git a/meta/recipes-core/systemd/systemd-boot_256.bb b/meta/recipes-core/systemd/systemd-boot_256.4.bb
index dd06b6218b..9a6d8e9d6e 100644
--- a/meta/recipes-core/systemd/systemd-boot_256.bb
+++ b/meta/recipes-core/systemd/systemd-boot_256.4.bb
@@ -1,8 +1,6 @@
1require systemd.inc 1require systemd.inc
2FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:" 2FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:"
3 3
4SRC_URI += "file://0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch"
5
6require conf/image-uefi.conf 4require conf/image-uefi.conf
7 5
8DEPENDS = "intltool-native libcap util-linux gperf-native python3-jinja2-native python3-pyelftools-native" 6DEPENDS = "intltool-native libcap util-linux gperf-native python3-jinja2-native python3-pyelftools-native"
diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc
index 6906ff969b..63f024baa9 100644
--- a/meta/recipes-core/systemd/systemd.inc
+++ b/meta/recipes-core/systemd/systemd.inc
@@ -15,8 +15,8 @@ LICENSE:libsystemd = "LGPL-2.1-or-later"
15LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ 15LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
16 file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" 16 file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
17 17
18SRCREV = "5c79cdec10a547a866764a66e1e14898112a00cd" 18SRCREV = "566210c272820ca6655800ce0d27b6ebc0aedc4c"
19SRCBRANCH = "main" 19SRCBRANCH = "v256-stable"
20SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH}" 20SRC_URI = "git://github.com/systemd/systemd.git;protocol=https;branch=${SRCBRANCH}"
21 21
22S = "${WORKDIR}/git" 22S = "${WORKDIR}/git"
diff --git a/meta/recipes-core/systemd/systemd/0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch b/meta/recipes-core/systemd/systemd/0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch
deleted file mode 100644
index 6f02ea2f43..0000000000
--- a/meta/recipes-core/systemd/systemd/0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch
+++ /dev/null
@@ -1,32 +0,0 @@
1From 9df06062cebd0390d33de9694e9cb1c9fa7b8697 Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 3 Jul 2024 23:18:41 -0700
4Subject: [PATCH] src/boot/efi/meson.build: ensure VERSION_TAG exists in case
5 of cross build
6
7The GIT_VERSION is changed to use VERSION_TAG, but in case of cross build
8for src/boot/efi, it's not set, causing build error because the compiler cannot
9know it's a macro thus treating it as some variable and error out.
10
11Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/33612]
12
13Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
14---
15 src/boot/efi/meson.build | 1 +
16 1 file changed, 1 insertion(+)
17
18diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build
19index 7a60b0ec7e..99d108d6e8 100644
20--- a/src/boot/efi/meson.build
21+++ b/src/boot/efi/meson.build
22@@ -65,6 +65,7 @@ endforeach
23
24 if meson.is_cross_build() and get_option('sbat-distro') == 'auto'
25 warning('Auto detection of SBAT information not supported when cross-building, disabling SBAT.')
26+ efi_conf.set_quoted('VERSION_TAG', version_tag)
27 elif get_option('sbat-distro') != ''
28 efi_conf.set_quoted('SBAT_PROJECT', meson.project_name())
29 efi_conf.set_quoted('PROJECT_VERSION', meson.project_version().split('~')[0])
30--
312.45.1
32
diff --git a/meta/recipes-core/systemd/systemd/0003-meson-bpf-propagate-sysroot-for-cross-compilation.patch b/meta/recipes-core/systemd/systemd/0003-meson-bpf-propagate-sysroot-for-cross-compilation.patch
deleted file mode 100644
index 08b70bf66d..0000000000
--- a/meta/recipes-core/systemd/systemd/0003-meson-bpf-propagate-sysroot-for-cross-compilation.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From bbceb4b339231124a0b004531b4b6838539432e6 Mon Sep 17 00:00:00 2001
2From: Johannes Schneider <johannes.schneider@leica-geosystems.com>
3Date: Thu, 20 Jun 2024 12:32:18 +0200
4Subject: [PATCH 03/27] meson: bpf: propagate 'sysroot' for cross compilation
5
6During cross-compilation of systemd, the compiler used to build the bpf's needs
7to be pointed at the correct include searchpath. Which can be done by passing
8the corresponding directory in through the cflags; for example in yocto/bitbake
9this would work: CFLAGS += "--sysroot=${STAGING_DIR_TARGET}"
10
11Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/33427]
12Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
13---
14 meson.build | 1 +
15 1 file changed, 1 insertion(+)
16
17diff --git a/meson.build b/meson.build
18index ea4e12aa1c..52723bef09 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -1739,6 +1739,7 @@ if conf.get('BPF_FRAMEWORK') == 1
22 '-ffile-prefix-map=',
23 '-fdebug-prefix-map=',
24 '-fmacro-prefix-map=',
25+ '--sysroot=',
26 ]
27
28 foreach opt : c_args
29--
302.45.1
31
diff --git a/meta/recipes-core/systemd/systemd_256.bb b/meta/recipes-core/systemd/systemd_256.4.bb
index 6e3985b94f..ee656c81e5 100644
--- a/meta/recipes-core/systemd/systemd_256.bb
+++ b/meta/recipes-core/systemd/systemd_256.4.bb
@@ -28,8 +28,6 @@ SRC_URI += " \
28 file://systemd-pager.sh \ 28 file://systemd-pager.sh \
29 file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ 29 file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
30 file://0002-implment-systemd-sysv-install-for-OE.patch \ 30 file://0002-implment-systemd-sysv-install-for-OE.patch \
31 file://0003-meson-bpf-propagate-sysroot-for-cross-compilation.patch \
32 file://0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch \
33 " 31 "
34 32
35# patches needed by musl 33# patches needed by musl