summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-25 11:45:13 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-25 11:45:13 +0000
commite941ff652ab31a53584c7b20b6e8fad8f690b969 (patch)
tree1f60f97ac24436aa70970798c01fc4cffc02c85b
parent027c1678789dd6d04243bec23a9a91975b4e4a70 (diff)
downloadpoky-e941ff652ab31a53584c7b20b6e8fad8f690b969.tar.gz
poky-image-minimal-directdisk: Add directdisk image example
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/packages/images/poky-image-minimal-directdisk.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/images/poky-image-minimal-directdisk.bb b/meta/packages/images/poky-image-minimal-directdisk.bb
new file mode 100644
index 0000000000..0623a6b189
--- /dev/null
+++ b/meta/packages/images/poky-image-minimal-directdisk.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "Minimal Bootable Direct Disk Image"
2
3inherit boot-directdisk
4
5do_bootdirectdisk_prepend () {
6 import bb
7 fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
8 if 'ext3' not in fstypes:
9 bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
10}
11
12ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-${MACHINE}.ext3"
13
14do_bootdirectdisk[depends] += "poky-image-minimal:do_rootfs"
15
16