28241 Commits

Author SHA1 Message Date
James Le Cuirot
72a67fc659
Use my mantle branch that supports QCOW2 firmware and fixes arm64 SB
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-10-15 11:50:20 +05:30
James Le Cuirot
7becada8cf
grub_install.sh: Remove redundant BOARD_GRUB logic
We always use the board's GRUB now.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-10-15 11:50:20 +05:30
James Le Cuirot
950354be03
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-10-15 11:50:19 +05:30
James Le Cuirot
24ff921b66
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-10-15 11:50:19 +05:30
James Le Cuirot
193e7ad9e3
sys-boot/mokutil: Install on arm64 SDK now that it supports Secure Boot
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-10-15 11:50:11 +05:30
James Le Cuirot
a9e737fbfe
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-10-15 11:46:33 +05:30
James Le Cuirot
06b5426d41
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-10-15 11:46:33 +05:30
James Le Cuirot
36ef9ae143
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-10-15 11:46:33 +05:30
James Le Cuirot
b5e923e89b
sys-firmware/edk2-ovmf-bin: Drop in favour of edk2-bin, bump to 202408
Gentoo has moved this package so that it can support multiple platforms.
The newer version is needed for Secure Boot support on arm64. This is
newer than the version that QEMU is currently pinned to so unpin it via
the USE flag.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-10-15 11:46:33 +05:30
James Le Cuirot
db7e454593
sys-firmware/edk2-bin: Import from Gentoo to replace edk2-ovmf-bin
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-10-15 11:46:33 +05:30
James Le Cuirot
277757814b
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 will probably be
assigned a real one later.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-10-15 11:46:32 +05:30
James Le Cuirot
fa0641c973
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-10-15 11:46:32 +05:30
James Le Cuirot
a21ca9b6c0
Fix arm64 filename typo in grub_install.sh
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-10-15 11:46:32 +05:30
Sayan Chowdhury
6403cf9264
app-crypt/azure-kms-pkcs11: Add from Gentoo
It's from Gentoo commit edd3a55b92fc0f0ccbd3b820d472312795031bb3.
2024-10-15 11:17:13 +05:30
Sayan Chowdhury
e7bd4e9261
sys-boot/shim: Include @@VERSION@@ in SBAT for version
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:17:13 +05:30
Sayan Chowdhury
9693b22615
build_library/grub_install.sh: Install the mm binary into BOARD_ROOT
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:16:23 +05:30
Sayan Chowdhury
edee4cb025
profiles: add sys-boot/mokutil to arm64
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:55 +05:30
Sayan Chowdhury
c5cab2bbb7
build_library/grub_install.sh: Add support for aarch64 shim
Also adjust to using board packages for shim

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:55 +05:30
Sayan Chowdhury
578ccec6a1
shim, shim-signed: Move the packages from SDK to BOARD packages
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:55 +05:30
Sayan Chowdhury
32c8a26b95
coreos-devel/sdk-depends: Add the shim-signed package to SDK build
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:55 +05:30
Sayan Chowdhury
9178cb8be1
grub_install.sh: Install the shimx64.efi.signed if official image
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:55 +05:30
Sayan Chowdhury
78a225ae2c
sys-boot/shim-signed: Add shim-signed package to place signed binaries
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:55 +05:30
Sayan Chowdhury
273a5a2f71
sys-boot/shim: Append the suffix to the shim binary
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:55 +05:30
Sayan Chowdhury
598fbe791d
sys-boot/shim: Add the SBAT data to shim binary
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:55 +05:30
Sayan Chowdhury
e7ec1a0621
sys-boot/shim: Add a use flag to use a DER files for shim builds
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
2024-10-15 11:14:52 +05:30
flatcar-ci
920cbde5d4 New version: main-4123.0.0-nightly-20241014-2100 2024-10-14 21:00:34 +00:00
Dongsu Park
4a66654814
Merge pull request #2378 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2024-10-14 16:35:42 +02:00
Flatcar Buildbot
7213e728d7 Update mantle container image to latest HEAD 2024-10-14 07:02:51 +00:00
flatcar-ci
9f85085dcf New version: main-4117.0.0-nightly-20241008-2100 2024-10-08 21:00:26 +00:00
Adrian Vladu
23e28cb847
Merge pull request #2355 from sfudeus/enable_mpi3mr
coreos-modules: Enable kernel-module for mpi3mr
2024-10-08 13:37:45 +03:00
Dongsu Park
79f362cf33
Merge pull request #2365 from flatcar/go-1.22.8-main
Upgrade Go from 1.22.7 to 1.22.8
2024-10-08 11:39:30 +02:00
flatcar-ci
b1d2a652b4 New version: main-4116.0.0-nightly-20241007-2100 2024-10-07 21:00:26 +00:00
Flatcar Buildbot
418b84e184 dev-lang/go: Update from 1.22.7 to 1.22.8 2024-10-07 16:20:43 +02:00
Dongsu Park
147e271368
Merge pull request #2363 from flatcar/linux-6.6.54-main
Upgrade Linux Kernel for main from 6.6.53 to 6.6.54
2024-10-07 16:17:44 +02:00
Flatcar Buildbot
a75d32a9be sys-kernel/coreos-sources: Update from 6.6.53 to 6.6.54 2024-10-05 07:05:19 +00:00
flatcar-ci
5eef1b4267 New version: main-4111.0.0-nightly-20241002-2100 2024-10-02 21:00:28 +00:00
Stephan Fudeus
e4c8caa0ad coreos-modules: Enable kernel-module for mpi3mr 2024-10-02 18:08:46 +02:00
Dongsu Park
e7c66ef410
Merge pull request #2317 from flatcar/containerd-1.7.22-main
upgrade Go, Runc, Docker and Containerd
2024-10-02 16:50:39 +02:00
Dongsu Park
04fc05be43 changelog: changelog for containerd, docker, Go, runc
Add changelog for containerd, docker, Go, runc.
2024-10-02 16:32:20 +02:00
Mathieu Tortuyaux
0aab7daaf7 build_library: remove two Docker files not used on Flatcar
They were previously in /usr/share/docker/contrib which means they were
deleted at build time and not shipped into Docker sysext.

