33054 Commits

Author SHA1 Message Date
Kai Lueke
c0baf9bed4 sys-firmware/intel-microcode: Use kernel built-in microcode
The Intel microcode wasn't applied anymore after it was reworked to be
in the initrd instead of being built-in as part of the kernel image.
This was due to how the kernel build system can't handle combined
initrds and skip the early cpio when compressing. The AMD microcode was
still built-in as part of the kernel image.
Let the kernel build system pick up the Intel microcode by installing it
to the firmware directory. Disable the inclusion of microcode in the
initrd. Also, we can drop the preservation of the early cpio when
generating the minimal initrd.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-20 18:22:57 +09:00
flatcar-ci
eb1c6c2438 New version: main-4489.0.0-nightly-20251015-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4489.0.0-nightly-20251015-2100
2025-10-15 21:00:34 +00:00
flatcar-ci
0d3f4e39c6 Revert failed version back to 4487.0.0+nightly-20251013-2100 2025-10-15 00:30:29 +00:00
flatcar-ci
e2568ae2a7 New version: main-4488.0.0-nightly-20251014-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-14 21:00:33 +00:00
James Le Cuirot
587835a5a9
Merge pull request #3354 from flatcar/chewi/sync-linux-firmware
sys-kernel/coreos-firmware: Partially resync with Gentoo
2025-10-14 14:44:09 +01:00
Kai Lüke
5457891e4a
Merge pull request #3372 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-10-14 14:54:07 +02:00
Flatcar Buildbot
631d87698f Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-10-14 12:32:08 +00:00
Kai Lüke
ae01bf7801
Merge pull request #3353 from flatcar/kai/update-engine-postinst-fix
coreos-base/update_engine: Fix keeping of needed Flatcar extensions
2025-10-14 07:45:31 +02:00
Kai Lüke
8e158443c6
Merge pull request #3368 from flatcar/kai/bootengine-custom-server
sys-kernel/bootengine: Support custom release server URLs
2025-10-14 07:43:41 +02:00
flatcar-ci
f97299c432 New version: main-4487.0.0-nightly-20251013-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4487.0.0-nightly-20251013-2100
2025-10-13 21:00:28 +00:00
Kai Lueke
7e37477a85 coreos-base/update_engine: Fix opaque directory handling
When /etc way kept busy through, e.g., a process using it as CWD, then
even in the temporary namespace unmounting failed unless it was done
with the lazy option.
This pulls in https://github.com/flatcar/update_engine/pull/52 to
address this.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-13 23:30:54 +09:00
Kai Lueke
792d975784 sys-kernel/bootengine: Support custom release server URLs
This pulls in https://github.com/flatcar/bootengine/pull/112 to support
kernel cmdline parameters that specify a custom release server URL to
use for downloading Flatcar extensions.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-13 22:14:40 +09:00
Kai Lueke
2fe32a6458 coreos-base/update_engine: Fix keeping of needed Flatcar extensions
Pulls in https://github.com/flatcar/update_engine/pull/51

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-13 17:37:23 +09:00
flatcar-ci
6367cdd3c7 New version: main-4484.0.0-nightly-20251010-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-11 02:37:49 +00:00
flatcar-ci
b6a8866a63 New version: main-4484.0.0-nightly-20251010-2100-INTERMEDIATE
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-10 21:00:30 +00:00
James Le Cuirot
4f6e00d94f
sys-kernel/coreos-firmware: Fix deletion of unneeded firmware files
The code was tripping up over whitespace, resulting in scary error
messages, and was more cumbersome than it needed to be.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-10-10 18:25:36 +01:00
James Le Cuirot
303f2a6716
sys-kernel/coreos-firmware: Partially resync with Gentoo
KV_FULL wasn't being set before, so it was actually scanning all modules
under /lib/modules, not just the ones for the current kernel version.

