30686 Commits

Author SHA1 Message Date
Krzesimir Nowak
ae10cb74ce changelog: Add an entry 2025-04-24 09:08:55 +02:00
flatcar-ci
c77664a25e New version: main-4314.0.0-nightly-20250423-2100 2025-04-23 21:00:29 +00:00
Krzesimir Nowak
fb2682ddb6
Merge pull request #2846 from flatcar/krnowak/qemu-script
Simplify and improve flatcar_production_qemu*.sh script
2025-04-23 15:15:43 +02:00
James Le Cuirot
5c04d0fcf6
Merge pull request #2837 from flatcar/chewi/dracut
Upgrade Dracut to 106, use its sysroot feature, fix CPU microcode
2025-04-23 13:52:26 +01:00
James Le Cuirot
2af957f377
sys-firmware/intel-microcode: Don't install the split microcode
This is only needed for direct loading by the kernel, which is
dangerous, and we include all the microcode in the initrd anyway.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-23 13:51:12 +01:00
James Le Cuirot
7b3aac22d4
sys-firmware/intel-microcode: Fix inclusion of microcode in the initrd
The microcode was accidentally dropped from Flatcar a while back because
Gentoo started telling Dracut to not include it when USE=-initramfs.
Flatcar disabled that flag because the microcode is installed to /boot.
This is only done under the board root though, not in the final image,
so there's no harm in enabling it.

That Dracut setting also affected the AMD microcode, which is part of
coreos-firmware, so this fixes that too.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-23 13:51:11 +01:00
James Le Cuirot
959e0715a9
sys-apps/systemd: Avoid initrd bloat by using OpenSSL instead of gcrypt
systemd-journal's Forward Secure Sealing feature requires gcrypt, but
Flatcar doesn't need it.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-23 13:51:10 +01:00
James Le Cuirot
e5ef9e4f36
sys-kernel/coreos-kernel: Adapt for new Dracut + bootengine with sysroot
Dracut includes native binaries that are executed during the creation of
the initrd, so it always needs to be installed to /. For now, it expects
to find its modules in the sysroot, so it needs to be installed there
too, though that may change.

bootengine only needs to be installed to sysroot for its Dracut modules.
The update-bootengine tool is a Bash script, so it doesn't really need
to be installed to /.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-23 13:51:09 +01:00
Krzesimir Nowak
7fc5ec8b50 build_library/qemu_template.sh: Add support for primary disk options 2025-04-23 14:41:19 +02:00
James Le Cuirot
841cf196d7
sys-kernel/dracut: Heavily patch for the better sysroot functionality
This is code I have submitted upstream that has not yet been merged.
This also includes a small "catch up" patch from 106 to current main for
both a clean base and because these changes actually look important.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-23 12:25:47 +01:00
James Le Cuirot
9bdf3ef1fc
sys-kernel/dracut: Disable the dracut-cpio feature, which requires Rust
Flatcar can't benefit from this performance boost for several reasons,
the main one being the use of binary packages.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-23 12:25:45 +01:00
James Le Cuirot
092e50f8e3
sys-kernel/dracut: Use Gentoo package instead, upgrading to 106
Apply our patch using user-patches instead.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-23 12:25:44 +01:00
flatcar-ci
1522283487 New version: main-4313.0.0-nightly-20250422-2100 2025-04-22 21:00:26 +00:00
Krzesimir Nowak
df17f6b672 build_library/qemu_template.sh: Add support for extra disks 2025-04-22 17:19:38 +02:00
Krzesimir Nowak
36ee8ed43a build_library/qemu_template.sh: Simplify qemu execution
The final part of the script differed only the name of the qemu binary
to execute and in network device driver (virtio-net-pci on amd64 vs
virtio-net-device on arm64). virtio-net-pci seems to be working also
on arm64, so simplify the code to avoid repetition.
2025-04-22 17:19:38 +02:00
Krzesimir Nowak
b3dd088469 build_library/qemu_template.sh: Some whitespace fixes 2025-04-22 17:19:38 +02:00
Krzesimir Nowak
2ca63a3a82 build_library/qemu_template.sh: Simplify mounting VM image
There's no need to differentiate between amd64 and arm64 boards here
any more. This also adds bootindex=1 option to the -device flag, so we
can pass more secondary disks without affecting the boot order.
2025-04-22 17:19:38 +02:00
James Le Cuirot
8fae246f25
Merge pull request #2835 from flatcar/chewi/pre-dracut
Various changes in preparation for upgrading Dracut
2025-04-22 14:24:25 +01:00
James Le Cuirot
14398067d5
build_library: Change extraction script to xz and rewrite to be simpler
This version writes fewer temporary files and tries cpio multiple times
for concatenated archives again.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:14:02 +01:00
James Le Cuirot
d1a38bfa94
sys-kernel/coreos-modules: Compress initrd with xz rather than zstd
Again, zstd is faster but we're getting seriously short on space. Unlike
the kernel itself, this applies to both amd64 and arm64.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:14:01 +01:00
James Le Cuirot
48ba5fbc6d
sys-kernel/coreos-modules: Compress kernel with xz rather than zstd
zstd is faster but we're getting seriously short on space.
Unfortunately, the arm64 kernel still cannot be compressed, but it has
benefited from another space saving measure recently, and GRUB also
takes up less space in /boot.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:14:00 +01:00
James Le Cuirot
a072bde74c
sys-apps/systemd: Bump to v257.5 for the SDK only
We need this for dracut-install to have JSON support. It doesn't matter
that the Flatcar image will still have v256.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:13:59 +01:00
James Le Cuirot
6237a60988
build_dev_binpkgs: Only build packages available to the board profile
Updating only the SDK to systemd-257 caused this script to break, as it
saw this version being pulled in as a BDEPEND and then tried to build it
using the board profile. See the comment for details.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:13:59 +01:00
James Le Cuirot
78167629ba
build_dev_binpkgs: Refactor the script with better Bash techniques
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:13:58 +01:00
James Le Cuirot
7073a6a7b6
sys-kernel/coreos-kernel: Add missing dependencies
These dependencies are always present in CI by the time this package
gets built, but this may not be the case when building manually. This
leads to gaps in the initrd and ultimately failed boots.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:13:57 +01:00
James Le Cuirot
3c2a0527e0
setup_board: Add ldconfig wrapper for non-native arches
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:13:56 +01:00
James Le Cuirot
688bb56a3d
sys-auth/google-oslogin: Install soname symlinks and general tidy up
The missing soname symlinks were causing ldconfig to create them later,
breaking the sandbox. The upstream Makefile installs them for you, so
let's use it even though it needs some taming.

