23978 Commits

Author SHA1 Message Date
Kai Lueke
5f1944b072 Use a minimal initrd to switch to the full initrd stored in /usr
The growth of binaries over time and the inclusion of new features
filled the available boot partition space, so that the kernel+initrd
almost couldn't fit twice anymore as required for updates. We employed
workarounds such as wrapper scripts for ignition, afterburn and other
binaries so that they are loaded from /usr. However, this was still not
enough and we would have to do the same for (network) kernel modules and
firmware. To avoid making this ever more complex we can use a dedicated
initrd focused on loading the full initrd from /usr and then this full
initrd can use dracut as before and even drop all the workarounds we
accumulated.

Generate a minimal initrd to use instead of the full bootengine initrd.
The bootengine initrd gets stored as squashfs on /usr. The minimal
initrd still includes the early_cpio for amd64 microcode updates.
We have a fixed list of modules or module directories to include, only
focused on loading /usr and any emergency console interaction. This
requires also checking for module dependencies to copy over.
The busybox, veritysetup, and kmod binaries are needed and get their
required libraries resolved and copied over. They are not static and
use shared libraries which should be ok for now. The resulting vmlinuz
file is 27 MB for amd64, down from ~60 MB, so we have enough room to
include more kernel modules and so on for the next years while we also
grow the boot partition and wait for users to redeploy until we can rely
on a larger boot partition and eventually drop the minimal initrd again.

Pulls in https://github.com/flatcar/bootengine/pull/110 for the
minimal initrd script and https://github.com/flatcar/seismograph/pull/12
for making the device mapper discovery for the "rootdev" command more
reliable.

This also requied a backport of a kernel patch from 2017 that exposes
the PARTUUID in the /sys uevent file.

Co-authored-by: James Le Cuirot <jlecuirot@microsoft.com>
Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-09 14:55:52 +09:00
Kai Lueke
1ff7c42ed7 sys-apps/busybox: Import from Gentoo
It's from Gentoo commit 573964683c6f490e3a1ff040ec21c9d3b8d8b154.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-07 23:04:57 +09:00
James Le Cuirot
198eb733d8
Merge pull request #3346 from flatcar/linux-6.12.51-main
Upgrade Linux Kernel for main from 6.12.50 to 6.12.51
2025-10-07 14:30:12 +01:00
Mathieu Tortuyaux
cb2e770a11
Merge pull request #3339 from flatcar/cacerts-3.117-main
Update ca-certificates in main from 3.116 to 3.117
2025-10-07 10:26:31 +02:00
Flatcar Buildbot
27d0051376 sys-kernel/coreos-sources: Update from 6.12.50 to 6.12.51
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-10-07 07:07:28 +00:00
flatcar-ci
28814816a8 New version: main-4480.0.0-nightly-20251006-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-06 21:00:27 +00:00
Flatcar Buildbot
207668f640 app-misc/ca-certificates: Update from 3.116 to 3.117
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-10-06 07:11:58 +00:00
flatcar-ci
fe383ec228 New version: main-4477.0.0-nightly-20251003-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-04 02:44:33 +00:00
flatcar-ci
059f5e3845 New version: main-4477.0.0-nightly-20251003-2100-INTERMEDIATE
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-03 21:00:29 +00:00
Flatcar Buildbot
33895aa63e
sys-kernel/coreos-sources: Update from 6.12.49 to 6.12.50
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-10-03 13:12:26 +02:00
Mathieu Tortuyaux
b9bc40cc2e
Revert "portage-stable/metadata: Monthly GLSA metadata updates"
This reverts commit 9dd978405dd2d335499ce8bf59a8769678359b6e.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2025-10-03 12:57:32 +02:00
Flatcar Buildbot
b897980708 Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-10-02 21:00:46 +00:00
flatcar-ci
f2eddff52c New version: main-4476.0.0-nightly-20251002-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-02 21:00:29 +00:00
James Le Cuirot
beedbca3fe
Merge pull request #3321 from flatcar/buildbot/monthly-glsa-metadata-updates-2025-10-01
Monthly GLSA metadata 2025-10-01
2025-10-02 16:58:56 +01:00
flatcar-ci
119ae89545 New version: main-4475.0.0-nightly-20251001-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-01 21:00:36 +00:00
Mathieu Tortuyaux
f15ac31e44
Merge pull request #3320 from flatcar/vmware-13.0.5-main
Upgrade open-vm-tools in main from 13.0.0 to 13.0.5
2025-10-01 14:16:24 +02:00
Dongsu Park
7f0c654f35
Merge pull request #3310 from flatcar/contributions/ue-rs-dev-omaha-improve
overlay ue-rs: update to 2025-09-26
2025-10-01 10:44:22 +02:00
Flatcar Buildbot
9dd978405d portage-stable/metadata: Monthly GLSA metadata updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-01 07:07:22 +00:00
Flatcar Buildbot
2f51ff8b15 app-emulation/open-vm-tools: Update from 13.0.0 to 13.0.5
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-10-01 07:04:53 +00:00
Sayan Chowdhury
6a35605d41
Merge pull request #3313 from flatcar/sayan/update-systemd-v257.7
sys-apps/systemd: Bump systemd v257.7 in base image
2025-10-01 10:21:19 +05:30
flatcar-ci
cf45d842b4 Revert failed version back to 4473.0.0+nightly-20250929-2100 2025-10-01 00:26:21 +00:00
flatcar-ci
5a6cc45f8a New version: main-4474.0.0-nightly-20250930-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-09-30 21:00:30 +00:00
Christian Baumann
f780b373a3
sys-kernel/coreos-modules: enable CONFIG_MEMCG_V1
Signed-off-by: Christian Baumann <thechristschn@gmail.com>
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-09-30 15:55:29 +01:00
James Le Cuirot
214c7d29e6
Merge pull request #3309 from flatcar/linux-6.12.49-main
Upgrade Linux Kernel for main from 6.12.48 to 6.12.49
2025-09-30 12:53:26 +01:00
Dongsu Park
61f3478b1c overlay ue-rs: update to 2025-09-26
Pulls in https://github.com/flatcar/ue-rs/pull/72,
https://github.com/flatcar/ue-rs/pull/84,
https://github.com/flatcar/ue-rs/pull/85,
https://github.com/flatcar/ue-rs/pull/87,
https://github.com/flatcar/ue-rs/pull/88,
https://github.com/flatcar/ue-rs/pull/90.

