34375 Commits

Author SHA1 Message Date
Thilo Fromm
35efeb3ea0 bootengine, init: fix manifest, update version symlinks
Commit 01eea0f of PR https://github.com/flatcar/scripts/pull/3555
introduced  build issue for bootengine and coreos-init; the source
tarball filename reflected in the manifest does not correspond to the
filename used in the ebuild. Hence, the checksum verification fails.

Also, the version symlinks were not updated by the original change.

This change uses the correct filename and checksums and updates the
versions.

Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
2026-03-03 13:13:14 +01:00
Sayan Chowdhury
ed110eeff9
Merge pull request #3741 from flatcar/linux-6.12.74-main
Upgrade Linux Kernel for main from 6.12.73 to 6.12.74
2026-03-03 14:38:16 +05:30
Kai Lüke
7072d08e82
Merge pull request #3555 from flatcar/kai/default-confext
Switch /etc to use confext in mutable mode
2026-03-03 09:58:05 +01:00
Kai Lueke
01eea0f99f Use systemd-confext instead of custom /etc overlay mount
For A/B-updated /etc contents we used a custom overlay mount that
provides the default files through a lowerdir loaded from /usr. Since
then we upstreamed mutable systemd-confext support and now we can switch
to it.
This pulls in https://github.com/flatcar/init/pull/138 and
https://github.com/flatcar/bootengine/pull/115 together with backported
systemd patches that have opened or merged upstream PRs to fix --root=
issues and add a refresh skip check to prevent boot disruptions due to
the multiple daemon reloads and - more important - the missing atomic
remount that would mean /etc is gone for a few milliseconds during boot.
The skip logic works best with verity hashes and thus the default
confext must be a verity extension image.
User-provided confext don't work well yet unless they use verity due to
the missing atomic remount and reliance on the skipping logic. We also
need to look into stacking order and other mutabiliy settings.

The backported systemd patches relate to the following upstream PRs:

https://github.com/systemd/systemd/pull/39843 for
vpick-Don-t-use-openat-directly-but-resolve-symlinks
discover-image-Follow-symlinks-in-a-given-root
sysext-Use-correct-image-name-for-extension-release
test-Add-tests-for-handling-symlinks-with-systemd-sy
Note that the patch in the PR relies on
0859fe3f32774f1e0c787974cc252ff922a1b868 but the backport patch not.

https://github.com/systemd/systemd/pull/39980 for
sysext-Create-mutable-directory-with-the-right-mode
sysext-Skip-refresh-if-no-changes-are-found

https://github.com/systemd/systemd/pull/39991 for
sysext-Get-verity-user-certs-from-given-root

https://github.com/systemd/systemd/pull/40063 for
sysext-Fix-config-file-support-with-root
which relies on https://github.com/systemd/systemd/pull/38250 for
man-sysext.conf-add-systemd-sysext-config-files
sysext-introduce-global-config-file
sysext-support-ImagePolicy-global-config-option

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2026-03-03 17:57:31 +09:00
Kai Lueke
c24579a06c build_sysext: Set daemon reload metadata field
Most sysexts need a daemon reload to get their services (re)started when
systemd-sysext (re)loads extensions after boot. Up to now this was done
through ensure-sysext.service but only when systemd-sysext.service was
restarted. A manual invocation of systemd-sysext did not get the
daemon reload and, e.g., Docker failed to start.
Since the daemon reload is done when at least one extension needs it
and we can say that this is likely true for most of the extensions we
build, we can unconditionally set it for now and see if we need to
make it conditional per sysext later, e.g., when one could only have
plain CLI extensions and no service extensions such as Docker/containerd
or Podman (and even NVIDIA/ZFS require services after load).

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2026-03-03 17:57:31 +09:00
Kai Lueke
58f7884c6c sys-apps/systemd: Update to 258.2
Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2026-03-03 17:57:31 +09:00
Kai Lueke
c33913752a acct-group/clock: New package
From 7f0d7d0eb24afe14cd62bfa78cb9e139b9f824d1

