new file mode 100644
@@ -0,0 +1,13 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit wic-img
+inherit targz-img
@@ -8,7 +8,7 @@
DISTRO_ARCH = "armhf"
-IMAGE_TYPE = "wic-img"
+IMAGE_TYPE ?= "wic-img"
IMAGER_INSTALL += "u-boot-omap"
# On stretch, select U-Boot from buster which comes with distro-boot support
@@ -8,7 +8,7 @@
DISTRO_ARCH = "armhf"
# see wic/iwg20m.wks
-IMAGE_TYPE = "wic-img"
+IMAGE_TYPE ?= "wic-img"
# sets serial login getty
MACHINE_SERIAL = "ttySC0"
@@ -8,4 +8,4 @@
DISTRO_ARCH = "amd64"
-IMAGE_TYPE = "ext4-img"
+IMAGE_TYPE ?= "ext4-img"
@@ -8,5 +8,5 @@
DISTRO_ARCH = "amd64"
-IMAGE_TYPE = "wic-img"
+IMAGE_TYPE ?= "wic-img"
IMAGER_INSTALL += "${GRUB_BOOTLOADER_INSTALL}"
new file mode 100644
@@ -0,0 +1,20 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2019
+#
+# Authors:
+# Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+header:
+ version: 8
+
+# lava uses nfs to deploy the image. For this we need a tarball instead of
+# full image
+
+local_conf_header:
+ image-type: |
+ IMAGE_TYPE = "wic-targz-img"
@@ -26,6 +26,10 @@ xz -9 -k $BASE_PATH.wic.img
echo "Uploading artifacts..."
aws s3 cp --no-progress $BASE_PATH.wic.img.xz s3://download.cip-project.org/cip-core/$TARGET/
+if [ -f $BASE_PATH.tar.gz ]; then
+ aws s3 cp --no-progress $BASE_PATH.tar.gz s3://download.cip-project.org/cip-core/$TARGET/
+fi
+
KERNEL_IMAGE=$BASE_PATH-vmlinuz
# iwg20m workaround
if [ -f build/tmp/deploy/images/$TARGET/zImage ]; then