Commit Graph

29556 Commits

Author SHA1 Message Date
James Le Cuirot
ac9c3753b3
Drop --root-deps option from board emerge wrappers
This option used to install build dependencies to ROOT instead of /.
This never made much sense, so the option was rendered ineffective from
EAPI 7. The number of ebuilds with older EAPIs has since dwindled to
nothing.

A recent Portage change has made this option now install build
dependencies to ROOT as well as / because this can actually be useful
and doesn't cause breakage.

However, it does make us more prone to cyclic dependencies when
initially populating the board roots. There is no reason for us to use
this option though because its main purpose is to ensure the target
environment has everything it needs to rebuild itself. Given that the
option didn't do anything recently, we evidently don't even require this
for the developer container.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-12 22:08:26 +00:00
James Le Cuirot
a76d1b3f1b
Drop all instances of ineffective --root-deps=rdeps option
This option became ineffective with EAPI 7 and all trace of older EAPIs
has now gone.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-12 22:08:21 +00:00
flatcar-ci
9085e02c75 New version: main-4152.0.0-nightly-20241112-2100 2024-11-12 21:00:29 +00:00
James Le Cuirot
00968ba291
Merge pull request #2434 from flatcar/chewi/new-firmware
Switch from raw to QCOW2 and 2MB to 4MB firmware, adjust firmware variables creation
2024-11-12 12:35:17 +00:00
James Le Cuirot
010afcd35d
sys-boot/mokutil: Install on arm64 now that it supports Secure Boot
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-12 12:02:01 +00:00
James Le Cuirot
5125317506
coreos-base/coreos-sb-keys: Drop unnecessary PK and KEK certificates
These are only needed when you are going to ship DB updates to existing
systems, which we are not going to do. Our EFI variables are only for
testing. End users are expected to use EFI variables provided by their
hosts or hardware vendors. We presumably provided these before because
some PK and KEK does need to be provided, but we can now use the
Microsoft and Red Hat ones provided via Gentoo's edk2 package.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-12 12:02:00 +00:00
James Le Cuirot
c0b58cf56b
Reuse Secure Boot EFI variables image prepared by Gentoo
Rather than starting with a blank image, reuse the image that already
has the Microsoft certificates and the latest DBX revocation list
applied. Gentoo also applies the Red Hat certificates, which we don't
need, but this is okay.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-12 12:01:59 +00:00
James Le Cuirot
e50fe0a7e4
sys-firmware/edk2-aarch64: Drop in favour of edk2-bin
edk2-bin now supports multiple platforms, including QEMU on arm64, so we
no longer need to use Fedora's build. Note that the Secure Boot
implementation is currently insecure as it lacks SMM, which is needed to
protect the EFI variable store.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-12 12:01:58 +00:00
James Le Cuirot
d1ba9b19fb
Switch from raw (.fd) EDK2 firmware images to QCOW2, plus 4MB on amd64
The new arm64 firmware supporting Secure Boot (see next commit) is in
QCOW2 format only, avoiding the extra space taken up by the 64MB
padding. Supporting both raw and QCOW2 images would be messy, so switch
entirely to QCOW2.

Only the 4MB images are in QCOW2 format on amd64, so also switch away
from the 2MB images. 4MB images are now the default for most
distributions as they are needed to apply certain Windows updates.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-12 11:59:40 +00:00
James Le Cuirot
d67c395456
ci-automation: Include --qemu-ovmf-vars in qemu_update test for arm64
Kola's logic for choosing BIOS vs EFI isn't too smart, and not
specifying --qemu-ovmf-vars leads to it passing -bios to QEMU. This
doesn't make sense for arm64, but it did work anyway with the old
firmware in raw format. The new firmware in QCOW2 format doesn't work
this way.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-12 11:59:22 +00:00
Mathieu Tortuyaux
c80760c999
Merge pull request #1783 from flatcar/kai/proxmox-support
OEM: Provide Proxmox images
2024-11-12 12:52:31 +01:00
Mathieu Tortuyaux
c1cd33684b
coreos-base/afterburn: fix instance boots
Without configdrive the instance is failing to boot - this patch is
currently under review on PR#1128 (coreos/afterburn)

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-11-12 12:51:36 +01:00
Mathieu Tortuyaux
6e674b26d3
oem: provide proxmox images
Co-authored-by: Kai Lüke <pothos@users.noreply.github.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-11-12 12:51:36 +01:00
flatcar-ci
f708975b80 New version: main-4151.0.0-nightly-20241111-2100 2024-11-11 21:00:29 +00:00
Dongsu Park
abd28069d6
Merge pull request #2438 from flatcar/linux-6.6.60-main
Upgrade Linux Kernel for main from 6.6.59 to 6.6.60
2024-11-11 16:38:42 +01:00
Flatcar Buildbot
087d5e8bf4 sys-kernel/coreos-sources: Update from 6.6.59 to 6.6.60 2024-11-09 07:04:43 +00:00
flatcar-ci
024fbd7981 New version: main-4148.0.0-nightly-20241108-2100 2024-11-09 02:17:58 +00:00
flatcar-ci
610c7c7197 New version: main-4148.0.0-nightly-20241108-2100-INTERMEDIATE 2024-11-08 21:00:27 +00:00
James Le Cuirot
2bce0a69b9
Merge pull request #2431 from flatcar/chewi/grub-redhat-patches
sys-boot/grub: Apply Red Hat's large patch set (and drop Gentoo's)
2024-11-08 11:58:42 +00:00
Mathieu Tortuyaux
c6d69ef8aa
Merge pull request #2432 from flatcar/go-1.22.9-main
Upgrade Go from 1.22.8 to 1.22.9
2024-11-08 09:22:26 +01:00
Flatcar Buildbot
bf7d649c8e
dev-lang/go: Update from 1.22.8 to 1.22.9 2024-11-08 09:21:47 +01:00
flatcar-ci
5efd7a3bf4 New version: main-4147.0.0-nightly-20241107-2100 2024-11-07 21:00:28 +00:00
James Le Cuirot
e0109ef1c6
sys-boot/grub: Fix fallback mechanism broken by Red Hat's patches
This fix has been submitted to Red Hat. It will hopefully be merged
soon.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-07 14:26:05 +00:00
James Le Cuirot
fb3c9cff98
sys-boot/grub: Apply Red Hat's large patch set (and drop Gentoo's)
We initially thought we would need Red Hat's patch set. Then it looked
like we wouldn't because the TPM Event Log appeared to work without it.
We later discovered that on amd64, it only works with Secure Boot
disabled. The patch set also fixes Secure Boot on arm64, which would
have otherwise needed a couple of patches from Canonical.

