summaryrefslogtreecommitdiff
path: root/meta/classes/image-live.bbclass
blob: c7e6937fa9e495ea599a43955c40f34d365bad83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

AUTO_SYSLINUXCFG = "1"
INITRD_IMAGE ?= "core-image-minimal-initramfs"
INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz"
SYSLINUX_ROOT = "root=/dev/ram0 "
SYSLINUX_TIMEOUT ?= "10"
SYSLINUX_LABELS ?= "boot install"
LABELS_append = " ${SYSLINUX_LABELS} "

ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3"

do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs"
do_bootimg[depends] += "${PN}:do_rootfs"

inherit bootimg

IMAGE_TYPEDEP_live = "ext3"
IMAGE_TYPES_MASKED += "live"