summaryrefslogtreecommitdiff
path: root/meta/packages/images/poky-image-minimal-directdisk.bb
blob: 0623a6b1895abc758a92fac437afca83b72a5088 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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"