diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-04-13 15:09:13 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-04-27 16:58:42 +0100 |
commit | 6727d5ad6c45737cf176f17c23a5891daa73f9b1 (patch) | |
tree | f7c1a02a17a4c320469f5f2fe9af6855e31b8d65 | |
parent | 4c00f55f7a5952c2b08b31c3f287d20b30f00108 (diff) | |
download | openembedded-core-6727d5ad6c45737cf176f17c23a5891daa73f9b1.tar.gz openembedded-core-6727d5ad6c45737cf176f17c23a5891daa73f9b1.tar.bz2 openembedded-core-6727d5ad6c45737cf176f17c23a5891daa73f9b1.zip |
poky-image-sato-directdisk: directdisk variant of Sato image
New recipe to create a directdisk Sato disk image.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
-rw-r--r-- | meta/packages/images/poky-image-sato-directdisk.bb | 14 |
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 0000000000..f24d938adf --- /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" |