diff options
author | Anton Gerasimov <anton@advancedtelematic.com> | 2017-02-20 10:45:20 +0100 |
---|---|---|
committer | Anton Gerasimov <anton@advancedtelematic.com> | 2017-04-06 10:20:31 +0200 |
commit | 607029521eb71dcf873ed911eae4a721a1d2605f (patch) | |
tree | 07d4fcb50c2d36e0986f7c01ac9838bbf28ab9cc /meta-sota/conf/include/agl-sota.inc | |
parent | 497d7db5bfc71367c6393a09a2f768b812fce83f (diff) |
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 <anton@advancedtelematic.com>
Diffstat (limited to 'meta-sota/conf/include/agl-sota.inc')
-rw-r--r-- | meta-sota/conf/include/agl-sota.inc | 20 |
1 files changed, 19 insertions, 1 deletions
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" |