31225 Commits

Author SHA1 Message Date
James Le Cuirot
66e7f8c60f
Move the kernel from /boot to /usr/boot to save space
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-06-18 15:30:55 +01:00
James Le Cuirot
6868cae47c
Drop unused legacy bootloader configuration
syslinux is still used, but only for the ISO with isohybrid and a
different configuration.

Xen now uses the newer pvgrub, which chainloads into GRUB 2.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-06-18 15:30:54 +01:00
James Le Cuirot
c6fa3d7afa
grub_install.sh: Ensure shim packages are installed
Without these, build_image will fail in a fresh SDK instance.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-06-18 15:30:53 +01:00
James Le Cuirot
bdb87aea6b
coreos-base/coreos-sb-keys: Add GPG keys, generation scripts, new README
We want to sign and verify kernel load scripts with GRUB, but it only
supports GPG signatures for plain text files.

To avoid needing to manage another key in Azure Key Vault for official
builds, the existing key has been converted, keeping the start and end
dates from the existing certificate.

For unofficial builds, it is awkward to convert plain PEM files into GPG
keys, but there is no need to use the same key in this case anyway, so a
new key has been created. Being publicly visible, it has no expiry date.

Two new scripts have been added to generate official and unofficial keys
and certificates. The README has been rewritten with details on how to
use these scripts and what each file is actually for.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-06-18 15:30:52 +01:00
James Le Cuirot
010962f6d6
app-crypt/gnupg-pkcs11-scd: Import from Gentoo and add as SDK dependency
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-06-18 15:30:51 +01:00
James Le Cuirot
f466ea34f1
dev-libs/pkcs11-helper: Import from Gentoo as dep of gnupg-pkcs11-scd
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-06-18 15:30:50 +01:00
James Le Cuirot
e96ae2d20b
Rework handling of the Secure Boot keys and certificates
We now need the official shim vendor certificate present in the SDK when
building the kernel so that it can be inserted and used to verify the
verity root hash and signed sysexts.

While we're at it, copy the official signing certificate from Azure Key
Vault so that we don't need to fetch it every time, simplifying the
signing code.

This change also partly deals with the eventual expiration of our shim
vendor certificate. We cannot simply replace the shim with one
containing just the new certificate because it needs to be able to boot
kernels from older releases. We therefore now keep all the certificates
in the coreos-sb-keys package as separate dated PEM files that then get
combined into a single DER ESL that the shim build expects. Note that
the shim does not check certificate expiry dates. It is therefore also
no longer necessary to manually convert the certificate to DER format.
The problem of actually upgrading the shim on user systems remains.

Each certificate in the DER ESL requires an owner GUID. We previous used
a zero GUID for the DB certificates, but these were only used for
testing. I have therefore now generated a static GUID for Flatcar that
we should use going forwards.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-06-18 15:17:37 +01:00
flatcar-ci
17792e7cad New version: main-4368.0.0-nightly-20250616-2100 2025-06-16 21:00:28 +00:00
flatcar-ci
40ea12ded9 New version: main-4365.0.0-nightly-20250613-2100 2025-06-14 02:41:51 +00:00
flatcar-ci
5d0a2316fc New version: main-4365.0.0-nightly-20250613-2100-INTERMEDIATE 2025-06-13 21:00:30 +00:00
flatcar-ci
5184b34170 Revert failed version back to 4363.0.0+nightly-20250611-2100 2025-06-13 07:48:25 +00:00
flatcar-ci
34521c9e9a New version: main-4364.0.0-nightly-20250612-2100 2025-06-12 21:00:26 +00:00
Mathieu Tortuyaux
9a0a9bcd05
Merge pull request #3017 from flatcar/linux-6.12.33-main
Upgrade Linux Kernel for main from 6.12.32 to 6.12.33
2025-06-12 16:45:40 +02:00
James Le Cuirot
4a4b268efd
Merge pull request #3019 from flatcar/chewi/init-fixes
coreos-base/coreos-init: Bump for extend-fs and /boot permission changes
2025-06-12 15:42:40 +01:00
James Le Cuirot
7a0bc5458d
coreos-base/coreos-init: Bump for extend-fs and /boot permission changes
An associated Kola fix is included.

Closes: https://github.com/flatcar/init/pull/132
Closes: https://github.com/flatcar/Flatcar/issues/296
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2025-06-12 14:22:23 +01:00
flatcar-ci
a887c9080a New version: main-4363.0.0-nightly-20250611-2100 2025-06-11 21:00:36 +00:00
Mathieu Tortuyaux
4b3dedcffd
Merge pull request #3011 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-06-11 10:40:26 +02:00
Flatcar Buildbot
724b1d636f sys-kernel/coreos-sources: Update from 6.12.32 to 6.12.33 2025-06-11 07:07:11 +00:00
Flatcar Buildbot
bd50d8a7ec Update mantle container image to latest HEAD 2025-06-10 21:00:49 +00:00
flatcar-ci
1b087fe447 New version: main-4362.0.0-nightly-20250610-2100 2025-06-10 21:00:26 +00:00
Jan Bronicki
c2eaed69bd
Merge pull request #3004 from flatcar/move-to-new-main-branch
Update EGIT_COMMIT reference from 'flatcar-master' to 'main' in mayda…
2025-06-10 15:53:03 +02:00
flatcar-ci
efb5c5d1ff New version: main-4361.0.0-nightly-20250609-2100 2025-06-09 21:00:38 +00:00
flatcar-ci
0e65dbd675 Revert failed version back to 4356.0.0+nightly-20250604-2100 2025-06-07 00:40:28 +00:00
flatcar-ci
f881a9df67 New version: main-4358.0.0-nightly-20250606-2100-INTERMEDIATE 2025-06-06 21:00:29 +00:00
Jan Bronicki
9641c8cf34
Merge pull request #3005 from flatcar/fix-cant-build-custom-image-on-fork
This pull request updates the README.md to include instructions for working with forks of the scripts repository. The new section explains how to fetch upstream tags to ensure proper version detection when using the SDK.

