diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-10-11 19:18:49 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-14 13:18:15 +0100 |
commit | cd898bfd96b5ed9274e28a75372b00fd42062864 (patch) | |
tree | 5ce63f22d294ce61695bf98b34de80be4fb36879 /meta/classes/image-live.bbclass | |
parent | a8e69714ae5bebfb30dcadbff528b2597321c4a2 (diff) | |
download | poky-cd898bfd96b5ed9274e28a75372b00fd42062864.tar.gz |
image-live.bbclass: allow override of initrd image
(From OE-Core rev: 989238c366499aa3420c5594a7e256e50c78cc4b)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-live.bbclass')
-rw-r--r-- | meta/classes/image-live.bbclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index 1d184a1e00..e85ac1e8f2 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass | |||
@@ -1,13 +1,14 @@ | |||
1 | 1 | ||
2 | AUTO_SYSLINUXCFG = "1" | 2 | AUTO_SYSLINUXCFG = "1" |
3 | INITRD ?= "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz" | 3 | INITRD_IMAGE ?= "core-image-minimal-initramfs" |
4 | INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz" | ||
4 | APPEND += "root=/dev/ram0 " | 5 | APPEND += "root=/dev/ram0 " |
5 | TIMEOUT = "10" | 6 | TIMEOUT = "10" |
6 | LABELS += "boot install" | 7 | LABELS += "boot install" |
7 | 8 | ||
8 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" | 9 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" |
9 | 10 | ||
10 | do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs" | 11 | do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs" |
11 | do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs" | 12 | do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs" |
12 | 13 | ||
13 | inherit bootimg | 14 | inherit bootimg |