We have to drop Gentoo's patches because they conflict, but they don't
affect Flatcar anyway.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-07 14:26:04 +00:00
James Le Cuirot
2fcff863dc
Merge pull request #2430 from flatcar/chewi/virt-firmware
app-crypt/efitools: Drop in favour of app-emulation/virt-firmware
2024-11-07 11:43:45 +00:00
flatcar-ci
97af4e5eb9 New version: main-4146.0.0-nightly-20241106-2100 2024-11-06 21:00:29 +00:00
Mathieu Tortuyaux
f6f07e22ca
Merge pull request #2429 from flatcar/tormath1/nvidia
x11-drivers/nvidia: update to 535.216.01
2024-11-06 19:59:36 +01:00
James Le Cuirot
bcd203ebcb
app-crypt/efitools: Drop in favour of app-emulation/virt-firmware
virt-fw-vars handles X.509 conversion and QCOW2 conversion transparently
and can update all the variables in a single invocation.

Bonus: Asking it to list the variables doesn't cause a segfault due to
the feature not really being implemented. :D

The 00000000-0000-0000-0000-000000000000 owner GUID is what flash-var
used to set, as we didn't specify the -g argument. We don't need to set
a meaningful value as this file is only for testing.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-06 12:04:18 +00:00
James Le Cuirot
86ebb70552
app-emulation/virt-firmware: Import from Gentoo to replace efitools
Unfortunately, it pulls in a number of dependencies.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-11-06 11:58:23 +00:00
Mathieu Tortuyaux
0efb7ffc7a
changelog: add entries
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-11-06 10:18:30 +01:00
Mathieu Tortuyaux
b6a76ca848
x11-drivers/nvidia: update to 535.216.01
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-11-06 10:13:30 +01:00
Mathieu Tortuyaux
8d7e2c3a88
Merge pull request #2428 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2024-11-06 10:03:28 +01:00
Flatcar Buildbot
7dee46f4d8 Update mantle container image to latest HEAD 2024-11-05 21:00:50 +00:00
flatcar-ci
725e44465d New version: main-4145.0.0-nightly-20241105-2100 2024-11-05 21:00:27 +00:00
Mathieu Tortuyaux
5677ea6d60
Merge pull request #2419 from flatcar/linux-6.6.59-main
Upgrade Linux Kernel for main from 6.6.58 to 6.6.59
2024-11-05 11:33:04 +01:00
flatcar-ci
5310817b30 New version: main-4144.0.0-nightly-20241104-2100 2024-11-04 21:00:33 +00:00
flatcar-ci
bd313b34df New version: main-4141.0.0-nightly-20241101-2100 2024-11-02 02:45:31 +00:00
flatcar-ci
50e64c853e New version: main-4141.0.0-nightly-20241101-2100-INTERMEDIATE 2024-11-01 21:00:29 +00:00
Dongsu Park
d44cdc3d53
Merge pull request #2422 from flatcar/buildbot/monthly-glsa-metadata-updates-2024-11-01
Monthly GLSA metadata 2024-11-01
2024-11-01 12:53:46 +01:00
Flatcar Buildbot
2d86f41650 portage-stable/metadata: Monthly GLSA metadata updates 2024-11-01 07:05:51 +00:00
Flatcar Buildbot
d9da11dda3 sys-kernel/coreos-sources: Update from 6.6.58 to 6.6.59 2024-11-01 07:05:04 +00:00
flatcar-ci
4213bb3d15 New version: main-4139.0.0-nightly-20241030-2100 2024-10-30 21:00:27 +00:00
Adrian Vladu
5a76525c84
Merge pull request #2390 from flatcar/ader1990/fix-nfs-read-plus
sys-kernel/coreos-modules: disable CONFIG_NFS_V4_2_READ_PLUS
2024-10-30 15:59:52 +02:00
flatcar-ci
41b5bf0565 New version: main-4138.0.0-nightly-20241029-2100 2024-10-29 21:00:28 +00:00
Krzesimir Nowak
31db0ade6e
Merge pull request #2388 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-10-21
Weekly portage-stable package updates 2024-10-21
2024-10-29 10:33:01 +01:00
flatcar-ci
4de0564675 New version: main-4137.0.0-nightly-20241028-2100 2024-10-28 21:00:29 +00:00
Krzesimir Nowak
1143e75a69 changelog: Add entries 2024-10-28 16:18:03 +01:00
Mathieu Tortuyaux
89d1a57c51
Merge pull request #2413 from flatcar/cacerts-3.106-main
Update ca-certificates in main from 3.105 to 3.106
2024-10-28 09:32:35 +01:00
Flatcar Buildbot
9d2d43bc79 app-misc/ca-certificates: Update from 3.105 to 3.106 2024-10-28 07:09:50 +00:00
Mathieu Tortuyaux
3f04ccb20f
Merge pull request #2406 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2024-10-28 07:44:24 +01:00