Signed-off-by: Kai Lueke <kailuke@microsoft.com>
2026-03-03 17:57:31 +09:00
Kai Lüke
ce6f63d2a3
Merge pull request #3754 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2026-03-03 09:56:43 +01:00
Flatcar Buildbot
76f75f830f Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2026-03-03 08:49:45 +00:00
flatcar-ci
8e1065310a New version: main-4627.0.0-nightly-20260302-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2026-03-02 21:00:21 +00:00
James Le Cuirot
4e60a7b2a8
Merge pull request #3750 from flatcar/branding
Drop the "Oklo" release codename and use Gentoo's branding.eclass
2026-03-02 13:02:03 +00:00
James Le Cuirot
6b07e89a18
coreos-overlay: Drop broken scripts symlinks
These have probably have been broken for years.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-03-02 12:59:10 +00:00
James Le Cuirot
d70cfcaab9
set_lsb_release: Set some fields dynamically from the base profile
This leverages the branding eclass that was recently added to Gentoo.

Since originally preparing this commit, these fields were added to our
make.conf, but setting them in the profile is more versatile, allowing
for downstreams.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-03-02 12:59:09 +00:00
James Le Cuirot
b82850d1c9
set_lsb_release: Drop the "Oklo" release codename
It was never updated in a meaningful way. It was only used directly in
lsb_release, which is a dead standard. It was included in the os-release
`PRETTY_NAME` but not as a field on its own.

Closes: https://github.com/flatcar/scripts/pull/88
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-03-02 12:59:07 +00:00
James Le Cuirot
e4b22372ce
Delete sdk_container/.repo/manifests/os-release
As far as I can tell, this has never been used.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-03-02 12:59:06 +00:00
James Le Cuirot
70a82c5f0b
Merge pull request #3752 from flatcar/chewi/portage-profile-warning
build_sysext: Squash build Portage profile parsing failure warning
2026-03-02 10:24:12 +00:00
James Le Cuirot
a027b1e11f
Merge pull request #3751 from flatcar/chewi/terminfo
sys-libs/ncurses: Disable minimal USE flag to install full terminfo db
2026-03-02 09:59:01 +00:00
flatcar-ci
fb4d811d03 New version: main-4624.0.0-nightly-20260227-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2026-02-28 02:46:33 +00:00
flatcar-ci
e53a6ca42f New version: main-4624.0.0-nightly-20260227-2100-INTERMEDIATE
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2026-02-27 21:00:22 +00:00
Krzesimir Nowak
3eb73a0f7e
Merge pull request #3759 from flatcar/krnowak/drop-pillow
Drop dev-python/pillow from SDK
2026-02-27 21:55:51 +01:00
Krzesimir Nowak
199b602fa1 .github: Remove dropped packages from automation
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-27 13:01:57 +01:00
Krzesimir Nowak
18aaf99332 dev-python/olefile: Drop the package
It was a dependency of the dev-python/pillow package, which we
dropped.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-27 13:01:57 +01:00
Krzesimir Nowak
fe08215638 dev-python/pillow: Drop the package
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-27 13:01:57 +01:00
Krzesimir Nowak
b27e1ef548 overlay profiles: Mark dev-python/pillow as provided
In next weekly updates batch, pillow gained a dependency on
dev-python/pybind11, which pulls in dev-cpp/eigen, which pulls in some
eclasses and more deps. This is too annoying for a tool that is
effectively of no use for Flatcar. We should be able to get away with
just "providing" the package, since docutils (the only package that
pulls dev-python/pillow) is documented to handle missing pillow
gracefully.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-27 13:00:41 +01:00
flatcar-ci
8d5225a469 New version: main-4620.0.0-nightly-20260223-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2026-02-23 21:00:26 +00:00
James Le Cuirot
28166fcd60
build_sysext: Squash build Portage profile parsing failure warning
The Portage config is visible through the sysext root directory via
overlayfs while installing packages, but the overlay gets unmounted
before equery is called. Use the board root's config instead.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-02-23 17:49:09 +00:00
James Le Cuirot
f6f1c2f641
sys-libs/ncurses: Disable minimal USE flag to install full terminfo db
This is needed to support modern terminals like foot and Alacritty.
These take up around 7.5MB more, but the btrfs compression should reduce
this considerably.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-02-23 11:20:44 +00:00
flatcar-ci
bcd829101b New version: main-4617.0.0-nightly-20260220-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2026-02-21 02:44:35 +00:00
flatcar-ci
89481c7478 New version: main-4617.0.0-nightly-20260220-2100-INTERMEDIATE
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
2026-02-20 21:00:26 +00:00
Krzesimir Nowak
420c84fe2e
Merge pull request #3641 from flatcar/buildbot/weekly-portage-stable-package-updates-2026-01-12
Weekly portage-stable package updates 2026-01-12
2026-02-20 16:41:26 +01:00
Krzesimir Nowak
107ab588e7 changelog: Add entries
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 15:25:00 +01:00
Krzesimir Nowak
634685563d overlay coreos/user-patches: Add a patch for app-containers/containerd
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
0e130f4ac8 overlay sys-fs/overlaybd: Another patch fixing build with gcc 15
This time in overlaybd itself. Also regenerate the offline build
patch, so it can be easily applied using `git am`.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
4cb33d02c7 overlay sys-fs/overlaybd: Append a build fix to photon cross patch
It is not exactly a cross fix, but it may serve as a single place for
photon fixes. This time overlaybd stopped compiling with gcc15 due to
missing inclusion of cstdint to get a definition of uint64_t. Most
likely some other header used to pull it in, but now it does not.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
9774ded683 build_packages: Break a new circular dependency
Looks like enabling sssd in sys-auth/pambase created a new cycle:

