diff options
Diffstat (limited to 'meta/packages/images/poky-image-sato-directdisk.bb')
-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 @@ | |||
1 | DESCRIPTION = "Sato Direct Disk Image" | ||
2 | |||
3 | inherit boot-directdisk | ||
4 | |||
5 | do_bootdirectdisk_prepend () { | ||
6 | import bb | ||
7 | fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True) | ||
8 | if 'ext3' not in fstypes: | ||
9 | bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES") | ||
10 | } | ||
11 | |||
12 | ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-${MACHINE}.ext3" | ||
13 | |||
14 | do_bootdirectdisk[depends] += "poky-image-sato:do_rootfs" | ||