Skip to contentSkip to conversation

package/systemd: Bump version to 261

PATCH In review Jarkko Sakkinen via buildroot 1 participant 3 messages Jun 21 – Jul 9

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/systemd: Bump version to 261

---
 package/systemd/systemd.hash | 2 +-
 package/systemd/systemd.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/systemd/systemd.hash +1 -1
index e96d3ba7ad..1c82877a4a 100644
@@ -1,5 +1,5 @@
 # sha256 locally computed
-sha256  6bd311c25f00d634ae3b4544d582e27df0d4166e6ba3d403b18b3129d7f44cae  systemd-258.7.tar.gz
+sha256  f1c2e6a0d19ea5cae946386eb288432de12f3c6b7730cdb0d2a06f8ab8e3f8dc  systemd-261.tar.gz
 sha256  ac4985facb553559981f507982444d779115e3e3a4c8b7847ae956198490c1b3  LICENSE.GPL2
 sha256  6d9bb3b7fc818a8facc4cc296060a0883fef8710d6498f86165335846e82ee9d  LICENSE.LGPL2.1
 sha256  c9e7bf5b7c243c719b8b43c36158effb9b54c5e80abc9d82e4b2d4b2a4aa64ad  LICENSES/alg-sha1-public-domain.txt
package/systemd/systemd.mk +1 -1
index 3223915d40..9a0b5652e8 100644
@@ -19,7 +19,7 @@
 # - Diff sysusers.d with the previous version
 # - Diff factory/etc/nsswitch.conf with the previous version
 #   (details are often sprinkled around in README and manpages)
-SYSTEMD_VERSION = 258.7
+SYSTEMD_VERSION = 261
 SYSTEMD_SITE = $(call github,systemd,systemd,v$(SYSTEMD_VERSION))
 SYSTEMD_LICENSE = \
 	LGPL-2.1+, \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Jarkko,

Thanks for the patch.

Quoted 1 line · Jarkko Sakkinen via buildroot

systemd is not a trivial package to bump, when updating its major version.

Could you add at least a link to the upstream NEWS file in the commit log:
https://github.com/systemd/systemd/blob/v261/NEWS
and summarize what are the important changes relevant to Buildroot, since the previous v258.7 version?

See for example the last major bump for example:
https://gitlab.com/buildroot.org/buildroot/-/commit/c38d7326e093f45252c01e241d0faf6b04023e02

Quoted 13 lines
---
 package/systemd/systemd.hash | 2 +-
 package/systemd/systemd.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/systemd/systemd.hash +0 -1
index e96d3ba7ad..1c82877a4a 100644
@@ -1,5 +1,5 @@
 # sha256 locally computed
-sha256  

6bd311c25f00d634ae3b4544d582e27df0d4166e6ba3d403b18b3129d7f44cae systemd-258.7.tar.gz

Quoted 8 lines

+sha256
f1c2e6a0d19ea5cae946386eb288432de12f3c6b7730cdb0d2a06f8ab8e3f8dc systemd-261.tar.gz
sha256
ac4985facb553559981f507982444d779115e3e3a4c8b7847ae956198490c1b3 LICENSE.GPL2
sha256
6d9bb3b7fc818a8facc4cc296060a0883fef8710d6498f86165335846e82ee9d LICENSE.LGPL2.1
sha256
c9e7bf5b7c243c719b8b43c36158effb9b54c5e80abc9d82e4b2d4b2a4aa64ad LICENSES/alg-sha1-public-domain.txt

Running "make systemd-legal-info" fails. The license files changed upstream. Could you update the hashes and summarize what has changed in the commit log, please?

package/systemd/systemd.mk line 22

Quoted 10 lines
package/systemd/systemd.mk +1 -1
index 3223915d40..9a0b5652e8 100644
@@ -19,7 +19,7 @@
 # - Diff sysusers.d with the previous version
 # - Diff factory/etc/nsswitch.conf with the previous version
 #   (details are often sprinkled around in README and manpages)
-SYSTEMD_VERSION = 258.7
+SYSTEMD_VERSION = 261

The systemd package has a comment describing few checks that are needed when bumping systemd in Buildroot:
https://gitlab.com/buildroot.org/buildroot/-/blob/2026.05/package/systemd/systemd.mk?ref_type=tags#L7-L21

The first point applies: the kernel version requirement was increased from 5.4 to 5.10 in:
https://github.com/systemd/systemd/commit/1aeba33d8ffcc4882566881420e1106c9dff61f3

This change should be reflected at least in:
package/systemd/Config.in (BR2_PACKAGE_SYSTEMD depends and comments) and
system/Config.in (BR2_INIT_SYSTEMD)

You can review changes running the command in the systemd repository:
git diff v258.7..v261 -- README

