From d857095f796a522390a0cd7fb33c27742e1b9402 Mon Sep 17 00:00:00 2001 From: Kamil Dziezyk Date: Thu, 16 Sep 2021 19:02:10 +0200 Subject: [PATCH] arm-autonomy: Add missing new override syntax Issue-Id: SCM-2987 Signed-off-by: Kamil Dziezyk Change-Id: I8d200f1594005f0f9288683d4f1a5f31c2f29b44 Signed-off-by: Jon Mason --- meta-arm-autonomy/classes/image_types_xenguest.bbclass | 6 +++--- .../recipes-bsp/images/firmware-image-juno.bbappend | 2 +- meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/meta-arm-autonomy/classes/image_types_xenguest.bbclass b/meta-arm-autonomy/classes/image_types_xenguest.bbclass index 2b9505ff..152658f1 100644 --- a/meta-arm-autonomy/classes/image_types_xenguest.bbclass +++ b/meta-arm-autonomy/classes/image_types_xenguest.bbclass @@ -22,7 +22,7 @@ xenguest_image_add_kernel() { # Add rootfs file to the image xenguest_image_add_rootfs() { call_xenguest_mkimage partial \ - --disk-add-file=${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${IMAGE_TYPEDEP_xenguest}:rootfs.${IMAGE_TYPEDEP_xenguest} + --disk-add-file=${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${IMAGE_TYPEDEP:xenguest}:rootfs.${IMAGE_TYPEDEP:xenguest} } # Pack xenguest image @@ -57,7 +57,7 @@ do_bootimg_xenguest[depends] += "xenguest-base-image:do_deploy" do_bootimg_xenguest[depends] += "${PN}:do_rootfs" # This set in python anonymous after, just set a default value here -IMAGE_TYPEDEP_xenguest ?= "tar" +IMAGE_TYPEDEP:xenguest ?= "tar" # We must not be built at rootfs build time because we need the kernel IMAGE_TYPES_MASKED += "xenguest" @@ -158,7 +158,7 @@ python __anonymous() { # do_bootimg_xenguest will need the tar file d.appendVarFlag('do_bootimg_xenguest', 'depends', ' %s:do_image_tar' % (d.getVar('PN'))) # set our TYPEDEP to the proper compression - d.setVar('IMAGE_TYPEDEP_xenguest', 'tar' + (rootfs_file.split('.tar', 1)[1] or '')) + d.setVar('IMAGE_TYPEDEP:xenguest', 'tar' + (rootfs_file.split('.tar', 1)[1] or '')) if kernel_needed: # Tell do_bootimg_xenguest to call xenguest_image_add_kernel diff --git a/meta-arm-autonomy/dynamic-layers/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bbappend b/meta-arm-autonomy/dynamic-layers/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bbappend index f582b471..324c0c50 100644 --- a/meta-arm-autonomy/dynamic-layers/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bbappend +++ b/meta-arm-autonomy/dynamic-layers/meta-arm-bsp/recipes-bsp/images/firmware-image-juno.bbappend @@ -18,7 +18,7 @@ do_install:append:autonomy-host() { } DEPLOY_EXTRA_DEPS ??= "" -DEPLOY_EXTRA_DEPS_autonomy-host = "xen:do_deploy xen-devicetree:do_deploy" +DEPLOY_EXTRA_DEPS:autonomy-host = "xen:do_deploy xen-devicetree:do_deploy" do_deploy[depends] += "${DEPLOY_EXTRA_DEPS}" diff --git a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend index 36e0236f..0cece2b1 100644 --- a/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend +++ b/meta-arm-autonomy/recipes-extended/xen/xen_%.bbappend @@ -5,6 +5,6 @@ OVERRIDES:append = "${ARM_AUTONOMY_HOST_OVERRIDES}" # Make Xen machine specific # This ensures that sstate is properly handled and that each machine can have # its own configuration -PACKAGE_ARCH_autonomy-host = "${MACHINE_ARCH}" +PACKAGE_ARCH:autonomy-host = "${MACHINE_ARCH}" PACKAGECONFIG:remove:autonomy-host = "sdl"