summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core/recipes-platform
AgeCommit message (Collapse)AuthorFilesLines
2020-06-27Add distro-build-manifest per image instead of packagegroupJan-Simon Möller1-1/+0
Adding distro-build-manifest in the packagegroup-agl-core-boot does trigger rebuilds of the packagegroup if the manifest changes. Avoid this by adding the manifest directly in the images only (e.g. agl-demo-platform). This prevents multiple tasks from being triggered and saves time. Also this recipe is *not* reproducible by design (timestamps, layer hashes). Bug-AGL: SPEC-3456 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I8c7f6c922465ae5fe08013b0df6f4f6fbcac36ae Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24890 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-05-18Rework test/debug image features and crosssdk image definitionsScott Murray3-31/+19
Changes include: - The agl-test-wgt/agl-devel-wgt image features and the scheme of appending to their FEATURE_PACKAGES definitions turned out to be problematic with respect to resulting in unexpected extra packages ending up in agl-image-{minimal,ivi}, etc., when building with agl-demo configured (which is typical usage). To avoid this, the FEATURE_PACKAGE definitions for the image features have been replaced with tweaks to define COMPLEMENTARY_GLOBS for the features to bring in the test/debug/coverage packages via that mechanism. - The above removes the need to define the extra test/devel packagegroups, and requires some minor tweaks to aglwgt.bbclass to use a -debug package for the debug widget instead of -dbg, to avoid collisions with the dbg-pkgs image feature. As well, the afb-test package has been added as to RDEPENDS of all test widget packages, since that seems sensible and avoids needing to explicitly adding it elsewhere. - Attempt to rework the various crosssdk image definitions to use a layered set of .inc files to remove duplication and ensure that additions to the SDK are declared once in the appropriate profile. It is likely that a clean sheet implementation would have some things coming from meta-agl-profile-graphical, so further rework may be required/desired to continue cleaning things up. Bug-AGL: SPEC-3300, SPEC-3375 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I942b61501beb41d037001b70a501f90b9a59c45d
2020-05-12Widget packaging reworkScott Murray1-5/+16
aglwgt.bbclass changes: - Made the autobuild/agl/autobuild script a hard requirement, as all upstream widgets have it, and this is the first step to actually using it in the class to drive building the widgets after a subsequent round of autobuild script updates. - Reworked wgt packaging to simplify the logic and split the test, debug, and coverage widgets into separate packages to allow installing them separately. - The on target install directories for the widgets have been changed to release, test, debug, and coverage under /usr/AGL/apps, with the previous logic with respect to the AGLWGT_AUTOINSTALL variable being retained for the few widgets that need to go into the manualinstall directory. An "autoinstall" symlink has been added to point at the release directory to maintain previous behavior. This should allow a simple path to configuring installation of the debug or coverage widgets on first boot with future changes. - Added logic to only assume test widgets exist for recipes with names starting with "agl-service-". This can be over-ridden by defining AGLWGT_HAVE_TESTS as "true" in a recipe. - Added AGLWGT_EXTRA_BUILD_ARGS variable for passing extra arguments to widget builds. Currently its default value includes the previous VERBOSE=true that was passed to every autobuild invocation, and "${PARALLEL_MAKE}" which has been added to improve build speed. - Added AGLWGT_PACKAGE_WARN variable to control extra warnings around the existence of test/debug/coverage widgets when packaging. Once further build rework is done, the default for this will likely be changed to "true", currently the output is too verbose to do so. - Removed over-rides to force building of test widget when building with the agl-ptest feature set, as it is now unnecessary and will result in an undesired extra copy of the test widget in the release folder. Other changes: - Created new devel and test packagegroup variants for several of the existing packagegroups to contain the associated widgets. - Added agl-devel-wgt and agl-test-wgt IMAGE_FEATURES to control the addition of dbg/coverage and test widgets to images. Additions to the FEATURE_PACKAGES variables have been added in several places to add the corresponding widget packagegroups. - Added the agl-devel-wgt image feature to the agl-devel feature template definition to match current behavior. Bug-AGL: SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I3a28615db94bbc04e30e98ac3dce8cae942a499f
2019-12-04Move packages from agl-core to agl-iviRonan Le Martret5-43/+1
Bug-AGL: SPEC-2500 v2: moved packagegroup-agl-core-navigation as packagegroup-agl-ivi-navigation to meta-agl-demo Change-Id: I9ce852c80cc7c9789c087517aeee6ce38947a270 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-08-26packagegroups: agl-core-connectivity: add connman pluginMatt Ranostay1-1/+2
Add connman-plugin-session-policy-local package to respective packagegroup. Bug-AGL: SPEC-2772 Change-Id: I9808fd66d25bfbe1d395f0c2be471d2584ebfab2 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-07-03agl-core-connectivity: add avahi-daemon when agl-devel feature is setStephane Desneux1-0/+3
Accessing the boards using .local addresses is convenient. But avahi-daemon is not pulled explicitely in images. This patch adds packagegroup-base-zeroconf (containing avahi-daemon) in the core image only when agl-devel feature is set and zeroconf is enabled in DISTRO_FEATURES Bug-AGL: SPEC-2592 Change-Id: Iea899d98cd0d8628f9533641f7b42c04f4580c64 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-23Move the agl-service-radio to the graphical profileJan-Simon Möller3-18/+0
The agl-service-radio relies on gstreamer. Unfortunately the gstreamer recipe is currently setup to also pull-in wayland (due to a compile-flag if wayland is in DISTRO_FEATURES). To keep the distro aligned, we don't want to change the DISTRO_FEATURES between the profiles, thus we move the agl-service radio to the graphical profile where we include weston anyway by default. For now this means there is no radio service (or mediaplayer service) w/o wayland installed as well. In case we get this requirement, we'll have to work on the gstreamer recipe and its split. v2: fix bbapend in meta-agl-bsp/meta-rcar-gen3 v3: put packagegroup-agl-graphical-multimedia.bbappend in graphical profile (not the best place IMHO) This fixes the non-graphical build. Bug-AGL: SPEC-2500 Change-Id: I5ebec7d7713510f3fcd50ae425d7f8cbb6328016 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-20meta-agl-profile-core: Add packagegroup-machine-base to imagesScott Murray2-1/+2
Add packagegroup-machine-base to packagegroup-agl-image-{boot,minimal}. This replicates its use in oe-core, where it gets pulled in via packagegroup-base into the core-image definition. AGL over-rides CORE_IMAGE_BASE_INSTALL, losing packagegroup-base entirely. However, it is useful to use packagegroup-machine-base to pick up any BSP definitions of MACHINE_EXTRA_RDEPENDS and MACHINE_EXTRA_RRECOMMENDS, which some of the machines defined in meta-freescale-3rdparty use for non-essential firmware for onboard peripherals. Bug-AGL: SPEC-2517 Change-Id: I1ee07955dc60da1388b21b7a531dab8483935194 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-17agl-image-minimal-crosssdk: add afb-helpers & appcontroller libsThierry Bultel1-0/+2
Applications that no longer use the afb-helpers & appcontroller as submodules must be buildable with a minimal SDK. Bug-AGL: SPEC-2527 Change-Id: I31af05e2a9256db68394dcef88e424ecc8eb1ec2 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2019-06-10agl-core-services: build the radio service if pipewire is enabledGeorge Kiagiadakis1-1/+1
And we no longer need to care about older systems Bug-AGL: SPEC-2473 Change-Id: Iac46298183f7ed0e080c71fb94e57ed8f3e1283c Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-06-10agl-core-multimedia: update for the pipewire transitionGeorge Kiagiadakis1-10/+0
Only pipewire is supported now, all other switches can go away Bug-AGL: SPEC-2473 Change-Id: I443dba64bc92282dfbb440a05c792b631570fc92 Signed-off-by: George Kiagiadakis <george.kiagiadakis@collabora.com>
2019-05-08agl-service-bluetooth-map: add recipe for bluetooth MAP serviceMatt Ranostay1-0/+1
add agl-service-bluetooth-map to packagegroup-agl-core-services Bug-AGL: SPEC-2351 Change-Id: I7242377f1b55c2e24f0d0f0124e0f1319544d380 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-02-18meta-agl-profile-core: packagegroups: add libqmi to connectivity profileMatt Ranostay1-0/+1
If DISTRO_FEATURES contains '3g' then includ the libqmi package to allow configuration of WWAN modules that have a Qualcomm MSM Interface. Change-Id: I96c890ef42a24039d9156a1a336d1dab17c66b75 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-12-07Add platform-info bindingRomain Forlot1-0/+1
Initiate a new binding development providing a simple way to get platform information like hardware capabilities or build informations. Bug-AGL: SPEC-1917 SPEC-720 Change-Id: I89e0f802be407fda9f86d38d69f956e036a45016 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-12Pull agl-audio-plugin and pulseaudio conditionnalyStephane Desneux2-2/+2
If agl-pulseaudio feature is not set, pulseaudio (or agl-audio-plugin) shouldn't be pulled in images. Currently, agl-service-radio requires either 4a or pulseaudio. So a temporary hack has to be made to remove it from core services packagegroup if dependencies are not met. Bug-AGL: SPEC-1802, SPEC-1811 Change-Id: Ief7a88cc288aba5c818ea7e7cbfede0ffb87c639 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-09packagegroup-agl-core-boot: add package distro-build-manifestStephane Desneux1-0/+1
The purpose of distro-build-manifest is to generate and distribute build manifests for a given AGL build (generally, an image build). The recipe generates the build manifest 'platform-build-info' at each build (no caching) and this manifest is then stored in 3 locations with different set of data: * image: in /etc/platform-build-info * deploy dir: image/$MACHINE/platform-build-info * sdk: generated but not packaged yet Important Note: the 3 manifests contain at least the 'target manifest' but some extra information are added depending on the target location: * build host information are only available in the deploy dir manifest * SDK specific data are only available in the SDK manifest An example of generated build manifests (sorry for long lines): in target (package distro-build-manifest): ------------------------------------------------------------------------------ DIST_MACHINE="h3ulcb" DIST_FEATURES="agl-appfw-smack agl-audio-4a-framework agl-demo agl-devel agl-hmi-framework agl-netboot agl-profile-graphical agl-profile-graphical-qt5 agl-ptest agl-pulseaudio " DIST_LAYERS="agl-manifest:4f3b4e1 meta-agl-demo:6.90.0-3-gfc32c5e meta-agl-devel:6.90.0-3-gf4b12f5 meta-agl-extra:6.90.0-0-ged8c0a7 meta-agl:6.90.0-20-g46941e2 meta-gplv2:f875c60 meta-intel:8.1-rocko-2.4.2-21-g718bb38 meta-intel-iot-security:v1.0.0-34-g20bbb97 meta-iot-bzh:4.99.3-45-g1de6fff meta-oic:70d5bec meta-openembedded:3525310 meta-qt5:5.2.1+origin/release-445-g682ad61 meta-raspberrypi:8e4c537 meta-rcar:a055159 meta-renesas-rcar-gen3:6.90.0-0-gb3625d6 meta-security:8f6969a meta-security-isafw:489abdc meta-updater:ff555e8 meta-updater-qemux86-64:697632d poky:rocko-18.0.3-0-g7e7ee66" DIST_BUILD_HASH="Fd30d961c-L91230d88" DIST_BUILD_ID="AGL-h3ulcb-Fd30d961c-L91230d88" DIST_BB_MACHINE_ARCH="h3ulcb" DIST_BB_MACHINEOVERRIDES="rcar-gen3:r8a7795:h3ulcb:aarch64:ulcb" DIST_BB_MACHINE_FEATURES="biglittle agl-egvirt gsx multimedia rtc qemu-usermode" DIST_BB_DISTRO_CODENAME="guppy" DIST_BB_DISTRO_FEATURES="acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc libc-posix-wchar-io largefile systemd opengl wayland pam bluetooth bluez5 surroundview bluetooth netboot smack dbus-cynara xattr automount agl-audio-4a-framework agl-hmi-framework agl-devel pulseaudio sota pam use_eva_pkg h264dec_lib h264enc_lib aaclcdec_lib aaclcdec_mdw ptest gobject-introspection-data ldconfig" DIST_BB_DISTRO_BRANCH_VERSION_TAG="guppy/6.90.0" DIST_BB_AGLVERSION="6.90.0" DIST_BB_AGL_BRANCH="master" DIST_BB_AGLRELEASETYPE="agldevelopment" ------------------------------------------------------------------------------ in deploy dir: ------------------------------------------------------------------------------ [target manifest] + DIST_FEATURES_MD5="d30d961c8981a7badc467aedafb0687b" DIST_BUILD_HOST="devel@bsp-devkit-odin-0-sdx" DIST_BUILD_OS="Debian GNU/Linux 8 (jessie)" DIST_SETUP_TS="20181009_153656_UTC" DIST_SETUP_MANIFEST="/xdt/build/h3ulcb/aglsetup.manifest" DIST_BUILD_TS="20181009_153832_UTC" DIST_LAYERS_MD5="91230d88544a1ac1845d80ad5f083651" DIST_BB_DISTRO="poky-agl" DIST_BB_DISTRO_VERSION="6.90.0+snapshot-20181009" DIST_BB_DISTROOVERRIDES="poky-agl" DIST_BB_TUNE_FEATURES="aarch64" DIST_BB_TUNE_PKGARCH="aarch64" DIST_BB_ALL_MULTILIB_PACKAGE_ARCHS="all any noarch aarch64 h3ulcb" ------------------------------------------------------------------------------ in SDK: ------------------------------------------------------------------------------ [target manifest] + DIST_BB_DISTRO="poky-agl" DIST_BB_DISTRO_VERSION="6.90.0+snapshot-20181009" DIST_BB_DISTROOVERRIDES="poky-agl" DIST_BB_TUNE_FEATURES="aarch64" DIST_BB_TUNE_PKGARCH="aarch64" DIST_BB_ALL_MULTILIB_PACKAGE_ARCHS="all any noarch aarch64 h3ulcb" DIST_BB_HOST_SYS="aarch64-agl-linux" DIST_BB_TARGET_SYS="aarch64-agl-linux" DIST_BB_TARGET_VENDOR="-agl" DIST_BB_SDK_ARCH="x86_64" DIST_BB_SDK_VENDOR="-aglsdk" DIST_BB_SDK_VERSION="6.90.0+snapshot" DIST_BB_SDK_OS="linux" ------------------------------------------------------------------------------ Bug-AGL: SPEC-720, SPEC-1741 Change-Id: I934acc87e13d2f6ec867684af515b89a89a89338 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-09-09agl-profile-core/packagegroup-agl-core-boot: add rng-toolsStephane Desneux1-0/+1
On some boards (typically Minnowboard Max), the kernel's random number entropy pool may fill too slowly. As a consequence, if many processes ask for random data at the same time, the reads on /dev/random are blocked until the entropy pool has been filled. This patch adds rng-tools in the core images: the rngd daemon will start at boot and fill the entropy pool. Bug-AGL: SPEC-1655 Change-Id: Icbcf6a9ea685774dd13e33597689a3fd05aaadf4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-08-23Add lua-dev and lua-staticdev to minimal crosssdk imageJan-Simon Möller1-0/+13
Change-Id: I28d58ec2096531e6db008f8417c47fde23768994 Bug-AGL: SPEC-1678 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-14Remove deprecated WiFi binding from core servicesMatt Porter1-1/+0
The WiFi binding has been deprecated by the network binding. Remove the recipe and remove it from core services. Bug-AGL: SPEC-1543 Change-Id: Ifb86faafa0e6d8550c735be5e54c18d0af1b3775 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-08-01Make pulseaudio conditional for packagegroup-agl-core-multimediaRonan Le Martret1-3/+2
Bug-AGL: SPEC-1234 Bug-AGL: SPEC-1601 Change-Id: I6bcf01d15d47d5224faf36a2ee28fa5d79cf77bd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-07-11profile: core: platform: add nfc connectivity RDEPENDSMatt Ranostay1-0/+2
Add neard, and neardal package to the connectivity packagegroup Bug-AGL: SPEC-1554 Change-Id: I2fffaaa91517088a0f2ed51c742dff7f9004a737 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-07-10Add network binding to core packagegroupMatt Porter1-0/+1
Adds network binding to the core service binding packagegroup. Bug-AGL: SPEC-1540 Change-Id: Ic46ac041e5c6122d812483910867aacbeb657d4e Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-28[GEN3 KF] Configure GPS deviceRonan Le Martret1-0/+1
* For the Renesas Gen3 extention board Kingfisher, we must specify the GPS device for gpsd service. * Create a new machine type kingfisher. Bug-AGL: SPEC-1538 Change-Id: If6b7e49f6a006218e57c58e15855e0d65eb849cd Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-06-27agl-service-iiodevices: add recipe for iiodevicescle©mentbeénier1-0/+1
add agl-service-iiodevices to packagegroup-agl-core-services Change-Id: Ifa61ddd9904cf5e7d166e515bc36e0f647fd7c1f Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-19Add bluez5-obex to connectivity packagegroupMatt Porter1-0/+1
Adds bluez5-obex to connectivity packagegroup for SDK builds. Bug-AGL: SPEC-1517 Change-Id: Idab6802d6d675d21100d1233c4c77bfd78234382 Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-18Add bluetooth pbap binding to core packagegroupMatt Porter1-0/+1
Adds Bluetooth PBAP to the core service binding packagegroup. Bug-AGL: SPEC-1517 Change-Id: Ifa96ba3059cb2130d11af7a257e13e59b011445a Signed-off-by: Matt Porter <mporter@konsulko.com>
2018-06-12Alias agl-image-ivi-crosssdk with agl-image-minimal-crosssdkJan-Simon Möller1-0/+2
For compatibility and until changes propagate through CI, add an alias. Change-Id: Ie035e4148c64f737b95cfcea05e72ccd586d532b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-05-313rd part of the layer/profile rework [1/2]Jan-Simon Möller15-0/+282
This is the last larger commit in this series and deals with the graphical part. We introduce the graphical profiles: - meta-agl-profile-graphical -- meta-agl-profile-graphical-html5 -- meta-agl-profile-graphical-qt5 Notable changes: - weston-ini-conf moved to the meta-agl-bsp layer. Most BSPs have bbappends, so we need to have the recipes present (but unused) even in the console images. - new image: agl-image-boot = terminal-only + network + package-manaager. Ready for using package-feeds - new image/sdk: agl-image-minimal-crosssdk - agl-service-mediaplayer has a dependency on weston, thus it cannot be in the 'core'. Moved it to profile-graphical. - The wayland-ivi-extension moved to the agl-demo-platform. - The app-framework layer included and pulled 'web-runtime' as dependency. This broke console-only images. This has been moved to be in meta-agl-demo only for now. - added and massaged the agl-features. - found and added a useful script 'oe-depends-dot' that helps to work with the dot files (produced with bitbake -g) Todo: - we'll need another pass through the packagegroups. The dependencies for the layers/profiles are now sorted-out but we might have to add/shuffle a few packages. For further details, see meta-agl/docs/profiles.md. v2: fix meta-agl/meta-security/conf/layer.conf - the immediate expansion previously used in there caused some recipes not being added to BBFILES. v3: fix packagegroup renaming (packagegroup-agl-devel -> packagegroup-agl-core-devel) v4: fix missing packagegroup inclusion (tnx Jose, Scott, Stephane) v5: fix missing packagegroup inclusion v6: explicitely put profile-graphical-qt5 on-top of profile-graphical v7: re-add 'procps' when agl-devel feature is on Bug-AGL: SPEC-145 Change-Id: I24cdcd1118932758d0c55d333338238f2a770877 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>