Signed-off-by: Dongsu Park <dongsu@dpark.io>
2025-09-30 10:50:44 +02:00
Mathieu Tortuyaux
863df61818
Merge pull request #3277 from flatcar/tormath1/scaleway
afterburn: Scaleway SSH keys and hostname
2025-09-30 09:38:07 +02:00
Flatcar Buildbot
2f7cfb3ee7 Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-09-29 21:00:45 +00:00
flatcar-ci
6c1b3a8bbc New version: main-4473.0.0-nightly-20250929-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-09-29 21:00:31 +00:00
Flatcar Buildbot
d748dc29d1 sys-kernel/coreos-sources: Update from 6.12.48 to 6.12.49
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-09-26 07:07:54 +00:00
Sayan Chowdhury
84ce41de21
sys-apps/systemd: Bump systemd v257.7 in base image
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2025-09-24 13:16:50 +05:30
flatcar-ci
22f45b62c4 New version: main-4467.0.0-nightly-20250923-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-09-23 21:00:32 +00:00
James Le Cuirot
9583459159
Merge pull request #3275 from flatcar/cacerts-3.116-main
Update ca-certificates in main from 3.115 to 3.116
2025-09-23 09:45:27 +01:00
James Le Cuirot
1bd1b7ae2f
Merge pull request #3286 from flatcar/firmware-20250917-main
Upgrade Linux Firmware in main from 20250808 to 20250917
2025-09-23 09:44:33 +01:00
Flatcar Buildbot
93c0daf1ab Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-09-23 03:30:10 +00:00
flatcar-ci
1d68e788da New version: main-4466.0.0-nightly-20250922-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-09-22 21:00:30 +00:00
Flatcar Buildbot
3a42c94992 sys-kernel/coreos-sources: Update from 6.12.47 to 6.12.48
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-09-20 07:06:44 +00:00
Flatcar Buildbot
8b299698ff sys-kernel/coreos-firmware: Update from 20250808 to 20250917
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-09-18 07:06:13 +00:00
flatcar-ci
586d13f834 New version: main-4461.0.0-nightly-20250917-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-09-17 21:00:32 +00:00
Krzesimir Nowak
4987cd34a2
Merge pull request #3271 from flatcar/buildbot/weekly-portage-stable-package-updates-2025-09-15
Weekly portage-stable package updates 2025-09-15
2025-09-17 16:35:48 +02:00
Flatcar Buildbot
b8fd5c3f93 Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-09-17 14:25:09 +00:00
Mathieu Tortuyaux
fb04422f22
sys-kernel/bootengine: set Scaleway hostname
use Afterburn to set the Scaleway hostname

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2025-09-16 17:15:41 +02:00
Mathieu Tortuyaux
1f4c7eca3a
coreos-base/coreos-init: enable SSH keys injection for Scaleway
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2025-09-16 17:15:41 +02:00
Krzesimir Nowak
b2abc98a47 overlay coreos/user-patches: Add a patch for net-tools
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-09-16 17:04:34 +02:00
Krzesimir Nowak
b5f8684a21 overlay coreos/user-patches: Add a patch for libxslt
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-09-16 17:04:34 +02:00
Krzesimir Nowak
7e1cadab40 overlay profiles: Add accept keywords for dev-libs/libpcre2
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-09-16 17:04:34 +02:00
Krzesimir Nowak
1fc950e001 overlay profiles: Drop disabling of USE=dracut-cpio in sys-kernel/dracut
It's disabled by default now.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-09-16 17:04:34 +02:00
Krzesimir Nowak
fd96c5521d overlay profiles: Drop accept keywords for sys-apps/portage
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-09-16 17:04:34 +02:00
Krzesimir Nowak
9739baa060 overlay profiles: Drop accept keywords for sys-apps/iproute2
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-09-16 17:04:34 +02:00
Krzesimir Nowak
691f4813b8 overlay profiles: Drop accept keywords for net-nds/rpcbind
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-09-16 17:04:34 +02:00
Krzesimir Nowak
97fc050894 overlay profiles: Drop accept keywords for net-misc/ntp
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-09-16 17:04:34 +02:00