From f9e462ef42bcf79beb2b354b5a1c069c8e47d65d Mon Sep 17 00:00:00 2001 From: Ricardo Salveti Date: Thu, 15 Oct 2020 12:27:10 -0300 Subject: ostree-kernel-initramfs: add back initramfs fit workaround Previous initramfs fit specific workaround was removed as part of commit 6eecf1593d, causing ostree to provide an init argument as part of the kernel command line arguments when it is not really needed. Bring back the workaround by simply generating an empty file in case kernel image type is fit and initramfs is also used by the target. Signed-off-by: Ricardo Salveti --- classes/sota.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes/sota.bbclass') diff --git a/classes/sota.bbclass b/classes/sota.bbclass index e6a0f8b..8f3f5d7 100644 --- a/classes/sota.bbclass +++ b/classes/sota.bbclass @@ -6,8 +6,7 @@ SOTA_HARDWARE_ID ??= "${MACHINE}" IMAGE_CLASSES += " image_types_ostree image_types_ota image_repo_manifest" IMAGE_INSTALL_append_sota = " aktualizr aktualizr-info ${SOTA_CLIENT_PROV} \ - ostree os-release ostree-kernel \ - ${@'ostree-initramfs' if d.getVar('KERNEL_IMAGETYPE') != 'fitImage' else ''} \ + ostree os-release ostree-kernel ostree-initramfs \ ${@'ostree-devicetrees' if oe.types.boolean('${OSTREE_DEPLOY_DEVICETREE}') else ''}" IMAGE_FSTYPES += "${@bb.utils.contains('DISTRO_FEATURES', 'sota', 'ostreepush garagesign garagecheck ota-ext4 wic', ' ', d)}" -- cgit v1.2.3-54-g00ecf