mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 13:49:49 +00:00
systemd: update 248.3 -> 249.1
jinja is now required: https://github.com/systemd/systemd/commit/e0698c66f4569c91e3fdd54ca77449698ae38704 Drop 0001-test-seccomp-Check-for-__NR_ppoll-before-use.patch as it is a backport. (From OE-Core rev: 323ec445dfe22860cd450c303db5ed8fcb4e791c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 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
be7193e5ff
commit
a4c3deba6e
+1
-1
@@ -3,7 +3,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/systemd:"
|
|||||||
|
|
||||||
require conf/image-uefi.conf
|
require conf/image-uefi.conf
|
||||||
|
|
||||||
DEPENDS = "intltool-native libcap util-linux gnu-efi gperf-native"
|
DEPENDS = "intltool-native libcap util-linux gnu-efi gperf-native python3-jinja2-native"
|
||||||
|
|
||||||
inherit meson pkgconfig gettext
|
inherit meson pkgconfig gettext
|
||||||
inherit deploy
|
inherit deploy
|
||||||
@@ -14,8 +14,8 @@ LICENSE = "GPLv2 & LGPLv2.1"
|
|||||||
LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
|
LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
|
||||||
file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
|
file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c"
|
||||||
|
|
||||||
SRCREV = "37c4cfde0ce613f0f00544d3f4e2e72bf93d9c76"
|
SRCREV = "764b74113e36ac5219a4b82a05f311b5a92136ce"
|
||||||
SRCBRANCH = "v248-stable"
|
SRCBRANCH = "v249-stable"
|
||||||
SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=git;branch=${SRCBRANCH} \
|
SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=git;branch=${SRCBRANCH} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
+19
-19
@@ -1,4 +1,4 @@
|
|||||||
From 564830719be2017c4953589d50f21a9e856a4ecc Mon Sep 17 00:00:00 2001
|
From 08cd165f5db0e68a499b80c4b1744a4206948259 Mon Sep 17 00:00:00 2001
|
||||||
From: Chen Qi <Qi.Chen@windriver.com>
|
From: Chen Qi <Qi.Chen@windriver.com>
|
||||||
Date: Thu, 21 Feb 2019 16:23:24 +0800
|
Date: Thu, 21 Feb 2019 16:23:24 +0800
|
||||||
Subject: [PATCH] binfmt: Don't install dependency links at install time for
|
Subject: [PATCH] binfmt: Don't install dependency links at install time for
|
||||||
@@ -25,11 +25,11 @@ Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|||||||
units/systemd-binfmt.service.in | 4 ++++
|
units/systemd-binfmt.service.in | 4 ++++
|
||||||
3 files changed, 9 insertions(+), 4 deletions(-)
|
3 files changed, 9 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
Index: systemd-stable/units/meson.build
|
diff --git a/units/meson.build b/units/meson.build
|
||||||
===================================================================
|
index 17e9ead9c1..e5502be620 100644
|
||||||
--- systemd-stable.orig/units/meson.build
|
--- a/units/meson.build
|
||||||
+++ systemd-stable/units/meson.build
|
+++ b/units/meson.build
|
||||||
@@ -55,8 +55,7 @@ units = [
|
@@ -59,8 +59,7 @@ units = [
|
||||||
['poweroff.target', '',
|
['poweroff.target', '',
|
||||||
(with_runlevels ? 'runlevel0.target' : '')],
|
(with_runlevels ? 'runlevel0.target' : '')],
|
||||||
['printer.target', ''],
|
['printer.target', ''],
|
||||||
@@ -39,9 +39,9 @@ Index: systemd-stable/units/meson.build
|
|||||||
['proc-sys-fs-binfmt_misc.mount', 'ENABLE_BINFMT'],
|
['proc-sys-fs-binfmt_misc.mount', 'ENABLE_BINFMT'],
|
||||||
['reboot.target', '',
|
['reboot.target', '',
|
||||||
'ctrl-alt-del.target' + (with_runlevels ? ' runlevel6.target' : '')],
|
'ctrl-alt-del.target' + (with_runlevels ? ' runlevel6.target' : '')],
|
||||||
@@ -166,8 +165,7 @@ in_units = [
|
@@ -178,8 +177,7 @@ in_units = [
|
||||||
['rc-local.service', 'HAVE_SYSV_COMPAT'],
|
|
||||||
['rescue.service', ''],
|
['rescue.service', ''],
|
||||||
|
['serial-getty@.service', ''],
|
||||||
['systemd-backlight@.service', 'ENABLE_BACKLIGHT'],
|
['systemd-backlight@.service', 'ENABLE_BACKLIGHT'],
|
||||||
- ['systemd-binfmt.service', 'ENABLE_BINFMT',
|
- ['systemd-binfmt.service', 'ENABLE_BINFMT',
|
||||||
- 'sysinit.target.wants/'],
|
- 'sysinit.target.wants/'],
|
||||||
@@ -49,21 +49,21 @@ Index: systemd-stable/units/meson.build
|
|||||||
['systemd-bless-boot.service', 'ENABLE_EFI HAVE_BLKID'],
|
['systemd-bless-boot.service', 'ENABLE_EFI HAVE_BLKID'],
|
||||||
['systemd-boot-check-no-failures.service', ''],
|
['systemd-boot-check-no-failures.service', ''],
|
||||||
['systemd-coredump@.service', 'ENABLE_COREDUMP'],
|
['systemd-coredump@.service', 'ENABLE_COREDUMP'],
|
||||||
Index: systemd-stable/units/proc-sys-fs-binfmt_misc.automount
|
diff --git a/units/proc-sys-fs-binfmt_misc.automount b/units/proc-sys-fs-binfmt_misc.automount
|
||||||
===================================================================
|
index 172c8757ab..f65d8930c6 100644
|
||||||
--- systemd-stable.orig/units/proc-sys-fs-binfmt_misc.automount
|
--- a/units/proc-sys-fs-binfmt_misc.automount
|
||||||
+++ systemd-stable/units/proc-sys-fs-binfmt_misc.automount
|
+++ b/units/proc-sys-fs-binfmt_misc.automount
|
||||||
@@ -18,3 +18,6 @@ ConditionPathIsReadWrite=/proc/sys/
|
@@ -19,3 +19,6 @@ ConditionPathIsReadWrite=/proc/sys/
|
||||||
|
|
||||||
[Automount]
|
[Automount]
|
||||||
Where=/proc/sys/fs/binfmt_misc
|
Where=/proc/sys/fs/binfmt_misc
|
||||||
+
|
+
|
||||||
+[Install]
|
+[Install]
|
||||||
+WantedBy=sysinit.target
|
+WantedBy=sysinit.target
|
||||||
Index: systemd-stable/units/systemd-binfmt.service.in
|
diff --git a/units/systemd-binfmt.service.in b/units/systemd-binfmt.service.in
|
||||||
===================================================================
|
index fdafce7ff7..4efc05e495 100644
|
||||||
--- systemd-stable.orig/units/systemd-binfmt.service.in
|
--- a/units/systemd-binfmt.service.in
|
||||||
+++ systemd-stable/units/systemd-binfmt.service.in
|
+++ b/units/systemd-binfmt.service.in
|
||||||
@@ -14,6 +14,7 @@ Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.htm
|
@@ -14,6 +14,7 @@ Documentation=https://www.kernel.org/doc/html/latest/admin-guide/binfmt-misc.htm
|
||||||
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
@@ -73,8 +73,8 @@ Index: systemd-stable/units/systemd-binfmt.service.in
|
|||||||
After=proc-sys-fs-binfmt_misc.mount
|
After=proc-sys-fs-binfmt_misc.mount
|
||||||
Before=sysinit.target shutdown.target
|
Before=sysinit.target shutdown.target
|
||||||
@@ -30,3 +31,6 @@ RemainAfterExit=yes
|
@@ -30,3 +31,6 @@ RemainAfterExit=yes
|
||||||
ExecStart=@rootlibexecdir@/systemd-binfmt
|
ExecStart={{ROOTLIBEXECDIR}}/systemd-binfmt
|
||||||
ExecStop=@rootlibexecdir@/systemd-binfmt --unregister
|
ExecStop={{ROOTLIBEXECDIR}}/systemd-binfmt --unregister
|
||||||
TimeoutSec=90s
|
TimeoutSec=90s
|
||||||
+
|
+
|
||||||
+[Install]
|
+[Install]
|
||||||
|
|||||||
-39
@@ -1,39 +0,0 @@
|
|||||||
From 027ac2ad0695bb506460f9dd7e57149b71055887 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
|
||||||
Date: Tue, 8 Jun 2021 23:21:01 -0700
|
|
||||||
Subject: [PATCH] test-seccomp: Check for __NR_ppoll before use
|
|
||||||
|
|
||||||
some newer architectures like riscv32 do not have __NR_ppoll from get go
|
|
||||||
|
|
||||||
Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/19858]
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
||||||
---
|
|
||||||
src/test/test-seccomp.c | 5 +++--
|
|
||||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/test/test-seccomp.c b/src/test/test-seccomp.c
|
|
||||||
index b1f917eb54..daac0fcea8 100644
|
|
||||||
--- a/src/test/test-seccomp.c
|
|
||||||
+++ b/src/test/test-seccomp.c
|
|
||||||
@@ -832,7 +832,7 @@ static void test_load_syscall_filter_set_raw(void) {
|
|
||||||
assert_se(s = hashmap_new(NULL));
|
|
||||||
#if defined __NR_poll && __NR_poll >= 0
|
|
||||||
assert_se(hashmap_put(s, UINT32_TO_PTR(__NR_poll + 1), INT_TO_PTR(-1)) >= 0);
|
|
||||||
-#else
|
|
||||||
+#elif defined __NR_ppoll
|
|
||||||
assert_se(hashmap_put(s, UINT32_TO_PTR(__NR_ppoll + 1), INT_TO_PTR(-1)) >= 0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
@@ -849,7 +849,8 @@ static void test_load_syscall_filter_set_raw(void) {
|
|
||||||
assert_se(s = hashmap_new(NULL));
|
|
||||||
#if defined __NR_poll && __NR_poll >= 0
|
|
||||||
assert_se(hashmap_put(s, UINT32_TO_PTR(__NR_poll + 1), INT_TO_PTR(EILSEQ)) >= 0);
|
|
||||||
-#else
|
|
||||||
+#elif defined __NR_ppoll
|
|
||||||
+ assert_se(hashmap_put(s, UINT32_TO_PTR(__NR_ppoll + 1), INT_TO_PTR(-1)) >= 0);
|
|
||||||
assert_se(hashmap_put(s, UINT32_TO_PTR(__NR_ppoll + 1), INT_TO_PTR(EILSEQ)) >= 0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
--
|
|
||||||
2.32.0
|
|
||||||
|
|
||||||
+3
-4
@@ -4,7 +4,7 @@ PROVIDES = "udev"
|
|||||||
|
|
||||||
PE = "1"
|
PE = "1"
|
||||||
|
|
||||||
DEPENDS = "intltool-native gperf-native libcap util-linux"
|
DEPENDS = "intltool-native gperf-native libcap util-linux python3-jinja2-native"
|
||||||
|
|
||||||
SECTION = "base/shell"
|
SECTION = "base/shell"
|
||||||
|
|
||||||
@@ -14,8 +14,7 @@ inherit useradd pkgconfig meson perlnative update-rc.d update-alternatives qemu
|
|||||||
# that we don't build both udev and systemd in world builds.
|
# that we don't build both udev and systemd in world builds.
|
||||||
REQUIRED_DISTRO_FEATURES = "systemd"
|
REQUIRED_DISTRO_FEATURES = "systemd"
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += "file://touchscreen.rules \
|
||||||
file://touchscreen.rules \
|
|
||||||
file://00-create-volatile.conf \
|
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://org.freedesktop.hostname1_no_polkit.conf', '', d)} \
|
||||||
${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://00-hostnamed-network-user.conf', '', d)} \
|
${@bb.utils.contains('PACKAGECONFIG', 'polkit_hostnamed_fallback', 'file://00-hostnamed-network-user.conf', '', d)} \
|
||||||
@@ -26,7 +25,6 @@ SRC_URI += " \
|
|||||||
file://0003-implment-systemd-sysv-install-for-OE.patch \
|
file://0003-implment-systemd-sysv-install-for-OE.patch \
|
||||||
file://0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch \
|
file://0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch \
|
||||||
file://0001-test-parse-argument-Include-signal.h.patch \
|
file://0001-test-parse-argument-Include-signal.h.patch \
|
||||||
file://0001-test-seccomp-Check-for-__NR_ppoll-before-use.patch \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
# patches needed by musl
|
# patches needed by musl
|
||||||
@@ -687,6 +685,7 @@ FILES_udev += "${base_sbindir}/udevd \
|
|||||||
${rootlibexecdir}/udev/rules.d/78-sound-card.rules \
|
${rootlibexecdir}/udev/rules.d/78-sound-card.rules \
|
||||||
${rootlibexecdir}/udev/rules.d/80-drivers.rules \
|
${rootlibexecdir}/udev/rules.d/80-drivers.rules \
|
||||||
${rootlibexecdir}/udev/rules.d/80-net-setup-link.rules \
|
${rootlibexecdir}/udev/rules.d/80-net-setup-link.rules \
|
||||||
|
${rootlibexecdir}/udev/rules.d/81-net-dhcp.rules \
|
||||||
${rootlibexecdir}/udev/rules.d/90-vconsole.rules \
|
${rootlibexecdir}/udev/rules.d/90-vconsole.rules \
|
||||||
${rootlibexecdir}/udev/rules.d/README \
|
${rootlibexecdir}/udev/rules.d/README \
|
||||||
${sysconfdir}/udev \
|
${sysconfdir}/udev \
|
||||||
Reference in New Issue
Block a user