aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <joshua.g.lock@intel.com>2016-04-22 17:04:21 +0100
committerJoshua Lock <joshua.g.lock@intel.com>2016-04-22 22:01:05 +0100
commit14fead37a1cf10adf6d75734f898bcc27e576c0d (patch)
tree78d1c1e745d7d0b697f34b742b8ddbb697cfe171
parentabf7015df0af2adcd9891495a4cd00dc2da881fe (diff)
downloadmeta-swupd-14fead37a1cf10adf6d75734f898bcc27e576c0d.tar.gz
meta-swupd-14fead37a1cf10adf6d75734f898bcc27e576c0d.tar.bz2
meta-swupd-14fead37a1cf10adf6d75734f898bcc27e576c0d.zip
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 <joshua.g.lock@intel.com>
-rw-r--r--classes/swupd-image.bbclass2
1 files changed, 1 insertions, 1 deletions
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'