summaryrefslogtreecommitdiff
path: root/meta/recipes-core/images/core-image-directdisk.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 17:25:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-20 18:47:30 +0100
commit560b04181d8f51d189b99f01a72f17210dadf7a3 (patch)
tree8114c4d01ec6519fd278d733a59036b6a58c7215 /meta/recipes-core/images/core-image-directdisk.inc
parent607a7657715f6fcba467a4e55ba64f41f4e13a15 (diff)
downloadopenembedded-core-560b04181d8f51d189b99f01a72f17210dadf7a3.tar.gz
openembedded-core-560b04181d8f51d189b99f01a72f17210dadf7a3.tar.bz2
openembedded-core-560b04181d8f51d189b99f01a72f17210dadf7a3.zip
Rename poky-image-* -> core-image-* and task-poky-* -> task-core-*
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/images/core-image-directdisk.inc')
-rw-r--r--meta/recipes-core/images/core-image-directdisk.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-core/images/core-image-directdisk.inc b/meta/recipes-core/images/core-image-directdisk.inc
new file mode 100644
index 0000000000..64144b9abf
--- /dev/null
+++ b/meta/recipes-core/images/core-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