summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta-selftest/recipes-test/images/wic-image-minimal.bb
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta-selftest/recipes-test/images/wic-image-minimal.bb')
-rw-r--r--import-layers/yocto-poky/meta-selftest/recipes-test/images/wic-image-minimal.bb18
1 files changed, 18 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta-selftest/recipes-test/images/wic-image-minimal.bb b/import-layers/yocto-poky/meta-selftest/recipes-test/images/wic-image-minimal.bb
new file mode 100644
index 000000000..a294ba7af
--- /dev/null
+++ b/import-layers/yocto-poky/meta-selftest/recipes-test/images/wic-image-minimal.bb
@@ -0,0 +1,18 @@
+SUMMARY = "An example of partitioned image."
+
+SRC_URI = "file://${FILE_DIRNAME}/${BPN}.wks"
+
+IMAGE_INSTALL = "packagegroup-core-boot ${ROOTFS_PKGMANAGE_BOOTSTRAP}"
+
+IMAGE_FSTYPES = "wic"
+RM_OLD_IMAGE = "1"
+
+DEPENDS = "syslinux syslinux-native parted-native dosfstools-native mtools-native gptfdisk-native"
+
+# core-image-minimal is referenced in .wks, so we need its rootfs
+# to be ready before our rootfs
+do_rootfs[depends] += "core-image-minimal:do_image core-image-minimal:do_rootfs_wicenv"
+
+IMAGE_ROOTFS_EXTRA_SPACE = "2000"
+
+inherit image
OpenPOWER on IntegriCloud