]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: add ability to set systemd default target
authorChen Qi <Qi.Chen@windriver.com>
Fri, 20 Dec 2013 02:45:52 +0000 (10:45 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Jan 2014 11:06:13 +0000 (11:06 +0000)
commit049f89155b1e80875aad6e53b21808b827c06915
tree47a83f7c9b1cd1e176622619dd05e5a9bf4f61ab
parent014bb6a891ccc7701df3b1f18dadee967ed06c3f
image.bbclass: add ability to set systemd default target

Add ability to set the default target for systemd images.

The default target for system is controlled by SYSTEMD_DEFAULT_TARGET.
The default value for this variable is derived from checking whether
IMAGE_FEATURES contains 'x11-base' or not. Each image could override
this value in its own recipe. For now, we don't need to do any change,
because all images that support graphical environment has 'x11-base'
in its IMAGE_FEATURES.

[YOCTO #3816]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/image.bbclass