[oe-commits] Otavio Salvador : image-live.bbclass: allow images to override ROOTFS and INITRD
git version control
git at git.openembedded.org
Wed Oct 5 17:03:11 UTC 2011
Module: openembedded-core.git
Branch: master-next
Commit: e8011abfab79220102e4843d8a91655162140090
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e8011abfab79220102e4843d8a91655162140090
Author: Otavio Salvador <otavio at ossystems.com.br>
Date: Sun Oct 2 17:22:20 2011 +0000
image-live.bbclass: allow images to override ROOTFS and INITRD
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
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 c910488..1d184a1 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"
More information about the Openembedded-commits
mailing list