summaryrefslogtreecommitdiff
path: root/meta/packages/images/poky-image-directdisk.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/images/poky-image-directdisk.inc')
-rw-r--r--meta/packages/images/poky-image-directdisk.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/packages/images/poky-image-directdisk.inc b/meta/packages/images/poky-image-directdisk.inc
new file mode 100644
index 0000000000..64144b9abf
--- /dev/null
+++ b/meta/packages/images/poky-image-directdisk.inc
@@ -0,0 +1,8 @@
+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")
+} \ No newline at end of file