Age | Commit message (Collapse) | Author | Files | Lines |
|
Add :agl-devel and :agl-ptest overrides using :append instead of .= operator
to defer its action after the distro config is parsed. The distro config now
resets OVERRIDES list since the recent DEFAULTTUNES change.
Bug-AGL: SPEC-5037
Reported-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I82e7832cab421726f783cec80556f59f6f4de312
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29587
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
|
|
This is mostly the result of running a slightly customized version
of the convert-overrides.py script from poky with additional
overrides added. A few minor fixups were done by hand afterwards
during a review of the changes.
The intent of these changes is to minimize the effort to keep the
"next" branch that builds against poky master up to date and tested
in preparation for the switch to the next Yocto LTS release in
early 2022.
Bug-AGL: SPEC-4052
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ia3bf63b7cb1aa1d95ada373d1a3ab56def0a125d
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26564
Tested-by: Jenkins Job builder account
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Explicitely call of the ptests used in CI to be part of the filesystem.
This will fix h3ulcb-nogfx not having the lua ptest deployed.
Bug-AGL: SPEC-3398
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I058a5a0d0a3a39710316b3d366a3d94215d1cedc
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24577
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>
|
|
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
|
|
This will build afb-test binding and tests it using PTest.
Bug-AGL: SPEC-1439
Change-Id: I75d1bbb0a780ca036ab0d653fdcbacda883122f9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
This change adds a feature 'agl-ptest' that can be used to enable the addition
of the 'ptest' packages to the final image.
See the YP documentation about ptest:
- https://wiki.yoctoproject.org/wiki/Ptest
- http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#testing-packages-with-ptest
TLDR: enable feature +
build image +
boot image +
login +
call 'ptest-runner' +
go get some coffee, go for a walk or run it just overnight
Bug-AGL: SPEC-911
Change-Id: Ifbe7b4144a9e1071295da58e26e8a8bd2260cd88
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11327
Reviewed-by: Thomas Rini <trini@konsulko.com>
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>
|