X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-distro%2Fconf%2Fdistro%2Fpoky-agl.conf;h=88f81339477d312ee8251540749798d1d203c752;hb=57824f4d8f7f76eceb56827f0fdbc8863af932ab;hp=4931f96a89aeb65f7a776d02ec7c8be77cc79418;hpb=cb0b5d9dc435fe4d4eb89629a9a93311bed841bd;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-distro/conf/distro/poky-agl.conf b/meta-agl-distro/conf/distro/poky-agl.conf index 4931f96a8..88f813394 100644 --- a/meta-agl-distro/conf/distro/poky-agl.conf +++ b/meta-agl-distro/conf/distro/poky-agl.conf @@ -3,38 +3,77 @@ require conf/distro/poky.conf # AGL specific derivations DISTRO = "poky-agl" DISTRO_NAME = "Automotive Grade Linux" -DISTRO_VERSION = "4.90.0+snapshot-${DATE}" -DISTRO_CODENAME = "eel" -DISTRO_BRANCH_VERSION_TAG = "eel/4.90.0" + + +# Release flags +DISTRO_CODENAME = "guppy" +AGL_BRANCH = "guppy" +AGLVERSION = "7.0.4" +# switch devel/release +#AGLRELEASETYPE ?= "agldevelopment" +AGLRELEASETYPE ?= "aglrelease" +OVERRIDES .= ":${AGLRELEASETYPE}" +# + +#for development +DISTRO_VERSION_agldevelopment := "${AGLVERSION}+snapshot-${DATE}" +AGL_APP_REVISION_agldevelopment = "${AUTOREV}" +AGL_DEFAULT_REVISION_agldevelopment = "${AUTOREV}" + +#for release +DISTRO_VERSION_aglrelease := "${AGLVERSION}" +DISTRO_BRANCH_VERSION_TAG = "${DISTRO_CODENAME}/${@'${DISTRO_VERSION}'.replace('+snapshot-${DATE}','')}" +AGL_APP_REVISION_aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}" +AGL_DEFAULT_REVISION_aglrelease := "refs/tags/${DISTRO_BRANCH_VERSION_TAG}" + + +# SDK SDK_VENDOR = "-aglsdk" SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}" +# SDKPATH is the folder where the SDK is going to be installed +# Due to an issue with the qt5 environment (see SPEC-1667), +# we add DEFAULTTUNE to the SDKPATH to mitigate the issue. +SDKPATH = "/opt/agl-sdk/${SDK_VERSION}-${DEFAULTTUNE}" + + MAINTAINER = "AGL " TARGET_VENDOR = "-agl" # Override these in poky based distros -AGL_DEFAULT_DISTRO_FEATURES = "largefile systemd opengl wayland pam bluetooth bluez5" +AGL_DEFAULT_DISTRO_FEATURES = "largefile systemd opengl wayland pam bluetooth bluez5 3g" POKY_DEFAULT_DISTRO_FEATURES := "${AGL_DEFAULT_DISTRO_FEATURES}" OVERRIDES .= ":${DISTRO_CODENAME}" QEMU_TARGETS ?= "arm aarch64 i386 x86_64" # Other QEMU_TARGETS "mips mips64 mips64el ppc sh4" -PREMIRRORS ??= "\ -bzr://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ -cvs://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ -git://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ -gitsm://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ -hg://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ -osc://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ -p4://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ -svn://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n" - MIRRORS =+ "\ +bzr://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +cvs://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +git://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +gitsm://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +hg://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +osc://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +p4://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +svn://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +bzr://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +cvs://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +git://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +gitsm://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +hg://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +osc://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +p4://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +svn://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ + \ ftp://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ http://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ -https://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n" +https://.*/.* https://download.automotivelinux.org/AGL/mirror/ \n \ +ftp://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +http://.*/.* http://download.automotivelinux.org/AGL/mirror/ \n \ +https://.*/.* http://download.automotivelinux.org/AGL/mirror/ \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 @@ -53,17 +92,18 @@ VIRTUAL-RUNTIME_net_manager = "connman" DISTRO_FEATURES_APPEND = " " DISTRO_FEATURES_remove = "x11" -DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" +DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit pulseaudio" +PREFERRED_VERSION_wayland-ivi-extension ?= "2.0.%" # Prefer GStreamer 1.10.x by default -PREFERRED_VERSION_gstreamer1.0 ?= "1.10.%" -PREFERRED_VERSION_gstreamer1.0-plugins-bad ?= "1.10.%" -PREFERRED_VERSION_gstreamer1.0-plugins-base ?= "1.10.%" -PREFERRED_VERSION_gstreamer1.0-plugins-good ?= "1.10.%" -PREFERRED_VERSION_gstreamer1.0-plugins-ugly ?= "1.10.%" -PREFERRED_VERSION_gstreamer1.0-libav ?= "1.10.%" -PREFERRED_VERSION_gstreamer1.0-omx ?= "1.2.%" +PREFERRED_VERSION_gstreamer1.0 ?= "1.12.%" +PREFERRED_VERSION_gstreamer1.0-plugins-bad ?= "1.12.%" +PREFERRED_VERSION_gstreamer1.0-plugins-base ?= "1.12.%" +PREFERRED_VERSION_gstreamer1.0-plugins-good ?= "1.12.%" +PREFERRED_VERSION_gstreamer1.0-plugins-ugly ?= "1.12.%" +PREFERRED_VERSION_gstreamer1.0-libav ?= "1.12.%" +PREFERRED_VERSION_gstreamer1.0-omx ?= "1.12.%" # Prefer libjpeg-turbo PREFERRED_PROVIDER_jpeg = "libjpeg-turbo" @@ -90,6 +130,7 @@ SECURITY_CFLAGS_pn-gpm = "" SECURITY_LDFLAGS_pn-gpm = "" SECURITY_CFLAGS_pn-libatasmart = "" SECURITY_LDFLAGS_pn-libatasmart = "" +SECURITY_CFLAGS_pn-optee-client = "" # Not yet upstreamed; should be submitted. SECURITY_CFLAGS_pn-qtwebengine = "${SECURITY_NO_PIE_CFLAGS}" @@ -133,3 +174,25 @@ INITRAMFS_FSTYPES := "${AGL_DEFAULT_INITRAMFS_FSTYPES} ${AGL_EXTRA_INITRAMFS_FST # # THE FUTURE is 'wic' # IMAGE_FSTYPES_append = " wic" + +# enable the packagemanagement +IMAGE_FEATURES =+ "package-management" +PACKAGE_FEED_URIS = "http://192.168.7.1:8000/tmp/deploy/" +PACKAGE_FEED_BASE_PATHS = "rpm" +PACKAGE_FEED_ARCHS = "" +#${PACKAGE_ARCHS}" + + +# Fix for rpm metadata clash between nativesdk-cmake and nativesdk-qtbase-tools +# (revalidate after 2017-10-15, 2018-06-12: still required) +DIRFILES_pn-nativesdk-cmake = "1" + +# For https://jira.automotivelinux.org/browse/SPEC-1629 : +# We exclude the conflicting vars from the sstate task hash. +# This needs to be verified. +do_package_write_rpm[vardepsexclude] += "ARCHIVER_TOPDIR PF" + +# For https://jira.automotivelinux.org/browse/SPEC-1677 +# Some issues appear, with the yocto version of valgrind, on aarch64. +# (valgrind exits due to an unhandled instruction') +PREFERRED_VERSION_valgrind ?= "git"