34958 Commits

Author SHA1 Message Date
James Le Cuirot
835069d985
Merge pull request #4004 from flatcar/chewi/oem-rework
Convert OEM packages to sysext, drop several images, revamp Vagrant support
2026-05-13 17:47:01 +01:00
James Le Cuirot
b7e712c0cc
coreos-devel/board-packages: Drop the OEM sysext dependencies
It is no longer necessary to include these as they are explicitly built
with --onlydeps in build_sysext_packages().

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:24 +01:00
James Le Cuirot
d4350d70d8
virtualbox_ovf: Modernise VirtualBox OVF (including for Vagrant)
* 2 CPUs instead of 1 like QEMU.
* 2GB RAM instead of 1GB like QEMU.
* ICH9 chipset instead of PIIX3.
* virtio storage controller instead of IDE.
* VMware SVGA display adapter instead of VBoxVGA.
* USB tablet pointer instead of PS/2 mouse.
* UEFI instead of BIOS.
* UTC clock instead of local.

We don't enable any of the DRM drivers for any of VirtualBox's display
adapters, so it uses efifb regardless, but apparently VMSVGA is best for
Linux guests.

For UEFI, VirtualBox actually uses EDK2. It also supports Secure Boot,
but I haven't tested that.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:23 +01:00
James Le Cuirot
8afaa6cc7a
vm_image_util: Share the Vagrant metadata JSON between providers
We currently publish separate metadata for each provider, VirtualBox and
Parallels, but you're supposed to combine these and let Vagrant choose
the provider.

Rewriting an existing output file is a little weird, but this use of jq
makes it relatively safe.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:22 +01:00
James Le Cuirot
aa09e10d9d
build_library: Refresh our Vagrant support
The CoreOS support we have been carrying was merged upstream years ago.
The network configuration still needs special handling because our
cloud-init is called coreos-cloudinit, breaking the detection.