This adds the systemd timer to refresh the NSS cache. This seems
important, and I can't see any reason to omit it.

This also moves the binaries from /usr/libexec to /usr/bin. Upstream has
always put them in /usr/bin, and putting them elsewhere requires tweaks.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-04-22 13:13:54 +01:00
Krzesimir Nowak
47e60959f1
Merge pull request #2826 from flatcar/buildbot/weekly-portage-stable-package-updates-2025-04-14
Weekly portage-stable package updates 2025-04-14
2025-04-22 09:48:59 +02:00
flatcar-ci
fac8e2bdad New version: main-4312.0.0-nightly-20250421-2100 2025-04-21 21:00:27 +00:00
flatcar-ci
00974a9ca4 New version: main-4308.0.0-nightly-20250417-2100 2025-04-17 21:00:27 +00:00
Mathieu Tortuyaux
5e19ece49d
Merge pull request #2834 from flatcar/firmware-20250410-main
Upgrade Linux Firmware in main from 20250311 to 20250410
2025-04-17 15:35:18 +02:00
Flatcar Buildbot
071f053414 sys-kernel/coreos-firmware: Update from 20250311 to 20250410 2025-04-17 07:05:21 +00:00
flatcar-ci
f35b58126c New version: main-4307.0.0-nightly-20250416-2100 2025-04-16 21:00:29 +00:00
Mathieu Tortuyaux
0e2954142a
Merge pull request #2833 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-04-16 15:31:13 +02:00
Flatcar Buildbot
d7212c7fdb Update mantle container image to latest HEAD 2025-04-16 13:25:36 +00:00
Jan Bronicki
0b40f8a691
Merge pull request #2817 from flatcar/update-badges-with-socials
docs: Add Slack follow badge to README
2025-04-16 15:25:21 +02:00
Krzesimir Nowak
2ae9be01c9 changelog: Add entries 2025-04-16 11:55:10 +02:00
Krzesimir Nowak
1bc4b7251a overlay profiles: Drop accept keywords for dev-util/bpftool 2025-04-16 11:55:10 +02:00
Krzesimir Nowak
0647ee497c overlay profiles: Drop user patches for dev-lang/go
The updated package brought a similar patch in.
2025-04-16 11:55:10 +02:00
Krzesimir Nowak
c3b56d2686 overlay profiles: Add accept keywords for perl and go 2025-04-16 11:55:10 +02:00
Krzesimir Nowak
5303010459 overlay profiles: Add accept keywords for dev-lang/python 2025-04-16 11:55:10 +02:00
Flatcar Buildbot
d1bf47962a sys-process/audit: Sync with Gentoo
It's from Gentoo commit 249c898c9d7b7a4dc664f05c62e9a244a4715ebd.
2025-04-16 11:55:10 +02:00
Flatcar Buildbot
81543a0150 sys-libs/tevent: Sync with Gentoo
It's from Gentoo commit 52733d291cf215aada643026f1af54f4fff969e3.
2025-04-16 11:55:10 +02:00
Flatcar Buildbot
83b6c2ef13 sys-libs/tdb: Sync with Gentoo
It's from Gentoo commit cf4fb4e4fd01135c544601766e2e806321617121.
2025-04-16 11:55:10 +02:00
Flatcar Buildbot
e7c5237746 sys-libs/talloc: Sync with Gentoo
It's from Gentoo commit 2370de9fe60156a56147f3733366fb3a96047b8a.
2025-04-16 11:55:10 +02:00
Flatcar Buildbot
28f50d12db sys-libs/readline: Sync with Gentoo
It's from Gentoo commit df1a6494ace381a298fe3a8dfe4649cdc16daecf.
2025-04-16 11:55:10 +02:00
Flatcar Buildbot
faf8a49325 sys-libs/cracklib: Sync with Gentoo
It's from Gentoo commit b7a013abfee8f7264833b97631a986f129ff33da.
2025-04-16 11:55:10 +02:00
Flatcar Buildbot
6eb38bd0c5 sys-fs/xfsprogs: Sync with Gentoo
It's from Gentoo commit 6744d0bb2d9010c12ee3234219da4fdfdd8a51ac.
2025-04-16 11:55:10 +02:00
Flatcar Buildbot
9851faa017 sys-fs/cryptsetup: Sync with Gentoo
It's from Gentoo commit 8d29369deb1eb55ef56a53b91fd226a32f5b3d77.
2025-04-16 11:55:10 +02:00
Flatcar Buildbot
eaf15b8070 sys-devel/patch: Sync with Gentoo
It's from Gentoo commit 7c5d68843aa65291523f5062fc056cf2fedbe322.
2025-04-16 11:55:10 +02:00