Documentation updates:

README.md: Added a new section titled "Working with forks" to guide users on fetching upstream tags when working with a fork of the scripts repository. This ensures compatibility with the SDK's version detection mechanism using git describe --tags.
Fixes: flatcar/Flatcar#1705
2025-06-06 16:43:06 +02:00
Thilo Fromm
30abd79aaf
Update README.md
Co-authored-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2025-06-06 16:41:10 +02:00
Jan Bronicki
0c1df62020
Update README.md
Co-authored-by: Thilo Fromm <thilofromm@microsoft.com>
2025-06-06 16:36:55 +02:00
Jan Bronicki
3ca61e9cfc
Update README.md
Co-authored-by: Thilo Fromm <thilofromm@microsoft.com>
2025-06-06 16:36:10 +02:00
Mathieu Tortuyaux
cd949badd4
Merge pull request #2999 from flatcar/linux-6.12.32-main
Upgrade Linux Kernel for main from 6.12.31 to 6.12.32
2025-06-06 14:03:00 +02:00
Jan Bronicki
8b1a899014 docs: add instructions for working with forks and fetching upstream tags 2025-06-06 13:24:24 +02:00
Mathieu Tortuyaux
61a3bfaa25
Merge pull request #2997 from flatcar/tormath1/ci
ci: use ubuntu self hosted runners
2025-06-06 09:19:44 +02:00
Jan Bronicki
ff3c7edcb6 Update EGIT_COMMIT reference from 'flatcar-master' to 'main' in mayday ebuild 2025-06-05 22:40:44 +02:00
Mathieu Tortuyaux
14fcef60fe
ci: use ubuntu self hosted runners
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
2025-06-05 09:11:59 +02:00
Flatcar Buildbot
67795a289b sys-kernel/coreos-sources: Update from 6.12.31 to 6.12.32 2025-06-05 07:06:00 +00:00
flatcar-ci
7e8801c275 New version: main-4356.0.0-nightly-20250604-2100 2025-06-04 21:00:30 +00:00
Jan Bronicki
27a5d56004
Merge pull request #2996 from flatcar/update-main-branches-ebuilds
Update EGIT_COMMIT references from 'master' to 'main' in ebuild files
2025-06-04 18:44:00 +02:00
Jan Bronicki
fcb7b48de4 Update EGIT_COMMIT references from 'master' to 'main' in ebuild files 2025-06-04 11:57:58 +02:00
flatcar-ci
92c9dc568d New version: main-4355.0.0-nightly-20250603-2100 2025-06-03 21:00:29 +00:00
Mathieu Tortuyaux
191af7fbaa
Merge pull request #2978 from flatcar/linux-6.12.31-main
Upgrade Linux Kernel for main from 6.12.30 to 6.12.31
2025-06-03 09:03:49 +02:00
Mathieu Tortuyaux
580d65ac56
Merge pull request #2992 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-06-03 09:00:59 +02:00
Flatcar Buildbot
2208d4e144 Update mantle container image to latest HEAD 2025-06-02 21:00:47 +00:00
flatcar-ci
9546f24db9 New version: main-4354.0.0-nightly-20250602-2100 2025-06-02 21:00:29 +00:00
Mathieu Tortuyaux
76d9c75804
Merge pull request #2974 from flatcar/mantle-update-main
Upgrade mantle container image to latest HEAD in main
2025-06-02 09:23:04 +02:00
Flatcar Buildbot
add4b696cb Update mantle container image to latest HEAD 2025-06-02 07:22:44 +00:00
Mathieu Tortuyaux
9ee766d488
Merge pull request #2984 from flatcar/cacerts-3.112-main
Update ca-certificates in main from 3.111 to 3.112
2025-06-02 09:21:51 +02:00
Flatcar Buildbot
29a9d9a6c8 app-misc/ca-certificates: Update from 3.111 to 3.112 2025-06-02 07:12:36 +00:00
Flatcar Buildbot
b1ed15ba2d sys-kernel/coreos-sources: Update from 6.12.30 to 6.12.31 2025-05-30 07:06:42 +00:00
flatcar-ci
751ce3909d New version: main-4349.0.0-nightly-20250528-2100 2025-05-28 21:00:29 +00:00
James Le Cuirot
e481f96c03
Merge pull request #2932 from markafarrell/feature/support-rpi4-device-tree-mode
Add support for Raspberry Pi 4 in device tree mode
2025-05-28 15:29:42 +01:00
Mark Farrell
9947290d41
add RPi device tree support and poe hat 2025-05-28 15:27:58 +01:00