Flatcar's documentation used to point users at coreos-vagrant. This is
long dead and used the old Ignition VirtualBox support, which no longer
works. Rather than revive that, we can capture the essence of what
coreos-vagrant did in our base Vagrantfile.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:21 +01:00
James Le Cuirot
ac794ab9e9
Convert remaining OEM packages to sysexts and rework how they are built
common-oem-files was a giant hack. oem-release can now be easily be
generated from metadata embedded in the sysext image itself. grub.cfg is
often just a couple of lines, so there's no point in having all this
complex logic around generating it, especially when that logic has some
exceptions anyway. It's far easier to just explicitly store each variant
under build_library/oem. The list of OEMs is now generated by looking
for coreos-base/oem-*/*.ebuild.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:20 +01:00
James Le Cuirot
7a856da41a
ci: Fix bad handling of image format names
This is what caused vagrant_vmware_fusion to not be built.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:19 +01:00
James Le Cuirot
8234beeec5
Drop the vagrant_vmware_fusion image
It turns out we haven't even been building this for years because of a
CI bug. There's no point in reviving it now.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:18 +01:00
James Le Cuirot
5ae7248e68
Drop the vagrant_virtualbox image in favour of the vagrant image
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:17 +01:00
James Le Cuirot
9c880f315b
Drop the vmware_insecure image
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:16 +01:00
James Le Cuirot
9ec76d08da
Drop support for Equinix Metal (Packet)
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:15 +01:00
James Le Cuirot
6479325f11
Drop support for Rackspace
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:14 +01:00
James Le Cuirot
105dd22f9d
sys-kernel/bootengine: Bump for better oem.id handling and vboxguest
This allows us to drop an Ignition patch.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:13 +01:00
James Le Cuirot
23f39ca4b0
sys-kernel/coreos-modules: Enable the vboxguest kernel module
This allows the VirtualBox image to actually boot. It broke when
upstream Ignition changed how the VirtualBox support works.

VirtualBox supports arm64 these days, so we could enable this in the
common config, but we don't currently produce an arm64 VirtualBox image,
and I don't propose that we start now.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:11 +01:00
James Le Cuirot
42975c0251
coreos-base/coreos-cloudinit: Bump for new OEM config location
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 17:45:11 +01:00
James Le Cuirot
5cfe062996
build_sysext: Populate SYSEXT_ID/NAME/VERSION_ID/HOME_URL/BUG_REPORT_URL
These extension-release.d fields are equivalent to their non-SYSEXT
os-release counterparts. SYSEXT_ID is taken from the sysext's name as
given to build_sysext. SYSEXT_NAME, SYSEXT_VERSION_ID, and
SYSEXT_HOME_URL are taken from the package if only one is given.
SYSEXT_NAME is the new name for the OEM_NAME variable.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 16:45:45 +01:00
James Le Cuirot
a0d243a8ab
build_sysext: Safely quote the extension-release.d fields
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 16:45:44 +01:00
James Le Cuirot
c3af713d26
Drop the per-OEM USE flags
Having a USE flag per OEM is unnecessary when we only really need to
know whether the package will be installed in an OEM sysext or not. A
single USE flag could do this, but our existing flatcar_target() helper
avoids the complexity of binpkg-multi-instance. The flag names were also
prone to conflicts (e.g. qemu) and we don't currently make use of them
anyway.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 16:45:43 +01:00
James Le Cuirot
edbea539cc
build_sysext: Ensure sysexts are entirely built from binary packages
It is no longer necessary to build the meta packages from source as they
are now covered by build_packages.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 16:45:42 +01:00
James Le Cuirot
b41ab0fdd8
build_packages: Exclude OEM sysext packages when running eclean packages
Also simplify the exclusion mechanism while we're at it.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 16:45:41 +01:00
James Le Cuirot
83fe91eff3
sys-apps/baselayout: Don't need to explicitly create /oem any more
It's handled by dumb-tmpfiles-proc.sh.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 16:45:40 +01:00
James Le Cuirot
f556d35f89
build_library: Fix "get_sdk_libdir: command not found" errors
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2026-05-13 16:45:39 +01:00
flatcar-ci
0fcd8b46bd New version: main-4698.0.0-nightly-20260512-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4698.0.0-nightly-20260512-2100
2026-05-12 21:00:32 +00:00
Mathieu Tortuyaux
e46ad094cb
Merge pull request #4016 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2026-05-12 13:29:57 +02:00
Flatcar Buildbot
271c7c99b6 Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2026-05-12 10:10:55 +00:00
flatcar-ci
6954721bdb Revert failed version back to 4692.0.0+nightly-20260506-2100 2026-05-12 10:10:34 +00:00
Dongsu Park
5c7e1af744
Merge pull request #4011 from flatcar/dongsu/dracut-regen-manifest
portage-stable dracut: regenerate manifest
2026-05-12 11:45:11 +02:00
Dongsu Park
5da8a3c835 portage-stable dracut: regenerate manifest
Regenerate manifest of `sys-kernel/dracut` to fix build issues like
below that started happening since changes of the upstream repo name.

```
!!! Fetched file: dracut-109.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      556060
!!! Expected: 556054
```

Signed-off-by: Dongsu Park <dongsu@dpark.io>
2026-05-11 16:44:29 +02:00
Dongsu Park
cbfd136431
Merge pull request #4005 from flatcar/linux-6.12.87-main
Upgrade Linux Kernel for main from 6.12.86 to 6.12.87
2026-05-08 17:48:02 +02:00
Flatcar Buildbot
95088f37ff sys-kernel/coreos-sources: Update from 6.12.86 to 6.12.87
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2026-05-08 07:34:44 +00:00
Dongsu Park
cadf496880
Merge pull request #4003 from flatcar/linux-6.12.86-main
Upgrade Linux Kernel for main from 6.12.85 to 6.12.86
2026-05-08 09:07:26 +02:00
Flatcar Buildbot
6955ae15a3 sys-kernel/coreos-sources: Update from 6.12.85 to 6.12.86
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2026-05-07 08:00:09 +00:00
flatcar-ci
6d0be39a2c New version: main-4692.0.0-nightly-20260506-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4692.0.0-nightly-20260506-2100
2026-05-06 21:00:31 +00:00
Krzesimir Nowak
a036a283af
Merge pull request #3999 from flatcar/krnowak/update_engine
overlay coreos-base/update_engine: Drop deprecated cgroupv1 option
2026-05-06 21:40:53 +02:00
Krzesimir Nowak
046c2bf845 overlay coreos-base/update_engine: Drop deprecated cgroupv1 option
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-05-06 15:58:47 +02:00
Krzesimir Nowak
832b28a29a
Merge pull request #3984 from flatcar/krnowak/scavenge-logs
Drop dmesg, df and mount output, add build log scavenging and uploading
2026-05-06 11:22:13 +02:00
flatcar-ci
99dccd23cc New version: main-4691.0.0-nightly-20260505-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4691.0.0-nightly-20260505-2100
2026-05-05 21:00:34 +00:00
Adrian Vladu
7c15a061f8
Merge pull request #3854 from flatcar/ader1990/erofs-tools
overlay coreos-base/coreos: add erofs-utils
2026-05-05 12:53:05 +03:00
flatcar-ci
bd7e729047 New version: main-4690.0.0-nightly-20260504-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4690.0.0-nightly-20260504-2100
2026-05-04 21:00:35 +00:00
Mathieu Tortuyaux
54f89caa16
Merge pull request #3991 from flatcar/linux-6.12.85-main
Upgrade Linux Kernel for main from 6.12.84 to 6.12.85
2026-05-04 17:51:46 +02:00
Mathieu Tortuyaux
690e13e8ce
Merge pull request #3994 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2026-05-04 17:51:34 +02:00
Flatcar Buildbot
71d6ff8c38 Update mantle container image to latest HEAD
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2026-05-04 12:41:50 +00:00
Adrian Vladu
0815cdf5be
Merge pull request #2359 from flatcar/ader1990/fix-arm64-vnc-console-output
sys-kernel: enable kernel virtio vnc output
2026-05-04 15:41:35 +03:00
Dongsu Park
c4b6797a89
Merge pull request #3990 from flatcar/buildbot/monthly-glsa-metadata-updates-2026-05-01
Monthly GLSA metadata 2026-05-01
2026-05-04 13:02:54 +02:00
Flatcar Buildbot
84255d5da1 sys-kernel/coreos-sources: Update from 6.12.84 to 6.12.85
Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
2026-05-01 07:48:35 +00:00
Flatcar Buildbot
fa3b9c0ad2 portage-stable/metadata: Monthly GLSA metadata updates
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-01 07:48:21 +00:00
flatcar-ci
400b4dabd4 New version: main-4686.0.0-nightly-20260430-2100
Signed-off-by: flatcar-ci <infra+ci@flatcar-linux.org>
main-4686.0.0-nightly-20260430-2100
2026-04-30 21:00:51 +00:00
Krzesimir Nowak
e1d8ad669c build_library/catalyst: Do not clean up tmp files from catalyst run
This is to give ci-automation a chance to scavenge the logs that are
stored in the tmp directory.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-04-30 14:54:23 +02:00
Krzesimir Nowak
f373f06fb7 *: Scavenge for configure logs and upload them to bincache
This searches for portage logs and configure logs after a build, and
uploads them to bincache. This is currently only done for SDK builds,
SDK container builds and package builds. This probably could be
extended to catch logs for sysext builds, but this was annoying to
implement, IIRC.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-04-30 14:54:23 +02:00
Krzesimir Nowak
52c5134e1c common: Kill the verbose mount, df and dmesg logging on every failure
This was introduced to see if it can help us pinpoint some weird
issues we used to have when suddenly we were not able to create a
directory or stuff like that. It was actually never useful, and is
always annoying to scroll through this output to see the actual error
that caused the build to fail.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-04-30 14:54:23 +02:00