summaryrefslogtreecommitdiffstats
path: root/meta-agl/conf
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-09-25 20:07:12 +0900
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2015-09-25 20:14:30 +0900
commita1de5ebe2969b583bc1ab536b8b05351e74034f9 (patch)
treeb1697da4f8432d856b8484486bff5c8350b7c1bc /meta-agl/conf
parentf2e092a90866a8ad3c62bcdeb57c33a5dc508faf (diff)
Systemd has been enabled as default
The default init system become systemd instead of sysvinit. The default init system of AGL Distro becomes systemd instead of sysvinit which poky's default. Change-Id: I8beb0b1a4778b91ae4ecd6c9d4699e7143020c8b Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'meta-agl/conf')
-rw-r--r--meta-agl/conf/distro/poky-agl-sysvinit.conf133
-rw-r--r--meta-agl/conf/distro/poky-agl.conf11
2 files changed, 142 insertions, 2 deletions
diff --git a/meta-agl/conf/distro/poky-agl-sysvinit.conf b/meta-agl/conf/distro/poky-agl-sysvinit.conf
new file mode 100644
index 000000000..71a419206
--- /dev/null
+++ b/meta-agl/conf/distro/poky-agl-sysvinit.conf
@@ -0,0 +1,133 @@
+DISTRO = "poky-agl"
+DISTRO_NAME = "Automotive Grade Linux"
+DISTRO_VERSION = "1.0.0"
+# DISTRO_CODENAME = "XXX"
+SDK_VENDOR = "-pokysdk"
+SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
+
+MAINTAINER = "AGL <automotive-discussions@lists.linuxfoundation.org>"
+
+TARGET_VENDOR = "-poky"
+
+LOCALCONF_VERSION = "1"
+LAYER_CONF_VERSION ?= "6"
+
+# Override these in poky based distros
+AGL_DEFAULT_DISTRO_FEATURES = "opengl wayland"
+AGL_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
+AGL_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
+
+DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${AGL_DEFAULT_DISTRO_FEATURES}"
+
+#DISTRO_FEATURES_APPEND = " "
+DISTRO_FEATURES_remove = "x11"
+
+PREFERRED_VERSION_linux-yocto ?= "3.14%"
+PREFERRED_VERSION_linux-yocto_qemux86 ?= "3.14%"
+PREFERRED_VERSION_linux-yocto_qemux86-64 ?= "3.14%"
+PREFERRED_VERSION_linux-yocto_qemuarm ?= "3.14%"
+# PREFERRED_VERSION_linux-yocto_qemumips ?= "3.14%"
+# PREFERRED_VERSION_linux-yocto_qemumips64 ?= "3.14%"
+# PREFERRED_VERSION_linux-yocto_qemuppc ?= "3.14%"
+
+# Prefer GStreamer 1.4.x by default
+PREFERRED_VERSION_gstreamer1.0 ?= "1.4.%"
+PREFERRED_VERSION_gstreamer1.0-plugins-bad ?= "1.4.%"
+PREFERRED_VERSION_gstreamer1.0-plugins-base ?= "1.4.%"
+PREFERRED_VERSION_gstreamer1.0-plugins-good ?= "1.4.%"
+PREFERRED_VERSION_gstreamer1.0-plugins-ugly ?= "1.4.%"
+PREFERRED_VERSION_gstreamer1.0-libav ?= "1.4.%"
+PREFERRED_VERSION_gstreamer1.0-omx ?= "1.2.%"
+
+SDK_NAME = "${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
+SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}"
+
+EXTRAOPKGCONFIG = "poky-feed-config-opkg"
+
+DISTRO_EXTRA_RDEPENDS += " ${AGL_DEFAULT_EXTRA_RDEPENDS}"
+DISTRO_EXTRA_RRECOMMENDS += " ${AGL_DEFAULT_EXTRA_RRECOMMENDS}"
+
+POKYQEMUDEPS = "${@bb.utils.contains("INCOMPATIBLE_LICENSE", "GPLv3", "", "packagegroup-core-device-devel",d)}"
+DISTRO_EXTRA_RDEPENDS_append_qemuarm = " ${POKYQEMUDEPS}"
+# DISTRO_EXTRA_RDEPENDS_append_qemumips = " ${POKYQEMUDEPS}"
+# DISTRO_EXTRA_RDEPENDS_append_qemuppc = " ${POKYQEMUDEPS}"
+DISTRO_EXTRA_RDEPENDS_append_qemux86 = " ${POKYQEMUDEPS}"
+DISTRO_EXTRA_RDEPENDS_append_qemux86-64 = " ${POKYQEMUDEPS}"
+
+TCLIBCAPPEND = ""
+
+QEMU_TARGETS ?= "arm i386 x86_64"
+# QEMU_TARGETS ?= "arm i386 mips mipsel ppc x86_64"
+# Other QEMU_TARGETS "mips64 mips64el sh4"
+
+PREMIRRORS ??= "\
+bzr://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+cvs://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+gitsm://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+hg://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+osc://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+p4://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+svk://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+svn://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
+
+MIRRORS =+ "\
+ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
+https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
+
+# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
+# fetch from the network (and warn you if not). To disable the test set
+# the variable to be empty.
+# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD
+
+CONNECTIVITY_CHECK_URIS ?= " \
+ https://eula-downloads.yoctoproject.org/index.php \
+ http://bugzilla.yoctoproject.org/report.cgi"
+
+# SANITY_TESTED_DISTROS ?= " \
+# Poky-1.4 \n \
+# Poky-1.5 \n \
+# Poky-1.6 \n \
+# Poky-1.7 \n \
+# Ubuntu-12.04 \n \
+# Ubuntu-13.10 \n \
+# Ubuntu-14.04 \n \
+# Fedora-19 \n \
+# Fedora-20 \n \
+# CentOS-6.4 \n \
+# CentOS-6.5 \n \
+# Debian-7.0 \n \
+# Debian-7.1 \n \
+# Debian-7.2 \n \
+# Debian-7.3 \n \
+# Debian-7.4 \n \
+# Debian-7.5 \n \
+# Debian-7.6 \n \
+# Debian-7.7 \n \
+# SUSE-LINUX-12.2 \n \
+# openSUSE-project-12.3 \n \
+# openSUSE-project-13.1 \n \
+# "
+
+# Default hash policy for distro
+BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
+#
+# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
+# an incompatible way. Such changes should usually be detailed in the commit
+# that breaks the format and have been previously discussed on the mailing list
+# with general agreement from the core team.
+#
+OELAYOUT_ABI = "8"
+
+# add poky sanity bbclass
+INHERIT += "poky-sanity"
+
+# QA check settings - a little stricter than the OE-Core defaults
+WARN_QA = "textrel files-invalid incompatible-license xorg-driver-abi libdir \
+ unknown-configure-option build-deps file-rdeps"
+ERROR_QA = "dev-so debug-deps dev-deps debug-files arch pkgconfig la perms \
+ useless-rpaths rpaths staticdev ldflags pkgvarcheck already-stripped \
+ compile-host-path dep-cmp installed-vs-shipped install-host-path \
+ packages-list perm-config perm-line perm-link pkgv-undefined \
+ pn-overrides split-strip var-undefined version-going-backwards"
diff --git a/meta-agl/conf/distro/poky-agl.conf b/meta-agl/conf/distro/poky-agl.conf
index b7a813870..3ed5a4828 100644
--- a/meta-agl/conf/distro/poky-agl.conf
+++ b/meta-agl/conf/distro/poky-agl.conf
@@ -12,8 +12,14 @@ TARGET_VENDOR = "-poky"
LOCALCONF_VERSION = "1"
LAYER_CONF_VERSION ?= "6"
+PREFERRED_PROVIDER_udev ?= "systemd"
+PREFERRED_PROVIDER_udev-utils ?= "systemd"
+
+VIRTUAL-RUNTIME_init_manager = "systemd"
+VIRTUAL-RUNTIME_initscripts = ""
+
# Override these in poky based distros
-AGL_DEFAULT_DISTRO_FEATURES = "opengl wayland"
+AGL_DEFAULT_DISTRO_FEATURES = "systemd opengl wayland"
AGL_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
AGL_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
@@ -21,6 +27,7 @@ DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${AGL_DEF
#DISTRO_FEATURES_APPEND = " "
DISTRO_FEATURES_remove = "x11"
+DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
PREFERRED_VERSION_linux-yocto ?= "3.14%"
PREFERRED_VERSION_linux-yocto_qemux86 ?= "3.14%"
@@ -115,7 +122,7 @@ BB_SIGNATURE_HANDLER ?= 'OEBasicHash'
#
# OELAYOUT_ABI allows us to notify users when the format of TMPDIR changes in
# an incompatible way. Such changes should usually be detailed in the commit
-# that breaks the format and have been previously discussed on the mailing list
+# that breaks the format and have been previously discussed on the mailing list
# with general agreement from the core team.
#
OELAYOUT_ABI = "8"