genericarm64/genericx86-64/heabglebone-yocto: Default to zstd compressed image output

We want to release compressed images since these are much easier for
users to download. Change the default generated output to match this
and build the output we want to release directly.

One test needs tweaking to since it uses an uncompressed image.

(From meta-yocto rev: 506379cb241e6a865139307e06216a07f737b602)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2025-08-01 11:57:20 +01:00
parent 45f3bdce44
commit b3991a4554
4 changed files with 4 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ EXTRA_IMAGEDEPENDS += "virtual/bootloader"
DEFAULTTUNE ?= "cortexa8hf-neon"
include conf/machine/include/arm/armv7a/tune-cortexa8.inc
IMAGE_FSTYPES += "tar.bz2 jffs2 wic wic.bmap"
IMAGE_FSTYPES += "tar.zst jffs2.zst wic.zst wic.bmap"
EXTRA_IMAGECMD:jffs2 = "-lnp "
WKS_FILE ?= "beaglebone-yocto.wks"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image kernel-devicetree"

View File

@@ -24,7 +24,7 @@ INITRAMFS_MAXSIZE = "200000"
INITRAMFS_IMAGE ?= "core-image-initramfs-boot"
PACKAGE_INSTALL:append:pn-core-image-initramfs-boot = " ${MACHINE_EXTRA_RRECOMMENDS}"
IMAGE_FSTYPES ?= "wic"
IMAGE_FSTYPES ?= "wic.zst"
WKS_FILE ?= "genericarm64.wks.in"
EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}"

View File

@@ -16,7 +16,7 @@ XSERVER ?= "${XSERVER_X86_BASE} \
MACHINE_EXTRA_RRECOMMENDS += "kernel-modules linux-firmware"
IMAGE_FSTYPES += "wic wic.bmap"
IMAGE_FSTYPES += "wic.zst wic.bmap"
WKS_FILE ?= "genericx86.wks.in"
EFI_PROVIDER ??= "grub-efi"
do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot"

View File

@@ -19,6 +19,7 @@ class Systemdboot(OESelftestTestCase):
# Set EFI_PROVIDER = "systemdboot" and MACHINE = "genericx86-64" in conf/local.conf
features = 'EFI_PROVIDER = "systemd-boot"\n'
features += 'MACHINE = "genericx86-64"\n'
features += 'IMAGE_FSTYPES += "wic"\n'
features += 'COMPATIBLE_MACHINE:pn-ssh-pregen-hostkeys:genericx86-64 = "genericx86-64"\n'
self.append_config(features)