Skip to contentSkip to conversation

package/systemd: bump to version 256.4

PATCH In review James Hilliard 2 participants 2 messages Jul 27, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/systemd: bump to version 256.4

Remove patch which is now upstream

Rebase fix missing LOOP_SET_BLOCK_SIZE patch.

Update config options to match new expected format.

Add new nsresourced, mountfsd and vmspawn config options.

Add new systemd-journal-upload user for journald-remote.

Add new kernel config enable/disable options from systemd readme.

Add new optional dependencies and config options as appropriate.

LICENSES/README.md hash changed due to additional details added:
https://github.com/systemd/systemd/commit/fb747bd8cdcbeb55f9ef3c62289fff8ff5a25b68

---
 ...g_loop.h-fix-missing-LOOP_SET_BLOCK_.patch |  10 +-
 .../0002-basic-add-bcachefs-magic.patch       |  53 ---
 package/systemd/Config.in                     |  29 ++
 package/systemd/systemd.hash                  |   4 +-
 package/systemd/systemd.mk                    | 334 ++++++++++++------
 5 files changed, 263 insertions(+), 167 deletions(-)
 delete mode 100644 package/systemd/0002-basic-add-bcachefs-magic.patch
package/systemd/0001-src-basic-missing_loop.h-fix-missing-LOOP_SET_BLOCK_.patch +5 -5
index 7d520f81d4..0ab5a4e98d 100644
@@ -1,4 +1,4 @@
-From e358793a796f8c742af4ea3f4fe398731ca46649 Mon Sep 17 00:00:00 2001
+From 56ab1c54497d9fac74380ff9e11aaf931a917d2b Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <[email protected]>
 Date: Fri, 14 Jun 2024 14:37:29 +0200
 Subject: [PATCH] src/basic/missing_loop.h: fix missing LOOP_SET_BLOCK_SIZE
@@ -22,17 +22,17 @@ Signed-off-by: Raphaël Mélotte <[email protected]>
  1 file changed, 4 insertions(+)
 
 diff --git a/src/basic/missing_loop.h b/src/basic/missing_loop.h
-index 7141544b64..b1505f678b 100644
+index b88501d78b..f83a14c914 100644
 --- a/src/basic/missing_loop.h
 +++ b/src/basic/missing_loop.h