This is also observable by running the Buildroot runtime testsuite for systemd:
https://gitlab.com/jolivain/buildroot/-/pipelines/2652633093

You can run it locally with the command:

utils/docker-run support/testing/run-tests \
-k -d dl -o output_folder tests.init.test_systemd

systemd also received new meson build options. You can quickly review those running the command in systemd repository:
git diff v258.7..v261 -- meson_options.txt

Those should be either included in systemd.mk (conditionally or unconditionally), or eventually the commit log should describe why no change is needed for a given option.

Quoted 5 lines
package/systemd/systemd.mk +0 -1
 SYSTEMD_SITE = $(call github,systemd,systemd,v$(SYSTEMD_VERSION))
 SYSTEMD_LICENSE = \
 	LGPL-2.1+, \
--

2.47.3

Could you rework this patch and send a v2 please?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
Quoted 10 lines · Julien Olivain

Hi Jarkko,

Thanks for the patch.

Quoted 1 line · Jarkko Sakkinen via buildroot

systemd is not a trivial package to bump, when updating its major version.

Quoted 7 lines

Could you add at least a link to the upstream NEWS file in the commit log:
https://github.com/systemd/systemd/blob/v261/NEWS
and summarize what are the important changes relevant to Buildroot, since the previous v258.7 version?

See for example the last major bump for example:
https://gitlab.com/buildroot.org/buildroot/-/commit/c38d7326e093f45252c01e241d0faf6b04023e02

Thanks, sorry for the latency due summer time :-) And yes, of course.

Quoted 82 lines
Quoted 19 lines
---
 package/systemd/systemd.hash | 2 +-
 package/systemd/systemd.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/systemd/systemd.hash +0 -1
index e96d3ba7ad..1c82877a4a 100644
@@ -1,5 +1,5 @@
 # sha256 locally computed
-sha256

6bd311c25f00d634ae3b4544d582e27df0d4166e6ba3d403b18b3129d7f44cae systemd-258.7.tar.gz
+sha256 f1c2e6a0d19ea5cae946386eb288432de12f3c6b7730cdb0d2a06f8ab8e3f8dc systemd-261.tar.gz
sha256

Quoted 8 lines

ac4985facb553559981f507982444d779115e3e3a4c8b7847ae956198490c1b3 LICENSE.GPL2
sha256
6d9bb3b7fc818a8facc4cc296060a0883fef8710d6498f86165335846e82ee9d LICENSE.LGPL2.1
sha256
c9e7bf5b7c243c719b8b43c36158effb9b54c5e80abc9d82e4b2d4b2a4aa64ad LICENSES/alg-sha1-public-domain.txt

Running "make systemd-legal-info" fails. The license files changed upstream. Could you update the hashes and summarize what has changed in the commit log, please?

package/systemd/systemd.mk line 22

Quoted 10 lines
package/systemd/systemd.mk +1 -1
index 3223915d40..9a0b5652e8 100644
@@ -19,7 +19,7 @@
 # - Diff sysusers.d with the previous version
 # - Diff factory/etc/nsswitch.conf with the previous version
 #   (details are often sprinkled around in README and manpages)
-SYSTEMD_VERSION = 258.7
+SYSTEMD_VERSION = 261

The systemd package has a comment describing few checks that are needed when bumping systemd in Buildroot:
https://gitlab.com/buildroot.org/buildroot/-/blob/2026.05/package/systemd/systemd.mk?ref_type=tags#L7-L21

The first point applies: the kernel version requirement was increased from 5.4 to 5.10 in:
https://github.com/systemd/systemd/commit/1aeba33d8ffcc4882566881420e1106c9dff61f3

This change should be reflected at least in:
package/systemd/Config.in (BR2_PACKAGE_SYSTEMD depends and comments) and
system/Config.in (BR2_INIT_SYSTEMD)

You can review changes running the command in the systemd repository:
git diff v258.7..v261 -- README

This is also observable by running the Buildroot runtime testsuite for systemd:
https://gitlab.com/jolivain/buildroot/-/pipelines/2652633093

You can run it locally with the command:

utils/docker-run support/testing/run-tests \
-k -d dl -o output_folder tests.init.test_systemd

systemd also received new meson build options. You can quickly review those running the command in systemd repository:
git diff v258.7..v261 -- meson_options.txt

Those should be either included in systemd.mk (conditionally or unconditionally), or eventually the commit log should describe why no change is needed for a given option.

Quoted 5 lines
package/systemd/systemd.mk +0 -1
 SYSTEMD_SITE = $(call github,systemd,systemd,v$(SYSTEMD_VERSION))
 SYSTEMD_LICENSE = \
 	LGPL-2.1+, \
--

2.47.3

Quoted 5 lines

Could you rework this patch and send a v2 please?

Best regards,

Julien.

BR, Jarkko
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot