diff options
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..7b770fb353 --- /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" | ||