Hopefully, we can eventually create an env file so that we can use the
upstream ebuild directly, but this at least brings them closer in line.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-10-10 17:11:44 +01:00
Kai Lüke
1fa8f4428e
Merge pull request #3027 from flatcar/ader1990/increase_boot_partition
Increase partition sizes
2025-10-10 16:21:37 +02:00
Kai Lüke
5b3fd36130
Merge pull request #3357 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-10-10 16:18:53 +02:00
Flatcar Buildbot
6b346cee4f Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2025-10-10 14:06:46 +00:00
Dongsu Park
ebb732d57d
Merge pull request #3352 from flatcar/dongsu/afterburn-5.10
overlay afterburn: update to 5.10.0
2025-10-10 13:13:54 +02:00
Kai Lueke
f0c94a9107 vm_image_util: Use larger rootfs for AWS and Akamai images
The default rootfs size for the .bin raw iamge is a bit smaller now
because we still want to be able to flash to 8 GB storage. However, the
VM images still have the 6 GB rootfs as before. Some cloud images
weren't using the larger VM rootfs size though but the raw image rootfs
size.
Specify that AWS and Akamai images should use the larger VM rootfs size.

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-10 17:00:59 +09:00
flatcar-ci
ac588b858c New version: main-4483.0.0-nightly-20251009-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-09 21:00:32 +00:00
Adrian Vladu
07cc8512ef Increase partition sizes
The /usr partition was too small some time ago and we gained space again
by switching to btrfs with compression and also removing/splitting out
content. The /boot partition is too small all the time and we added
many hacks to fit the kernel+initrd under 60 MB. To handle the case
where the /oem partition is too small for the A/B-updated OEM extensions
we added the workaround to write the inactive one (or both) to the
rootfs. All this would not be needed if we had increased the partition
sizes a few years ago so that we could now assume that most nodes have
the increased sizes and we can make use of them. Still, we can do it now
to prepare for the next time when in five or ten years we have serious
size problems and run out of workarounds. We have to do the change now
and wait a few years so that most nodes have been provisioned with the
new layout. Then we can drop the workarounds and have a full featured
kernel and initrd, and we can also increase the /usr filesystem to make
use of the larger partition. Ideally we use large enough sizes that we
never have to worry again but since we also want to support small ARM
boards which might only have 8 GB internal storage, let's target this
when increasing the partition sizes. With 1 GB /boot, two 2 GB /usr, and
1 GB /oem partitions we are already at 6 GB, leaving 2 GB for the
rootfs. For now, reduce the extracted /usr update payload size to the
current combined filesystem and verity data usage (same size as before).
The rootfs size was also reduced for the initial .bin image so that we
don't overshoot 8 GB - it will be resized to fit the disk anyway on
first boot.

Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2025-10-10 00:56:42 +09:00
Dongsu Park
d4314c5145 changelog: add update to Afterburn 5.10.0
Signed-off-by: Dongsu Park <dongsu@dpark.io>
2025-10-09 12:34:45 +02:00
Dongsu Park
3565b8ec45 overlay afterburn: adjust Flatcar patch for 5.10
Adjust Flatcar patch for afterburn 5.10.

Signed-off-by: Dongsu Park <dongsu@dpark.io>
2025-10-09 12:34:05 +02:00
Dongsu Park
1a40dd53d1 overlay afterburn: update to 5.10.0
Update coreos-base/afterburn to 5.10.0.
We need to skip 5.9.0, which has regressions around Azure IMDS.

Signed-off-by: Dongsu Park <dongsu@dpark.io>
2025-10-09 12:33:49 +02:00
Kai Lüke
eb3aadda98
Merge pull request #3241 from flatcar/kai/initrd-in-usr
Use a minimal initrd to switch to the full initrd stored in /usr
2025-10-09 07:57:45 +02:00
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
flatcar-ci
ee4b7c936b New version: main-4482.0.0-nightly-20251008-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-08 21:00:31 +00:00
James Le Cuirot
606e941efd
Merge pull request #3351 from mery-top/macos-hvf-support
Add hvf acceleration support for macOS
2025-10-08 17:25:06 +01:00
Meerthika
35a23b9c8a
Add changelog for macOS acceleration
Signed-off-by: Meerthika <meerthikasrrajendrans@gmail.com>
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-10-08 17:22:41 +01:00
Meerthika
8a1fbf2ef4 Add hvf acceleration support for macOS
Signed-off-by: Meerthika <meerthikasrrajendrans@gmail.com>
2025-10-08 21:25:08 +05:30
Krzesimir Nowak
8a095cf544
Merge pull request #3295 from flatcar/buildbot/weekly-portage-stable-package-updates-2025-09-22
Weekly portage-stable package updates 2025-09-22
2025-10-08 08:11:59 +02:00
flatcar-ci
5352f0567e New version: main-4481.0.0-nightly-20251007-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2025-10-07 21:00:31 +00: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>
2025-10-06 21:00:27 +00:00
Krzesimir Nowak
0b757af611 changelog: Add entries
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2025-10-06 09:42:41 +02: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
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