32951 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
Kai Lüke
3597af9464
Merge pull request #3323 from flatcar/kai/r2-bucket
ci-automation/release.sh: Fix upload to R2
2025-10-07 07:57:21 +02:00
flatcar-ci
28814816a8 New version: main-4480.0.0-nightly-20251006-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4480.0.0-nightly-20251006-2100
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>
main-4477.0.0-nightly-20251003-2100
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>
main-4477.0.0-nightly-20251003-2100-INTERMEDIATE
2025-10-03 21:00:29 +00:00
James Le Cuirot
ae3157b1e1
Merge pull request #3336 from flatcar/linux-6.12.50-main
Upgrade Linux Kernel for main from 6.12.49 to 6.12.50
2025-10-03 16:35:58 +01: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
f6a6fd778e
Merge pull request #3337 from flatcar/tormath1/glsa
Revert "portage-stable/metadata: Monthly GLSA metadata updates"
2025-10-03 13:11: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
Mathieu Tortuyaux
3a7147fbb5
Merge pull request #3329 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-10-03 09:27:01 +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>
main-4476.0.0-nightly-20251002-2100
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
Kai Lueke
97d0538946 ci-automation/release.sh: Fix upload to R2
The upload to R2 was added experimentally and we now want to make use of
it. The CHANNEL variable wasn't defined and it failed because of that.

Do the upload for all channels and set the variable up first. Existing
releases should get synced from the current Origin server via a FUSE
mount that we anyway want to rely on for the directory listing that
Caddy creates. Left to decide is how we manage the "current" version
but that is done manually anyway as of now.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-03 00:21:50 +09:00
flatcar-ci
119ae89545 New version: main-4475.0.0-nightly-20251001-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4475.0.0-nightly-20251001-2100
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
James Le Cuirot
11609fc85a
Merge pull request #3289 from thechristschn/config_memcg_v1
sys-kernel/coreos-modules: enable CONFIG_MEMCG_V1
2025-09-30 21:31:51 +01:00
Christian Baumann
db77f16924
Add changelog entry
Signed-off-by: Christian Baumann <thechristschn@gmail.com>
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-09-30 15:55:30 +01: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
Mathieu Tortuyaux
a3024bf723
Merge pull request #3317 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-09-30 09:33:23 +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
Kai Lüke
4b4dad15c3
Merge pull request #3304 from flatcar/kai/kola-boot-part-too-small
ci-automation: Run cl.update.payload-boot-part-too-small test
2025-09-23 12:57:35 +02: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
Kai Lueke
ad825fff69 ci-automation: Run cl.update.payload-boot-part-too-small test
The test was recently added to kola but wasn't executed yet.
Add it to the list of update tests (which start from an old image and
update to the new image that should be tested).

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-09-23 14:34:01 +09:00
Kai Lüke
3a09db3616
Merge pull request #3298 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-09-23 07:25:29 +02: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
James Le Cuirot
f094fc2950
Merge pull request #3292 from flatcar/linux-6.12.48-main
Upgrade Linux Kernel for main from 6.12.47 to 6.12.48
2025-09-22 15:10:17 +01: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