From 9f23e3e49119c4529aee1f4879a59c2482b9292c Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 24 May 2010 12:05:01 +0100 Subject: Update directdisk images to use common inc files Signed-off-by: Joshua Lock --- meta/packages/images/poky-image-directdisk.inc | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 meta/packages/images/poky-image-directdisk.inc (limited to 'meta/packages/images/poky-image-directdisk.inc') 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 -- cgit v1.2.3-54-g00ecf