From 607029521eb71dcf873ed911eae4a721a1d2605f Mon Sep 17 00:00:00 2001 From: Anton Gerasimov Date: Mon, 20 Feb 2017 10:45:20 +0100 Subject: Add WKS for OTA-enabled bootable SD cards. [oytis]: v2 deleted 'sleep 2' [oytis]: v3 disabled wic for devices that don't yet support sota+wic Bug-AGL: SPEC-413 Change-Id: I52a31c9bc66001ed83e83c2f883d046d99ee3c67 Signed-off-by: Anton Gerasimov --- meta-sota/conf/include/agl-sota.inc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'meta-sota/conf/include/agl-sota.inc') diff --git a/meta-sota/conf/include/agl-sota.inc b/meta-sota/conf/include/agl-sota.inc index 4960e1a..700d36a 100644 --- a/meta-sota/conf/include/agl-sota.inc +++ b/meta-sota/conf/include/agl-sota.inc @@ -5,7 +5,25 @@ IMAGE_INSTALL_append = " ostree" # live image for OSTree-enabled systems IMAGE_CLASSES += "image_types_ostree image_types_ota" -IMAGE_FSTYPES += "ostreepush otaimg" +IMAGE_FSTYPES += "ostreepush otaimg wic" +WKS_FILE = "sdimage-sota.wks" +do_image_wic[depends] += "${IMAGE_BASENAME}:do_image_otaimg" + +# required by wic's partitions.py, but is not pulled properly by bitbake +EXTRA_IMAGEDEPENDS += " dosfstools-native mtools-native" + +# No working WKS for Raspberry Pi yet +IMAGE_FSTYPES_remove_raspberrypi3 = "wic" +IMAGE_FSTYPES_remove_raspberrypi2 = "wic" + +# Still to be integrared +IMAGE_FSTYPES_remove_cyclone5 = "wic" +IMAGE_FSTYPES_remove_dra7xx-evm = "wic" +IMAGE_FSTYPES_remove_h3ulcb = "wic" +IMAGE_FSTYPES_remove_intel-corei7-64 = "wic" +IMAGE_FSTYPES_remove_joule = "wic" +IMAGE_FSTYPES_remove_qemux86-64 = "wic" +IMAGE_FSTYPES_remove_qemux86 = "wic" # Please redefine OSTREE_REPO in order to have a persistent OSTree repo OSTREE_REPO ?= "${DEPLOY_DIR_IMAGE}/ostree_repo" -- cgit 1.2.3-korg