New ebuild version of Docker now provides those two files as symlinks to
/usr/share/docker/contrib from /usr/bin.

We can't really remove symlinks using find as docker-runc,
docker-containerd, etc. are broken symlinks too during the build phase.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-10-02 16:32:20 +02:00
Mathieu Tortuyaux
785725c167 app-containers/docker-cli: apply Flatcar patch
* for now, manpages are not generated yet.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-10-02 16:32:20 +02:00
Mathieu Tortuyaux
163b0cda5e app-containers/docker{,-cli}: add version 27.2.1
Can be dropped once upstreamed.

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-10-02 16:32:20 +02:00
Flatcar Buildbot
52e26e938b app-containers/containerd: Update from 1.7.21 to 1.7.22 2024-10-02 16:32:20 +02:00
Mathieu Tortuyaux
32e8cfe4cc app-containers/runc: add runc 1.1.14
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-10-02 16:32:19 +02:00
Mathieu Tortuyaux
0af94953a0 eclass/coreos-go-depend: use go 1.22
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-10-02 16:32:19 +02:00
Mathieu Tortuyaux
7fce00f274 coreos-base/hard-host-depends: use go 1.22
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-10-02 16:32:19 +02:00
Mathieu Tortuyaux
1dcf221610 dev-lang/go: bump to 1.22
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2024-10-02 16:32:19 +02:00
Krzesimir Nowak
0f9c68d263
Merge pull request #2287 from flatcar/krnowak/new-profile
Switch to 23.0 profiles
2024-10-02 16:30:54 +02:00
Krzesimir Nowak
00549ba53e
Merge pull request #2320 from flatcar/buildbot/weekly-portage-stable-package-updates-2024-09-16
Weekly portage-stable package updates 2024-09-16
2024-10-02 15:57:41 +02:00
Krzesimir Nowak
31d449b07e
Merge pull request #2246 from flatcar/krnowak/veth-bridge-on-diskless
overlay coreos-base/coreos-init: Pull in net fixes on diskless, blkid fix
2024-10-02 14:26:36 +02:00