diff options
author | Koen Kooi <koen@openembedded.org> | 2009-02-19 11:35:13 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-02-19 15:03:54 +0100 |
commit | 9752b780ae9cbe8b36507890d8ee55c439eb2b35 (patch) | |
tree | 9fee7f6bfb0ca8504b616064e86f1ec74909d129 /classes/image.bbclass | |
parent | a0699a732b06f6a6200d6cb936d6be907788607f (diff) |
task-boot: rename DISTRO_ vars to IMAGE_ vars and move to image.bbclass * update users as well
Acked-By: Marcin Juszkiewicz <hrw@openembedded.org>
Diffstat (limited to 'classes/image.bbclass')
-rw-r--r-- | classes/image.bbclass | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/classes/image.bbclass b/classes/image.bbclass index c493c73c01..2ed0ee1de7 100644 --- a/classes/image.bbclass +++ b/classes/image.bbclass @@ -16,6 +16,28 @@ EXCLUDE_FROM_WORLD = "1" USE_DEVFS ?= "0" +# +# udev, devfsd, busybox-mdev (from busybox) or none +# +IMAGE_DEV_MANAGER ?= "${@base_contains("MACHINE_FEATURES", "kernel26", "udev","",d)} " +# +# sysvinit, upstart +# +IMAGE_INIT_MANAGER ?= "sysvinit sysvinit-pidof" +IMAGE_INITSCRIPTS ?= "initscripts" +# +# tinylogin, getty +# +IMAGE_LOGIN_MANAGER ?= "tinylogin" + +IMAGE_VARS = "${IMAGE_INITSCRIPTS} \ +${IMAGE_DEV_MANAGER} \ +${IMAGE_INIT_MANAGER} \ +${IMAGE_LOGIN_MANAGER} " + +RDEPENDS += "${IMAGE_VARS}" +PACKAGE_INSTALL += "${IMAGE_VARS}" + PID = "${@os.getpid()}" PACKAGE_ARCH = "${MACHINE_ARCH}" |