summaryrefslogtreecommitdiffstats
path: root/meta-sota/conf
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-04-06 19:21:25 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2017-04-06 19:21:25 +0000
commit0ce00dac113c83456bdacbf711b08a2f19244f55 (patch)
tree6cb7ee56ed725e5a1b30d5b96f018b73582b8c33 /meta-sota/conf
parent1c2571e37c6fa5e0ac3bb035173ae07a187648c5 (diff)
parent607029521eb71dcf873ed911eae4a721a1d2605f (diff)
Merge "Add WKS for OTA-enabled bootable SD cards."
Diffstat (limited to 'meta-sota/conf')
-rw-r--r--meta-sota/conf/include/agl-sota.inc20
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"