diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/classes/image-live.bbclass | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/image-live.bbclass')
-rw-r--r-- | meta/classes/image-live.bbclass | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass new file mode 100644 index 0000000000..c7e6937fa9 --- /dev/null +++ b/meta/classes/image-live.bbclass | |||
@@ -0,0 +1,18 @@ | |||
1 | |||
2 | AUTO_SYSLINUXCFG = "1" | ||
3 | INITRD_IMAGE ?= "core-image-minimal-initramfs" | ||
4 | INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz" | ||
5 | SYSLINUX_ROOT = "root=/dev/ram0 " | ||
6 | SYSLINUX_TIMEOUT ?= "10" | ||
7 | SYSLINUX_LABELS ?= "boot install" | ||
8 | LABELS_append = " ${SYSLINUX_LABELS} " | ||
9 | |||
10 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" | ||
11 | |||
12 | do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs" | ||
13 | do_bootimg[depends] += "${PN}:do_rootfs" | ||
14 | |||
15 | inherit bootimg | ||
16 | |||
17 | IMAGE_TYPEDEP_live = "ext3" | ||
18 | IMAGE_TYPES_MASKED += "live" | ||