diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-07-20 10:43:55 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-23 13:55:25 +0100 |
| commit | 39a488e332b80cf0247efa9bc07bc22ee5ac3fc3 (patch) | |
| tree | f2ce30fcd47f33eb3ad72c179a026b693e1618b5 /meta | |
| parent | 157db777fcf2ab7b6e9d090b42247781e7d7dd53 (diff) | |
| download | poky-39a488e332b80cf0247efa9bc07bc22ee5ac3fc3.tar.gz | |
systemd-boot: update 251.2 -> 251.3
(From OE-Core rev: 470ae1362358a69491a9166167889fa27dd6cc73)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-core/systemd/systemd-boot_251.3.bb (renamed from meta/recipes-core/systemd/systemd-boot_251.2.bb) | 0 | ||||
| -rw-r--r-- | meta/recipes-core/systemd/systemd.inc | 3 | ||||
| -rw-r--r-- | meta/recipes-core/systemd/systemd/0001-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch | 16 | ||||
| -rw-r--r-- | meta/recipes-core/systemd/systemd/0001-shared-utmp-wtmp-fix-build-without-utmp.patch | 32 | ||||
| -rw-r--r-- | meta/recipes-core/systemd/systemd/38c87ca2ab96d085158485ecfc46c7cb6af0f166.patch | 42 | ||||
| -rw-r--r-- | meta/recipes-core/systemd/systemd_251.3.bb (renamed from meta/recipes-core/systemd/systemd_251.2.bb) | 4 |
6 files changed, 10 insertions, 87 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot_251.2.bb b/meta/recipes-core/systemd/systemd-boot_251.3.bb index b67706b731..b67706b731 100644 --- a/meta/recipes-core/systemd/systemd-boot_251.2.bb +++ b/meta/recipes-core/systemd/systemd-boot_251.3.bb | |||
diff --git a/meta/recipes-core/systemd/systemd.inc b/meta/recipes-core/systemd/systemd.inc index b8dbe2263a..03f1559f02 100644 --- a/meta/recipes-core/systemd/systemd.inc +++ b/meta/recipes-core/systemd/systemd.inc | |||
| @@ -14,10 +14,9 @@ LICENSE = "GPL-2.0-only & LGPL-2.1-only" | |||
| 14 | LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ | 14 | LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ |
| 15 | file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" | 15 | file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" |
| 16 | 16 | ||
| 17 | SRCREV = "253052686cbd840ac69030d31c4b186af23aba4c" | 17 | SRCREV = "516108f273888df3dcfa4f42b140252a285a2288" |
| 18 | SRCBRANCH = "v251-stable" | 18 | SRCBRANCH = "v251-stable" |
| 19 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} \ | 19 | SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} \ |
| 20 | file://38c87ca2ab96d085158485ecfc46c7cb6af0f166.patch \ | ||
| 21 | " | 20 | " |
| 22 | 21 | ||
| 23 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
diff --git a/meta/recipes-core/systemd/systemd/0001-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch b/meta/recipes-core/systemd/systemd/0001-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch index 31efc4cc4b..0fb6efb469 100644 --- a/meta/recipes-core/systemd/systemd/0001-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch +++ b/meta/recipes-core/systemd/systemd/0001-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From beb0219b71510bc63aed81d2a970a04349d6c616 Mon Sep 17 00:00:00 2001 | 1 | From 258af8106cbed6fa53f7bee042bf903e58b57a41 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Tue, 29 Sep 2020 18:01:41 -0700 | 3 | Date: Tue, 29 Sep 2020 18:01:41 -0700 |
| 4 | Subject: [PATCH] Move sysusers.d/sysctl.d/binfmt.d/modules-load.d to /usr | 4 | Subject: [PATCH] Move sysusers.d/sysctl.d/binfmt.d/modules-load.d to /usr |
| @@ -10,18 +10,19 @@ the old /usr/lib is still being used. | |||
| 10 | Upstream-Status: Inappropriate (OE-specific) | 10 | Upstream-Status: Inappropriate (OE-specific) |
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 12 | Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> | 12 | Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> |
| 13 | |||
| 13 | --- | 14 | --- |
| 14 | src/core/systemd.pc.in | 8 ++++---- | 15 | src/core/systemd.pc.in | 8 ++++---- |
| 15 | src/libsystemd/sd-path/sd-path.c | 8 ++++---- | 16 | src/libsystemd/sd-path/sd-path.c | 8 ++++---- |
| 16 | 2 files changed, 8 insertions(+), 8 deletions(-) | 17 | 2 files changed, 8 insertions(+), 8 deletions(-) |
| 17 | 18 | ||
| 18 | diff --git a/src/core/systemd.pc.in b/src/core/systemd.pc.in | 19 | diff --git a/src/core/systemd.pc.in b/src/core/systemd.pc.in |
| 19 | index fc0f8c34fa..65996bbed8 100644 | 20 | index 693433b34b..8368a3ff02 100644 |
| 20 | --- a/src/core/systemd.pc.in | 21 | --- a/src/core/systemd.pc.in |
| 21 | +++ b/src/core/systemd.pc.in | 22 | +++ b/src/core/systemd.pc.in |
| 22 | @@ -65,16 +65,16 @@ systemdshutdowndir=${systemd_shutdown_dir} | 23 | @@ -67,16 +67,16 @@ tmpfilesdir=${tmpfiles_dir} |
| 23 | tmpfiles_dir=${prefix}/lib/tmpfiles.d | 24 | |
| 24 | tmpfilesdir=${tmpfiles_dir} | 25 | user_tmpfiles_dir=${prefix}/share/user-tmpfiles.d |
| 25 | 26 | ||
| 26 | -sysusers_dir=${rootprefix}/lib/sysusers.d | 27 | -sysusers_dir=${rootprefix}/lib/sysusers.d |
| 27 | +sysusers_dir=${prefix}/lib/sysusers.d | 28 | +sysusers_dir=${prefix}/lib/sysusers.d |
| @@ -41,7 +42,7 @@ index fc0f8c34fa..65996bbed8 100644 | |||
| 41 | 42 | ||
| 42 | catalog_dir=${prefix}/lib/systemd/catalog | 43 | catalog_dir=${prefix}/lib/systemd/catalog |
| 43 | diff --git a/src/libsystemd/sd-path/sd-path.c b/src/libsystemd/sd-path/sd-path.c | 44 | diff --git a/src/libsystemd/sd-path/sd-path.c b/src/libsystemd/sd-path/sd-path.c |
| 44 | index ff1e0d5f8e..19a001f47e 100644 | 45 | index ac33e349c0..f0615ffb22 100644 |
| 45 | --- a/src/libsystemd/sd-path/sd-path.c | 46 | --- a/src/libsystemd/sd-path/sd-path.c |
| 46 | +++ b/src/libsystemd/sd-path/sd-path.c | 47 | +++ b/src/libsystemd/sd-path/sd-path.c |
| 47 | @@ -362,19 +362,19 @@ static int get_path(uint64_t type, char **buffer, const char **ret) { | 48 | @@ -362,19 +362,19 @@ static int get_path(uint64_t type, char **buffer, const char **ret) { |
| @@ -68,6 +69,3 @@ index ff1e0d5f8e..19a001f47e 100644 | |||
| 68 | return 0; | 69 | return 0; |
| 69 | 70 | ||
| 70 | case SD_PATH_CATALOG: | 71 | case SD_PATH_CATALOG: |
| 71 | -- | ||
| 72 | 2.34.1 | ||
| 73 | |||
diff --git a/meta/recipes-core/systemd/systemd/0001-shared-utmp-wtmp-fix-build-without-utmp.patch b/meta/recipes-core/systemd/systemd/0001-shared-utmp-wtmp-fix-build-without-utmp.patch deleted file mode 100644 index 2bb9565bf2..0000000000 --- a/meta/recipes-core/systemd/systemd/0001-shared-utmp-wtmp-fix-build-without-utmp.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From d6e2c2d34d336398f5948a8b731fefff3dc0ff12 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Christian Hesse <mail@eworm.de> | ||
| 3 | Date: Thu, 2 Jun 2022 20:49:46 +0200 | ||
| 4 | Subject: [PATCH] shared/utmp-wtmp: fix build without utmp | ||
| 5 | |||
| 6 | Commit 16618332388442f2f1c3e52b0a9fde00121564a3 changed a function to | ||
| 7 | add an extra argument. The data types used when building without utmp | ||
| 8 | missed the change. | ||
| 9 | |||
| 10 | Upstream-Status: Backport [d6e2c2d34d336398f5948a8b731fefff3dc0ff12] | ||
| 11 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
| 12 | |||
| 13 | --- | ||
| 14 | src/shared/utmp-wtmp.h | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h | ||
| 18 | index 36e4203b4f..188d011fdd 100644 | ||
| 19 | --- a/src/shared/utmp-wtmp.h | ||
| 20 | +++ b/src/shared/utmp-wtmp.h | ||
| 21 | @@ -59,7 +59,7 @@ static inline int utmp_wall( | ||
| 22 | const char *message, | ||
| 23 | const char *username, | ||
| 24 | const char *origin_tty, | ||
| 25 | - bool (*match_tty)(const char *tty, void *userdata), | ||
| 26 | + bool (*match_tty)(const char *tty, bool is_local, void *userdata), | ||
| 27 | void *userdata) { | ||
| 28 | return 0; | ||
| 29 | } | ||
| 30 | -- | ||
| 31 | 2.36.1 | ||
| 32 | |||
diff --git a/meta/recipes-core/systemd/systemd/38c87ca2ab96d085158485ecfc46c7cb6af0f166.patch b/meta/recipes-core/systemd/systemd/38c87ca2ab96d085158485ecfc46c7cb6af0f166.patch deleted file mode 100644 index 6ab89cd99e..0000000000 --- a/meta/recipes-core/systemd/systemd/38c87ca2ab96d085158485ecfc46c7cb6af0f166.patch +++ /dev/null | |||
| @@ -1,42 +0,0 @@ | |||
| 1 | From 38c87ca2ab96d085158485ecfc46c7cb6af0f166 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl> | ||
| 3 | Date: Fri, 3 Jun 2022 09:32:02 +0200 | ||
| 4 | Subject: [PATCH] sha256: fix compilation on efi-ia32 | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | /usr/bin/gcc -c ../src/fundamental/sha256.c -o src/boot/efi/sha256.c.o -Wno-format-signedness -Wno-missing-field-initializers -Wno-unused-parameter -Wdate-time -Wendif-labels -Werror=format=2 -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wno-unused-result -fno-stack-protector -fno-strict-aliasing -fpic -fwide-exec-charset=UCS2 -Wall -Wextra -Wsign-compare -nostdlib -std=gnu99 -ffreestanding -fshort-wchar -fvisibility=hidden -isystem /usr/include/efi -isystem /usr/include/efi/ia32 -I /builddir/build/BUILD/systemd-stable-250.7/src/fundamental -DSD_BOOT -DGNU_EFI_USE_MS_ABI -include src/boot/efi/efi_config.h -include version.h -mno-sse -mno-mmx -flto -O2 -flto=auto | ||
| 10 | ../src/fundamental/sha256.c: In function ‘sha256_finish_ctx’: | ||
| 11 | ../src/fundamental/sha256.c:61:25: error: ‘false’ undeclared (first use in this function) | ||
| 12 | 61 | # define UNALIGNED_P(p) false | ||
| 13 | | ^~~~~ | ||
| 14 | ../src/fundamental/sha256.c:136:21: note: in expansion of macro ‘UNALIGNED_P’ | ||
| 15 | 136 | if (UNALIGNED_P(resbuf)) | ||
| 16 | | ^~~~~~~~~~~ | ||
| 17 | ../src/fundamental/sha256.c:32:1: note: ‘false’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’? | ||
| 18 | 31 | #include "sha256.h" | ||
| 19 | +++ |+#include <stdbool.h> | ||
| 20 | 32 | | ||
| 21 | ... | ||
| 22 | |||
| 23 | Upstream-Status: Backport | ||
| 24 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 25 | |||
| 26 | --- | ||
| 27 | src/fundamental/sha256.c | 2 +- | ||
| 28 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 29 | |||
| 30 | diff --git a/src/fundamental/sha256.c b/src/fundamental/sha256.c | ||
| 31 | index cd16aec4dd..58b1a80d33 100644 | ||
| 32 | --- a/src/fundamental/sha256.c | ||
| 33 | +++ b/src/fundamental/sha256.c | ||
| 34 | @@ -58,7 +58,7 @@ | ||
| 35 | # define UNALIGNED_P(p) (((size_t) p) % sizeof(uint32_t) != 0) | ||
| 36 | # endif | ||
| 37 | #else | ||
| 38 | -# define UNALIGNED_P(p) false | ||
| 39 | +# define UNALIGNED_P(p) sd_false | ||
| 40 | #endif | ||
| 41 | |||
| 42 | /* This array contains the bytes used to pad the buffer to the next | ||
diff --git a/meta/recipes-core/systemd/systemd_251.2.bb b/meta/recipes-core/systemd/systemd_251.3.bb index 2d0d21a69a..326c7ba967 100644 --- a/meta/recipes-core/systemd/systemd_251.2.bb +++ b/meta/recipes-core/systemd/systemd_251.3.bb | |||
| @@ -14,7 +14,8 @@ inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives qemu | |||
| 14 | # that we don't build both udev and systemd in world builds. | 14 | # that we don't build both udev and systemd in world builds. |
| 15 | REQUIRED_DISTRO_FEATURES = "systemd" | 15 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 16 | 16 | ||
| 17 | SRC_URI += "file://touchscreen.rules \ | 17 | SRC_URI += " \ |
| 18 | file://touchscreen.rules \ | ||
| 18 | file://00-create-volatile.conf \ | 19 | file://00-create-volatile.conf \ |
| 19 | ${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://org.freedesktop.hostname1_no_polkit.conf', '', d)} \ | 20 | ${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://org.freedesktop.hostname1_no_polkit.conf', '', d)} \ |
| 20 | ${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://00-hostnamed-network-user.conf', '', d)} \ | 21 | ${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://00-hostnamed-network-user.conf', '', d)} \ |
| @@ -24,7 +25,6 @@ SRC_URI += "file://touchscreen.rules \ | |||
| 24 | file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ | 25 | file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ |
| 25 | file://0003-implment-systemd-sysv-install-for-OE.patch \ | 26 | file://0003-implment-systemd-sysv-install-for-OE.patch \ |
| 26 | file://0001-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch \ | 27 | file://0001-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch \ |
| 27 | file://0001-shared-utmp-wtmp-fix-build-without-utmp.patch \ | ||
| 28 | " | 28 | " |
| 29 | 29 | ||
| 30 | # patches needed by musl | 30 | # patches needed by musl |
