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 12:53:30 +0100 |
commit | 989238c366499aa3420c5594a7e256e50c78cc4b (patch) | |
tree | 9a4e8f0e02dc235eb30580d3d5302e408d7f32b1 /meta/classes/image-live.bbclass | |
parent | 7bec22c70598a5180f754bbbe2dfdd3db2843a64 (diff) | |
download | openembedded-core-989238c366499aa3420c5594a7e256e50c78cc4b.tar.gz openembedded-core-989238c366499aa3420c5594a7e256e50c78cc4b.tar.bz2 openembedded-core-989238c366499aa3420c5594a7e256e50c78cc4b.zip |
image-live.bbclass: allow override of initrd image
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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 @@ AUTO_SYSLINUXCFG = "1" -INITRD ?= "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz" +INITRD_IMAGE ?= "core-image-minimal-initramfs" +INITRD ?= "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE}-${MACHINE}.cpio.gz" APPEND += "root=/dev/ram0 " TIMEOUT = "10" LABELS += "boot install" ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" -do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs" +do_bootimg[depends] += "${INITRD_IMAGE}:do_rootfs" do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs" inherit bootimg |