mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
157db777fc
commit
39a488e332
@@ -14,10 +14,9 @@ LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
|
||||
file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
SRCREV = "253052686cbd840ac69030d31c4b186af23aba4c"
|
||||
SRCREV = "516108f273888df3dcfa4f42b140252a285a2288"
|
||||
SRCBRANCH = "v251-stable"
|
||||
SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} \
|
||||
file://38c87ca2ab96d085158485ecfc46c7cb6af0f166.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
From beb0219b71510bc63aed81d2a970a04349d6c616 Mon Sep 17 00:00:00 2001
|
||||
From 258af8106cbed6fa53f7bee042bf903e58b57a41 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Tue, 29 Sep 2020 18:01:41 -0700
|
||||
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.
|
||||
Upstream-Status: Inappropriate (OE-specific)
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com>
|
||||
|
||||
---
|
||||
src/core/systemd.pc.in | 8 ++++----
|
||||
src/libsystemd/sd-path/sd-path.c | 8 ++++----
|
||||
2 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/src/core/systemd.pc.in b/src/core/systemd.pc.in
|
||||
index fc0f8c34fa..65996bbed8 100644
|
||||
index 693433b34b..8368a3ff02 100644
|
||||
--- a/src/core/systemd.pc.in
|
||||
+++ b/src/core/systemd.pc.in
|
||||
@@ -65,16 +65,16 @@ systemdshutdowndir=${systemd_shutdown_dir}
|
||||
tmpfiles_dir=${prefix}/lib/tmpfiles.d
|
||||
tmpfilesdir=${tmpfiles_dir}
|
||||
@@ -67,16 +67,16 @@ tmpfilesdir=${tmpfiles_dir}
|
||||
|
||||
user_tmpfiles_dir=${prefix}/share/user-tmpfiles.d
|
||||
|
||||
-sysusers_dir=${rootprefix}/lib/sysusers.d
|
||||
+sysusers_dir=${prefix}/lib/sysusers.d
|
||||
@@ -41,7 +42,7 @@ index fc0f8c34fa..65996bbed8 100644
|
||||
|
||||
catalog_dir=${prefix}/lib/systemd/catalog
|
||||
diff --git a/src/libsystemd/sd-path/sd-path.c b/src/libsystemd/sd-path/sd-path.c
|
||||
index ff1e0d5f8e..19a001f47e 100644
|
||||
index ac33e349c0..f0615ffb22 100644
|
||||
--- a/src/libsystemd/sd-path/sd-path.c
|
||||
+++ b/src/libsystemd/sd-path/sd-path.c
|
||||
@@ -362,19 +362,19 @@ static int get_path(uint64_t type, char **buffer, const char **ret) {
|
||||
@@ -68,6 +69,3 @@ index ff1e0d5f8e..19a001f47e 100644
|
||||
return 0;
|
||||
|
||||
case SD_PATH_CATALOG:
|
||||
--
|
||||
2.34.1
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
From d6e2c2d34d336398f5948a8b731fefff3dc0ff12 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Hesse <mail@eworm.de>
|
||||
Date: Thu, 2 Jun 2022 20:49:46 +0200
|
||||
Subject: [PATCH] shared/utmp-wtmp: fix build without utmp
|
||||
|
||||
Commit 16618332388442f2f1c3e52b0a9fde00121564a3 changed a function to
|
||||
add an extra argument. The data types used when building without utmp
|
||||
missed the change.
|
||||
|
||||
Upstream-Status: Backport [d6e2c2d34d336398f5948a8b731fefff3dc0ff12]
|
||||
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
||||
|
||||
---
|
||||
src/shared/utmp-wtmp.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h
|
||||
index 36e4203b4f..188d011fdd 100644
|
||||
--- a/src/shared/utmp-wtmp.h
|
||||
+++ b/src/shared/utmp-wtmp.h
|
||||
@@ -59,7 +59,7 @@ static inline int utmp_wall(
|
||||
const char *message,
|
||||
const char *username,
|
||||
const char *origin_tty,
|
||||
- bool (*match_tty)(const char *tty, void *userdata),
|
||||
+ bool (*match_tty)(const char *tty, bool is_local, void *userdata),
|
||||
void *userdata) {
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
2.36.1
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
From 38c87ca2ab96d085158485ecfc46c7cb6af0f166 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
||||
Date: Fri, 3 Jun 2022 09:32:02 +0200
|
||||
Subject: [PATCH] sha256: fix compilation on efi-ia32
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
/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
|
||||
../src/fundamental/sha256.c: In function ‘sha256_finish_ctx’:
|
||||
../src/fundamental/sha256.c:61:25: error: ‘false’ undeclared (first use in this function)
|
||||
61 | # define UNALIGNED_P(p) false
|
||||
| ^~~~~
|
||||
../src/fundamental/sha256.c:136:21: note: in expansion of macro ‘UNALIGNED_P’
|
||||
136 | if (UNALIGNED_P(resbuf))
|
||||
| ^~~~~~~~~~~
|
||||
../src/fundamental/sha256.c:32:1: note: ‘false’ is defined in header ‘<stdbool.h>’; did you forget to ‘#include <stdbool.h>’?
|
||||
31 | #include "sha256.h"
|
||||
+++ |+#include <stdbool.h>
|
||||
32 |
|
||||
...
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
|
||||
---
|
||||
src/fundamental/sha256.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/fundamental/sha256.c b/src/fundamental/sha256.c
|
||||
index cd16aec4dd..58b1a80d33 100644
|
||||
--- a/src/fundamental/sha256.c
|
||||
+++ b/src/fundamental/sha256.c
|
||||
@@ -58,7 +58,7 @@
|
||||
# define UNALIGNED_P(p) (((size_t) p) % sizeof(uint32_t) != 0)
|
||||
# endif
|
||||
#else
|
||||
-# define UNALIGNED_P(p) false
|
||||
+# define UNALIGNED_P(p) sd_false
|
||||
#endif
|
||||
|
||||
/* This array contains the bytes used to pad the buffer to the next
|
||||
@@ -14,7 +14,8 @@ inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives qemu
|
||||
# that we don't build both udev and systemd in world builds.
|
||||
REQUIRED_DISTRO_FEATURES = "systemd"
|
||||
|
||||
SRC_URI += "file://touchscreen.rules \
|
||||
SRC_URI += " \
|
||||
file://touchscreen.rules \
|
||||
file://00-create-volatile.conf \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://org.freedesktop.hostname1_no_polkit.conf', '', d)} \
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://00-hostnamed-network-user.conf', '', d)} \
|
||||
@@ -24,7 +25,6 @@ SRC_URI += "file://touchscreen.rules \
|
||||
file://0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch \
|
||||
file://0003-implment-systemd-sysv-install-for-OE.patch \
|
||||
file://0001-Move-sysusers.d-sysctl.d-binfmt.d-modules-load.d-to-.patch \
|
||||
file://0001-shared-utmp-wtmp-fix-build-without-utmp.patch \
|
||||
"
|
||||
|
||||
# patches needed by musl
|
||||
Reference in New Issue
Block a user