Commit Graph

7 Commits

Author SHA1 Message Date
Sam Dolt c7291625af fix(coreos-image-swupdate): adapt the class to OE new image naming scheme
Now the coreos-image-swupdate class and the related sw-description
file use the IMAGE_LINK_NAME variable to retrieve the name of the
image instead of hardcoding each components that form the image
filename.

This fix an issue with OE-Core master, as a .rootfs suffix was
added
2023-11-21 15:49:18 +01:00
Samuel Dolt 27f3b6657a feat(swupdate): add signature support
BREAKING CHANGE: Unsigned .swu file will now be rejected by swupdate
2023-10-16 09:42:59 +02:00
Samuel Dolt 04e0adf97a feat(efibootguard): single image with automatic partition switch
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
2023-06-27 14:20:37 +02:00
Samuel Dolt 518c651ef9 feat(coreos-image-swupdate.bbclass): add a way to dynamically extends the
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
2023-05-15 18:23:02 +02:00
Samuel Dolt fb4702780b feat(swupdate): add efibootguard update support
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
2023-05-15 18:09:18 +02:00
Samuel Dolt c65869b9c9 fix(do_swuimage): use DEPENDS to get kernel arguments
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.
2023-01-30 13:28:15 +01:00
Samuel Dolt e83a1da19d feat(swupdate): add swupdate and .swu image generation 2023-01-24 15:28:00 +01:00