diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-05-17 10:47:20 -0700 |
---|---|---|
committer | Nitin A Kamble <nitin.a.kamble@intel.com> | 2010-05-17 10:47:20 -0700 |
commit | c74035a2ad4114d93b193b87ea7153bde77b628a (patch) | |
tree | bfe953ed3b4fbcdf61862b84fcde71fe9efe9bb2 | |
parent | b2c4aee28395b9a897bba8c97384f2b92f4bcbcb (diff) | |
download | openembedded-core-c74035a2ad4114d93b193b87ea7153bde77b628a.tar.gz openembedded-core-c74035a2ad4114d93b193b87ea7153bde77b628a.tar.bz2 openembedded-core-c74035a2ad4114d93b193b87ea7153bde77b628a.tar.xz openembedded-core-c74035a2ad4114d93b193b87ea7153bde77b628a.zip |
Add recipe for moblin-image-netbook.directdisk
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
-rw-r--r-- | meta-moblin/packages/images/moblin-image-netbook.directdisk.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-moblin/packages/images/moblin-image-netbook.directdisk.bb b/meta-moblin/packages/images/moblin-image-netbook.directdisk.bb new file mode 100644 index 000000000..c64e77bd2 --- /dev/null +++ b/meta-moblin/packages/images/moblin-image-netbook.directdisk.bb @@ -0,0 +1,20 @@ +# +# Copyright (C) 2008 Intel Corporation. +# +DESCRIPTION = "Moblin Direct Disk Image" + +IMAGE_FEATURES += "apps-console-core ${NETBOOK_IMAGE_FEATURES}" + +inherit boot-directdisk +inherit moblin-image + +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}/moblin-image-netbook-${MACHINE}.ext3" + +do_bootdirectdisk[depends] += "moblin-image-netbook:do_rootfs" |