summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/images/poky-image-sato-directdisk.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/packages/images/poky-image-sato-directdisk.bb b/meta/packages/images/poky-image-sato-directdisk.bb
new file mode 100644
index 000000000..f24d938ad
--- /dev/null
+++ b/meta/packages/images/poky-image-sato-directdisk.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "Sato Direct Disk Image"
+
+inherit boot-directdisk
+
+do_bootdirectdisk_prepend () {
+ import bb
+ fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
+ if 'ext3' not in fstypes:
+ bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
+}
+
+ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-${MACHINE}.ext3"
+
+do_bootdirectdisk[depends] += "poky-image-sato:do_rootfs"