sys-auth/pambase[sssd] -> sys-auth/sssd -> sys-apps/shadow[pam] -> sys-auth/pambase

Let's break it up at pambase. Also fix a mistake in a comment and sort
the USE flags alphabetically.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
20596288ae build_library/catalyst_toolchains: Copy binaries from sysroot too
Any meson package now uses sysroot.eclass as a part of the cross-file
creation and the eclass requires ld.so and ldd to be available in
${ROOT}/usr/bin, so copy over the bin and sbin directories too, just
in case.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
2cccf3877a overlay profiles: Add accept keywords for sys-libs/libselinux
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
f66ed629c3 sys-libs/libselinux: Add our ebuild fixing some python issues
Hopefully this will be taken by upstream too, so it won't be
clobberred on next update.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
3b393324da overlay coreos/config: Fix agent binaries locations
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
316c244709 overlay coreos/config: Add a gcc15 workaround for net-analyzer/netperf
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
59ef07e24f build_library: Fix setting gcc profile with latest gcc-config
In order to fix some bash-completion issues, the output of "gcc-config
-l" has changed slightly - it received one more leading space in the
output.

Old output:

 [1] aarch64-cros-linux-gnu-15 *

New output:

  [1] aarch64-cros-linux-gnu-15 *

This has added another field from cut's point of view, as it was
splitting the line into fields by single spaces, which means that
instead of getting "aarch64-cros-linux-gnu-15" we were getting
"[1]". This has caused grep to match nothing, setting the error status
in PIPESTATUS and finally a function failure.

Instead of fiddling with leading empty fields, just strip the leading
spaces, dammit.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
7d1c684a0f .github: Update package list
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
3753b0948a dev-perl/PerlIO-utf8_strict, virtual/perl-XSLoader: Drop unused packages
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
81bdd8e2b4 overlay coreos/user-patches: Regenerate patches for sys-block/thin-provisioning-tools
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
e7075f68be overlay coreos/user-patches: Regenerate patches for sys-auth/pambase
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
0656bf04b7 overlay coreos/user-patches: Regenerate patches for sys-apps/systemd
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
86df9b89bc overlay coreos/user-patches: Update a patch for sec-policy packages
Dropped a modification in system/logging module - it was redundant.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
ffde32992a overlay profiles: Move accept keywords for dev-libs/xxhash to base profile
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
1a0c41b4de overlay profiles: Move accept keywords for sys-fs/erofs-utils to base profile
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00
Krzesimir Nowak
f805e9346c overlay profiles: Drop accept keywords for sys-block/thin-provisioning-tools
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-20 12:13:38 +01:00