summaryrefslogtreecommitdiff
path: root/classes/image.bbclass
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-04-16 01:47:01 +0000
committerKoen Kooi <koen@openembedded.org>2009-04-21 22:45:36 +0200
commit5773ed1828d801d9ad9187bc0b217b3da8842758 (patch)
tree364a1b042b17edbed328c285599e19329bee4d61 /classes/image.bbclass
parent42e57b5d12caeb046fb152e5d1be7af2e476abf7 (diff)
image.bbclass: IMAGE_VARS->IMAGE_BOOT, make overridable
IMAGE_VARS usage forces images to have init, dev management, login management and other stuff. In cases where you don't need any of those (like initramfs images or other special-purpose images) you need to override 4 variables in order to get clean image that only installs things from IMAGE_INSTALL. So, this changes IMAGE_VARS to more meaningful IMAGE_BOOT and makes it possible to build images without boot components with single IMAGE_BOOT="". Acked-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'classes/image.bbclass')
-rw-r--r--classes/image.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass
index 3a0bc32c7b..cbbbbd13d6 100644
--- a/classes/image.bbclass
+++ b/classes/image.bbclass
@@ -17,16 +17,16 @@ IMAGE_INITSCRIPTS ?= "initscripts"
#
IMAGE_LOGIN_MANAGER ?= "tinylogin"
-IMAGE_VARS = "${IMAGE_INITSCRIPTS} \
+IMAGE_BOOT ?= "${IMAGE_INITSCRIPTS} \
${IMAGE_DEV_MANAGER} \
${IMAGE_INIT_MANAGER} \
${IMAGE_LOGIN_MANAGER} "
-RDEPENDS += "${IMAGE_INSTALL} ${IMAGE_VARS}"
+RDEPENDS += "${IMAGE_INSTALL} ${IMAGE_BOOT}"
# "export IMAGE_BASENAME" not supported at this time
IMAGE_BASENAME[export] = "1"
-export PACKAGE_INSTALL ?= "${IMAGE_INSTALL} ${IMAGE_VARS}"
+export PACKAGE_INSTALL ?= "${IMAGE_INSTALL} ${IMAGE_BOOT}"
# We need to recursively follow RDEPENDS and RRECOMMENDS for images
do_rootfs[recrdeptask] += "do_deploy do_populate_staging"