From 14fead37a1cf10adf6d75734f898bcc27e576c0d Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Fri, 22 Apr 2016 17:04:21 +0100 Subject: swupd-image: weak assign default value for SWUPD_FORMAT This makes it easier to override for consumers of the class. Signed-off-by: Joshua Lock --- classes/swupd-image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/swupd-image.bbclass b/classes/swupd-image.bbclass index 25d750e..b53676e 100644 --- a/classes/swupd-image.bbclass +++ b/classes/swupd-image.bbclass @@ -420,7 +420,7 @@ fakeroot python do_prune_bundle () { } addtask prune_bundle after do_copy_bundle_contents before do_swupd_update -SWUPD_FORMAT = "3" +SWUPD_FORMAT ??= "3" fakeroot do_swupd_update () { if [ -z "${BUNDLE_NAME}" ] || [ ! -z "${PN_BASE}" ] ; then bbwarn 'We only generate swupd updates for the base image, skipping ${PN}:do_swupd_update' -- cgit