diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-10-02 17:22:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-10-04 23:11:11 +0100 |
commit | 9d1502bccd983158db55f97e9f88a08a27be21ea (patch) | |
tree | 10bef16089dfb32daf785926084dfcf006265ff2 /meta/classes/image-live.bbclass | |
parent | 2884c4874309825ecb0a7c22a039981c44e2390a (diff) | |
download | openembedded-core-contrib-9d1502bccd983158db55f97e9f88a08a27be21ea.tar.gz |
image-live.bbclass: allow images to override ROOTFS and INITRD
(From OE-Core rev: e8011abfab79220102e4843d8a91655162140090)
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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image-live.bbclass b/meta/classes/image-live.bbclass index c910488d64..1d184a1e00 100644 --- a/meta/classes/image-live.bbclass +++ b/meta/classes/image-live.bbclass @@ -1,11 +1,11 @@ AUTO_SYSLINUXCFG = "1" -INITRD = "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz" +INITRD ?= "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz" APPEND += "root=/dev/ram0 " TIMEOUT = "10" LABELS += "boot install" -ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" +ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs" do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs" |