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 | |
parent | 2884c4874309825ecb0a7c22a039981c44e2390a (diff) | |
download | poky-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>
-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 @@ | |||
1 | 1 | ||
2 | AUTO_SYSLINUXCFG = "1" | 2 | AUTO_SYSLINUXCFG = "1" |
3 | INITRD = "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz" | 3 | INITRD ?= "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz" |
4 | APPEND += "root=/dev/ram0 " | 4 | APPEND += "root=/dev/ram0 " |
5 | TIMEOUT = "10" | 5 | TIMEOUT = "10" |
6 | LABELS += "boot install" | 6 | LABELS += "boot install" |
7 | 7 | ||
8 | ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" | 8 | ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_BASENAME}-${MACHINE}.ext3" |
9 | 9 | ||
10 | do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs" | 10 | do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs" |
11 | do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs" | 11 | do_bootimg[depends] += "${IMAGE_BASENAME}:do_rootfs" |