Now a single unified kernel image is built using a new CoreOS
specific functionality added in the efibootguard UKI stub to
automatically insert root=PARTLABEL=rootfs0 (or rootfs1) in the
kernel command line
BREAKING CHANGE: coreos-image-uki.bbclass now only generate a
single kernel image named kernel-${MACHINE}.efi
Now we use fw0, fw1, efi, ebg0, ebg1, rootfs0 and rootfs1 partition
name.
BREAKING CHANGE: bootX partition are now named ebgX
BREAKING CHANGE: platformX partition are now named rootfsX
sw-description files
The COREOS_SWUPDATE_EXTENDS_FOR and COREOS_IMAGE_SWUPDATE_EXTRACLASSES
variable can now be used to configure the coreos-image-swupdate to
dynamically extends some part of the sw-description by calling some
python function
This also change the beaglebone target to use a GPT
partitioned disk
BREAKING CHANGE: .swu image generated can not be used on old
device, thus the device has to be reflashed.
BREAKING CHANGE: Support for MBR formatted disk is removed, as
it was only used for Beaglebone
Merge in ICO/coreos from feat/devtool-kernel to master
* commit '1c8f7e9163ba5fec161bb858643a57274ea07882':
feat(devtool): add a generate-uki command
fix(coreos-image-uki.bbclass): use APPENDS to set the kernel arguments
refactor: use black to format python code in vscode
The generate-uki command can be used to build and sign new UKI (Unified
Kernel Image). By default all parameters are taken from bitbake but the
kernel command line and the device tree used can be customized
Merge in ICO/coreos from feat/coreos-device to master
* commit '57107f5cea3ff2e61701c18753cacdada8d1e04f':
feat(swupdate): install swupdate-progress by default
feat(coreos-device): add a coreos-device script and a devtool plugin
Default value related to efibootguard are not set inside the distro
and MACHINE that use coreos-image and doesn't define EFI as a
MACHINE_FEATURE doesn't get the efibootguard-tools package.
Checking for COREOS_EFI_SECUREBOOT_INSTALL_PUBKEY_IN_EFIDIR
was not done properly resulting of the key always being
installed inside the EFI partition.
We need to generate some more file to better integrate the CI system
with this repository. The new class generate a new IMAGE.ci-artifacts
file with the list of file that need to be uploaded by the CI to our
storage server. To enable this class, the CI need to add:
`COREOS_IMAGE_EXTRACLASSES += "coreos-image-ci"`
to the auto.conf configuration file inside the build directory.
WKS_KERNEL_ARGS was using previously inside COREOS to pass the
kernel arguments between the machine configuration and image
generation. This was already replaced by the APPEND variable
that do the same and is documented in oe-core.
COREOS_IMAGE_EXTRACLASSES is used to ihnerit classes dynamically during
parsing, that mean that it can't depends on operator that operate after
parsing, like ??=, :append, ...
Now we use the ?= and += operator that operate during parsing
We are now using efibootguard to provide a A/B boot path for
the kernel and the rootfs.
This commit remove some change for systemd/systemd-boot that are
not needed anymore and rework how we set the command line, as we
will need to have the command line argument of the kernel both
inside do_image_wic and in a future do_image_swu
Merge in ICO/coreos from feat/dev_image_improvements to master
* commit '412f3f3bb40d364624a85db267d092bdae4cea86':
No ro FS for dev image and solidrun board improvements
* dev image is now r/w which makes it easier to just try things out
* remove mount point from boot.src partition which causes it to not
show in /etc/fstab. The presence of the entry caused boot problems.
Merge in ICO/coreos from feat/uefi to master
* commit '25ac363358200694e85f9149f2480daec24c5377':
documentation: fix typo
meta-belden-coreos-bsp: add support for EFI and EFI Secure Boot
coreos-doc: use python3-native instead of python3 from the host
meta-belden-coreos-sanity: add some machine configuration checks
meta-belden-coreos-bsp: add the beaglebone machine
meta-belden-coreos-bsp: add beaglebone machine
meta-belden-coreos-bsp: add layer
Merge in ICO/coreos from feat/marvell-bsp to master
* commit 'da856bdcd702efbf565381d4111803776ce69b1d':
Add support for CN9130-CEX7
feat: add meta-belden-marvell-bsp layer