mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
Update directdisk images to use common inc files
Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -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")
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2010 Intel Corporation.
|
||||
#
|
||||
require moblin-image-directdisk.inc
|
||||
|
||||
DESCRIPTION = "Moblin Direct Disk Image"
|
||||
|
||||
ROOTFS = "${DEPLOY_DIR_IMAGE}/moblin-image-netbook-${MACHINE}.ext3"
|
||||
|
||||
do_bootdirectdisk[depends] += "moblin-image-netbook:do_rootfs"
|
||||
@@ -1,20 +0,0 @@
|
||||
#
|
||||
# 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"
|
||||
@@ -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")
|
||||
}
|
||||
@@ -1,14 +1,7 @@
|
||||
require poky-image-directdisk.inc
|
||||
|
||||
DESCRIPTION = "Minimal Bootable 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-minimal-${MACHINE}.ext3"
|
||||
|
||||
do_bootdirectdisk[depends] += "poky-image-minimal:do_rootfs"
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
require poky-image-directdisk.inc
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user