diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-11-09 16:01:03 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2015-11-19 06:49:25 +0000 |
commit | 679567dfdc6709417f57f0497252a4315d9b3a19 (patch) | |
tree | 4f5c77b65624c7093fac0f643b984f27418f218a /conf/distro | |
parent | 2d904c40918688065bd040c988241ecf1e1e571d (diff) | |
download | meta-boot2qt-679567dfdc6709417f57f0497252a4315d9b3a19.tar.gz |
Use Systemd as the init system
Remove sysvinit from distro features and add Systemd as the default
init system. Add necessary service files to all recipes that need them.
Change-Id: I9cd4c0239fe16f35145bd3bed08e27196f30ee82
Reviewed-by: Gatis Paeglis <gatis.paeglis@theqtcompany.com>
Reviewed-by: Teemu Holappa <teemu.holappa@theqtcompany.com>
Diffstat (limited to 'conf/distro')
-rw-r--r-- | conf/distro/b2qt.conf | 8 | ||||
-rw-r--r-- | conf/distro/include/emulator.conf | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/conf/distro/b2qt.conf b/conf/distro/b2qt.conf index f31a9d7..f006cf6 100644 --- a/conf/distro/b2qt.conf +++ b/conf/distro/b2qt.conf | |||
@@ -39,11 +39,17 @@ SYSVINIT_ENABLED_GETTYS = "" | |||
39 | 39 | ||
40 | DISTRO_FEATURES_DEFAULT = "alsa argp bluetooth ext2 largefile usbgadget usbhost wifi xattr nfs webengine" | 40 | DISTRO_FEATURES_DEFAULT = "alsa argp bluetooth ext2 largefile usbgadget usbhost wifi xattr nfs webengine" |
41 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch" | 41 | POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch" |
42 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio" | 42 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio sysvinit" |
43 | 43 | ||
44 | # use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10 | 44 | # use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10 |
45 | DISTRO_FEATURES += "gstreamer" | 45 | DISTRO_FEATURES += "gstreamer" |
46 | 46 | ||
47 | DISTRO_FEATURES += "systemd" | ||
48 | VIRTUAL-RUNTIME_init_manager = "systemd" | ||
49 | VIRTUAL-RUNTIME_initscripts = "" | ||
50 | PREFERRED_PROVIDER_udev ?= "systemd" | ||
51 | PREFERRED_PROVIDER_udev-utils ?= "systemd" | ||
52 | |||
47 | PREFERRED_PROVIDER_jpeg ?= "libjpeg-turbo" | 53 | PREFERRED_PROVIDER_jpeg ?= "libjpeg-turbo" |
48 | PREFERRED_PROVIDER_jpeg-native ?= "libjpeg-turbo-native" | 54 | PREFERRED_PROVIDER_jpeg-native ?= "libjpeg-turbo-native" |
49 | 55 | ||
diff --git a/conf/distro/include/emulator.conf b/conf/distro/include/emulator.conf index 28be593..34b2029 100644 --- a/conf/distro/include/emulator.conf +++ b/conf/distro/include/emulator.conf | |||
@@ -32,7 +32,7 @@ MACHINE_EXTRA_RRECOMMENDS += "\ | |||
32 | PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" | 32 | PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" |
33 | PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" | 33 | PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" |
34 | 34 | ||
35 | KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest" | 35 | KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" |
36 | 36 | ||
37 | DISTRO_FEATURES_remove = "webengine opengl" | 37 | DISTRO_FEATURES_remove = "webengine opengl" |
38 | 38 | ||