summaryrefslogtreecommitdiffstats
path: root/meta-moblin
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2010-05-17 10:47:20 -0700
committerNitin A Kamble <nitin.a.kamble@intel.com>2010-05-17 10:47:20 -0700
commitc74035a2ad4114d93b193b87ea7153bde77b628a (patch)
treebfe953ed3b4fbcdf61862b84fcde71fe9efe9bb2 /meta-moblin
parentb2c4aee28395b9a897bba8c97384f2b92f4bcbcb (diff)
downloadpoky-c74035a2ad4114d93b193b87ea7153bde77b628a.tar.gz
Add recipe for moblin-image-netbook.directdisk
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta-moblin')
-rw-r--r--meta-moblin/packages/images/moblin-image-netbook.directdisk.bb20
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 0000000000..c64e77bd2d
--- /dev/null
+++ b/meta-moblin/packages/images/moblin-image-netbook.directdisk.bb
@@ -0,0 +1,20 @@
1#
2# Copyright (C) 2008 Intel Corporation.
3#
4DESCRIPTION = "Moblin Direct Disk Image"
5
6IMAGE_FEATURES += "apps-console-core ${NETBOOK_IMAGE_FEATURES}"
7
8inherit boot-directdisk
9inherit moblin-image
10
11do_bootdirectdisk_prepend () {
12 import bb
13 fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
14 if 'ext3' not in fstypes:
15 bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
16}
17
18ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-netbook-${MACHINE}.ext3"
19
20do_bootdirectdisk[depends] += "moblin-image-netbook:do_rootfs"