-@@ -22,3 +22,7 @@ struct loop_config {
+@@ -29,3 +29,7 @@ assert_cc(LOOP_SET_DIRECT_IO == 0x4C08);
  #ifndef LOOP_SET_STATUS_SETTABLE_FLAGS
- #define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN | LO_FLAGS_DIRECT_IO)
+ #  define LOOP_SET_STATUS_SETTABLE_FLAGS (LO_FLAGS_AUTOCLEAR | LO_FLAGS_PARTSCAN)
  #endif
 +
 +#ifndef LOOP_SET_BLOCK_SIZE
 +#  define LOOP_SET_BLOCK_SIZE 0x4C09
 +#endif
 -- 
-2.25.1
+2.34.1
 
package/systemd/0002-basic-add-bcachefs-magic.patch deleted +0 -53

53 lines not on this page · raw message

package/systemd/Config.in +29 -0
index 82c0e30474..6708adce9b 100644
@@ -329,6 +329,15 @@ config BR2_PACKAGE_SYSTEMD_MACHINED
 
 	  https://www.freedesktop.org/software/systemd/man/systemd-machined.service.html
 
+config BR2_PACKAGE_SYSTEMD_NSRESOURCED
+	bool "enable nsresourced"
+	help
+	  systemd-nsresourced is a system service that permits
+	  transient delegation of a a UID/GID range to a user
+	  namespace allocated by a client, via a Varlink IPC API.
+
+	  https://www.freedesktop.org/software/systemd/man/systemd-nsresourced.service.html
+
 config BR2_PACKAGE_SYSTEMD_MYHOSTNAME
 	bool "enable myhostname NSS plugin"
 	default y
@@ -483,6 +492,16 @@ config BR2_PACKAGE_SYSTEMD_SYSEXT
 
 	  https://www.freedesktop.org/software/systemd/man/systemd-sysext.html
 
+config BR2_PACKAGE_SYSTEMD_MOUNTFSD
+	bool "enable mountfsd support"
+	help
+	  systemd-mountfsd is a system service that dissects disk
+	  images, and returns mount file descriptors for the file
+	  systems contained therein to clients, via a Varlink IPC
+	  API.
+
+	  https://www.freedesktop.org/software/systemd/man/systemd-mountfsd.service.html
+
 config BR2_PACKAGE_SYSTEMD_SYSUPDATE
 	bool "enable sysupdate support"
 	select BR2_PACKAGE_OPENSSL
@@ -580,4 +599,14 @@ config BR2_PACKAGE_SYSTEMD_VCONSOLE_DEFAULT_KEYMAP
 	  Default keymap for the system. Leave empty to not set a
 	  default keymap.
 
+config BR2_PACKAGE_SYSTEMD_VMSPAWN
+	bool "enable vmspawn"
+	help
+	  systemd-vmspawn may be used to start a virtual machine
+	  from an OS image. In many ways it is similar to
+	  systemd-nspawn, but launches a full virtual machine
+	  instead of using namespaces.
+
+	  https://www.freedesktop.org/software/systemd/man/systemd-vmspawn.html
+
 endif
package/systemd/systemd.hash +2 -2
index f999d0d34e..399ac61492 100644
@@ -1,5 +1,5 @@
 # sha256 locally computed
-sha256  26ac73c2108132b1d11ff939e8b1bece42f1c1da03fdf4a242af5a7cf3ac34f1  systemd-254.13.tar.gz
+sha256  7861d544190f938cac1b242624d78c96fe2ebbc7b72f86166e88b50451c6fa58  systemd-256.4.tar.gz
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  LICENSE.GPL2
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  LICENSE.LGPL2.1
 sha256  e5a8645ad94aab24e312dd0c6be2aa54236eb9374480b1b14ea5c61598874fd5  LICENSES/BSD-2-Clause.txt
@@ -12,4 +12,4 @@ sha256  8a6fc0879cecc0b96bf4c08159b9d733bf0f15fcf32879aec98c4ffd05424554  LICENS
 sha256  b85dcd3e453d05982552c52b5fc9e0bdd6d23c6f8e844b984a88af32570b0cc0  LICENSES/MIT.txt
 sha256  2a98749f6bec00dfaed86fa9c1edea871aaae4f11ee4d100b671aaf4ce353a73  LICENSES/murmurhash2-public-domain.txt
 sha256  1a7adaa2c86cedfd6c7f5c0c7c72fd6d3e02cd0c9593f21fdb53c89bb2b130ec  LICENSES/OFL-1.1.txt
-sha256  8ccb649d1fc1103e5726612cf303f05d4eb86b7ab46d9f630009dd32e87612e2  LICENSES/README.md
+sha256  3df2dfbb09215ab1aecdd3c91d7fbe02fee4a0e75ef8967a25d1a6fe3b8abc06  LICENSES/README.md
package/systemd/systemd.mk +227 -107

679 lines not on this page · raw message

Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 18 lines · On Sat, 27 Jul 2024 02:13:44 -0600 James Hilliard <[email protected]>…

Remove patch which is now upstream

Rebase fix missing LOOP_SET_BLOCK_SIZE patch.

Update config options to match new expected format.

Add new nsresourced, mountfsd and vmspawn config options.

Add new systemd-journal-upload user for journald-remote.

Add new kernel config enable/disable options from systemd readme.

Add new optional dependencies and config options as appropriate.

LICENSES/README.md hash changed due to additional details added:
https://github.com/systemd/systemd/commit/fb747bd8cdcbeb55f9ef3c62289fff8ff5a25b68

Quoted 8 lines
---
 ...g_loop.h-fix-missing-LOOP_SET_BLOCK_.patch |  10 +-
 .../0002-basic-add-bcachefs-magic.patch       |  53 ---
 package/systemd/Config.in                     |  29 ++
 package/systemd/systemd.hash                  |   4 +-
 package/systemd/systemd.mk                    | 334 ++++++++++++------
 5 files changed, 263 insertions(+), 167 deletions(-)
 delete mode 100644 package/systemd/0002-basic-add-bcachefs-magic.patch

Lots of changes, but seems fine from a quick look, so I've applied. Let's see whether this blows up in the autobuilders :-)

Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot