diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2024-07-11 00:56:34 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-13 23:28:30 +0100 |
commit | 052ddf26b119560da6ef373add30805ed144d9ef (patch) | |
tree | cae26e393d24de729a042e28f83cc47bf75b1897 /meta | |
parent | 74cd617cbb093a2948413213942bd664fb83d83f (diff) | |
download | poky-052ddf26b119560da6ef373add30805ed144d9ef.tar.gz |
systemd-boot: upgrade from 255.6 to 256
Patch 0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch
is added to resolve build time error.
(From OE-Core rev: c3f53f641d04109bf88e51e44debb6c74582b5d0)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/systemd/systemd-boot-native_256.bb (renamed from meta/recipes-core/systemd/systemd-boot-native_255.6.bb) | 0 | ||||
-rw-r--r-- | meta/recipes-core/systemd/systemd-boot_256.bb (renamed from meta/recipes-core/systemd/systemd-boot_255.6.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch | 32 |
3 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot-native_255.6.bb b/meta/recipes-core/systemd/systemd-boot-native_256.bb index 73db59b14e..73db59b14e 100644 --- a/meta/recipes-core/systemd/systemd-boot-native_255.6.bb +++ b/meta/recipes-core/systemd/systemd-boot-native_256.bb | |||
diff --git a/meta/recipes-core/systemd/systemd-boot_255.6.bb b/meta/recipes-core/systemd/systemd-boot_256.bb index 9a6d8e9d6e..dd06b6218b 100644 --- a/meta/recipes-core/systemd/systemd-boot_255.6.bb +++ b/meta/recipes-core/systemd/systemd-boot_256.bb | |||
@@ -1,6 +1,8 @@ | |||
1 | require systemd.inc | 1 | require systemd.inc |
2 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:" | 2 | FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:" |
3 | 3 | ||
4 | SRC_URI += "file://0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch" | ||
5 | |||
4 | require conf/image-uefi.conf | 6 | require conf/image-uefi.conf |
5 | 7 | ||
6 | DEPENDS = "intltool-native libcap util-linux gperf-native python3-jinja2-native python3-pyelftools-native" | 8 | DEPENDS = "intltool-native libcap util-linux gperf-native python3-jinja2-native python3-pyelftools-native" |
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 new file mode 100644 index 0000000000..6f02ea2f43 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 9df06062cebd0390d33de9694e9cb1c9fa7b8697 Mon Sep 17 00:00:00 2001 | ||
2 | From: Chen Qi <Qi.Chen@windriver.com> | ||
3 | Date: Wed, 3 Jul 2024 23:18:41 -0700 | ||
4 | Subject: [PATCH] src/boot/efi/meson.build: ensure VERSION_TAG exists in case | ||
5 | of cross build | ||
6 | |||
7 | The GIT_VERSION is changed to use VERSION_TAG, but in case of cross build | ||
8 | for src/boot/efi, it's not set, causing build error because the compiler cannot | ||
9 | know it's a macro thus treating it as some variable and error out. | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/33612] | ||
12 | |||
13 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | ||
14 | --- | ||
15 | src/boot/efi/meson.build | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build | ||
19 | index 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 | -- | ||
31 | 2.45.1 | ||
32 | |||