-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade systemd from 255 to 256 #2145
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
ca868e8
sys-apps/systemd: Sync with Gentoo
ader1990 3279f8c
overlay sys-apps/systemd: Apply Flatcar modifications
krnowak 4b4182d
sys-apps/systemd: remove unncessary patches
ader1990 97ad543
sys-apps/systemd: revert systemd patch 1c585a4ccda3258088d7bc27b27a31…
ader1990 b2fd2c6
bootengine: use latest upstream
ader1990 e8996b1
sys-apps/systemd: remove the networkd-default-to-kernel-IPForwarding-…
ader1990 6ee1d50
sys-apps/systemd: add changelog 255.8 -> 256.9
ader1990 089df88
coreos-base/update_engine: fail upgrade if cgroupv1 is enabled
ader1990 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
changelog/updates/2024-12-18-systemd-upgrade-from-255-to-256.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- systemd ([256.9](https://github.com/systemd/system/releases/tag/v256.9) (from 255.8)) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/Manifest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
DIST systemd-stable-255.8.tar.gz 15070471 BLAKE2B b437404af7fd73ef527f80d9d14d46a781444103d1756c27494ecf2664c9c5efe1169c85b91148a3bf190dc7c5e31cf8d42a13c84102d101ea7e4a0570e8d719 SHA512 7692be761a393924669a90f6f343998a85707a9daa3ce169ce67f62ae2a39338c2c3496066b2659c6500849104fab0529fca5704a3eb32375f2f44131216d1f1 | ||
DIST systemd-256.9.tar.gz 15774953 BLAKE2B caeff33d0906583094a44ab89fe9a9c1832a665f8cc768f86c55c5100bdd5c2b1500b2cd65e9519ef21d79bff92d1da3e84240793099a0e0c508afba3669c46e SHA512 aba7a0f7149fe3d28d9f930f244d5b997c28721e93e6f0768b0f0f1c918c87a0e8b7b347cffb2faa4740ca3ee3b04984454e85757365090a2cf32aba09f70681 |
24 changes: 0 additions & 24 deletions
24
...overlay/sys-apps/systemd/files/0002-networkd-default-to-kernel-IPForwarding-setting.patch
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
...src/third_party/coreos-overlay/sys-apps/systemd/files/0009-initrd-parse-etc.service.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 65e3f4e837001f6f00359a779b6c5801566aa750 Mon Sep 17 00:00:00 2001 | ||
From: Adrian Vladu <[email protected]> | ||
Date: Wed, 25 Sep 2024 15:51:02 +0000 | ||
Subject: [PATCH] Revert "Revert "initrd-parse-etc: override argv[0] to avoid | ||
dracut issue"" | ||
|
||
This reverts commit 1c585a4ccda3258088d7bc27b27a314e7ed8be80. | ||
--- | ||
units/initrd-parse-etc.service.in | 4 +++- | ||
1 file changed, 3 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/units/initrd-parse-etc.service.in b/units/initrd-parse-etc.service.in | ||
index 1eef2bd9be..3dadab1123 100644 | ||
--- a/units/initrd-parse-etc.service.in | ||
+++ b/units/initrd-parse-etc.service.in | ||
@@ -23,7 +23,9 @@ OnFailureJobMode=replace-irreversibly | ||
[Service] | ||
Type=oneshot | ||
|
||
-ExecStart={{LIBEXECDIR}}/systemd-sysroot-fstab-check | ||
+# FIXME: once dracut is patched to install the symlink, change to: | ||
+# ExecStart={{LIBEXECDIR}}/systemd-sysroot-fstab-check | ||
+ExecStart=@{{SYSTEM_GENERATOR_DIR}}/systemd-fstab-generator systemd-sysroot-fstab-check | ||
|
||
# We want to enqueue initrd-cleanup.service/start after we finished the part | ||
# above. It can't be part of the initial transaction, because non-oneshot units | ||
-- | ||
2.34.1 | ||
|
26 changes: 26 additions & 0 deletions
26
sdk_container/src/third_party/coreos-overlay/sys-apps/systemd/files/256-bpf-gcc.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
https://github.com/systemd/systemd/commit/dde6f1d7456db7aa72d24b1d6956b419b6f9945c | ||
|
||
From dde6f1d7456db7aa72d24b1d6956b419b6f9945c Mon Sep 17 00:00:00 2001 | ||
From: Sam James <[email protected]> | ||
Date: Sat, 24 Aug 2024 13:09:47 +0100 | ||
Subject: [PATCH] meson: search for 'bpf-unknown-none' too | ||
|
||
We currently search for 'bpf-gcc' and 'bpf-none-gcc'. Gentoo's | ||
sys-devel/bpf-toolchain package uses 'bpf-unknown-none-gcc', as does Fedora's | ||
cross-binutils. Search for this name too. | ||
--- | ||
meson.build | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/meson.build b/meson.build | ||
index 5e0b666c64b17..fbc2bbdf2f22f 100644 | ||
--- a/meson.build | ||
+++ b/meson.build | ||
@@ -1109,6 +1109,7 @@ else | ||
elif bpf_compiler == 'gcc' | ||
bpf_gcc = find_program('bpf-gcc', | ||
'bpf-none-gcc', | ||
+ 'bpf-unknown-none-gcc', | ||
required : true, | ||
version : '>= 13.1.0') | ||
bpf_gcc_found = bpf_gcc.found() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While at here, can you drop the following Flatcar modification:
and add
selinux-ntp
to the selinux policies:::portage-stable
.github/workflows/portage-stable-packages-list
sdk_container/src/third_party/coreos-overlay/coreos-base/coreos/coreos-0.0.1-r316.ebuild
This will help in the SELinux effort.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do it after this change in another patch, as it is already complicated to properly test as is.