Age | Commit message (Collapse) | Author | Files | Lines |
|
During the last workshop the transition to the new framework was presented.
This change essentially deprecates the SMACK-based application framework.
To prepare the integration of it, we remove the deprecated components:
- meta-agl-core: remove Smack kernel patches
- meta-app-framework
- meta-pipewire/dynamic-layers/meta-app-framework/
Bug-AGL: SPEC-4121
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Icdaeadfb5d2193f3a4c535168c88da6073423e67
|
|
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>
|
|
Pick up changes:
3ea6f4a Merge "Add network and bluetooth permissions to service template"
0a24bbd Add network and bluetooth permissions to service template
ad47803 deal with extra quotes
Bug-AGL: SPEC-2714, SPEC-3509
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Ie1c9bcb958aa5bda810a68c4e579e81321d55dda
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25706
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
|
|
Pick up changes:
af8db35 Fix native compilation
3a2efc3 Merge "Add wait for start jobs"
55e6be4 Add wait for start jobs
70d6c64 Fix labelling of files of widgets
Bug-AGL: SPEC-3365, SPEC-3427, SPEC-3457, SPEC-3489
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I5be593e8e3e91f461dfa3db8063b21839ed6460d
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25051
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>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Update app-framework-main SRCREV in af-main recipe, picking up
changes:
ac6f7ed Add weston dependency for units with display permission
Bug-AGL: SPEC-3411
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iecb3cec7674e5c0a634925067cf66a27581536a3
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24788
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Update app-framework-main SRCREV in af-main recipe to pick up:
f8cee78 Fix uninstall of widgets without icons
f8f2338 Improve use of systemd's states
Bug-AGL: SPEC-3323, SPEC-3401
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I35f6fcb8677bd3d5d49e588d03f5868249532baa
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24584
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>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
af-main: Fix an infinite loop when starting applications
* e7ac328 afm-urun: Fix infinite loop on start status
af-binder: Fix a missing header when compiling C++
* 33ddfb5 Fix includes of C++ header
Bug-AGL: SPEC-3323
Bug-AGL: SPEC-3358
Change-Id: I06a05427b33791a242038d278e452fd73806d2f5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Update app-framework-main SRCREV in af-main recipe to pick up:
6c44e65 Merge "Update weston dependency in afm-system-setup.service"
f86501b Update weston dependency in afm-system-setup.service
Bug-AGL: SPEC-3309
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I62317a543ceba7bced2f40e512bfdaca01202b5f
|
|
This change introduce signature of widgets with
sample keys and certificates of app-framework-main
when the feature agl-devel is selected.
It also shows how to sign widgets in yocto build
environment, using WGTPKG_AUTOSIGN_X environment
variables.
v2: Use an own agl feature for the signing and not agl-devel
This allows us to switch it on selectively.
Bug-AGL: SPEC-2840
Change-Id: I8f66c25a2ae62ad2365c7cdb995049c00b7c780a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This removes the distinction between versions of widgets.
This change can fix issue in starting of applications
due to systemd changes (SPEC-3178)
Includes changes:
* dee2725 Update .gitreview file
* 7f53b81 Merge "system setup: Fix settings on /run/user"
* a855d14 Remove distinction of widget's version
* 4f88827 Fix homescreen start on yocto/Zeus
Bug-AGL: SPEC-3178
Bug-AGL: SPEC-2538
Change-Id: Ibce8316dd9513ad2f5d6d4f1fbea3119d78d0417
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Includes:
* ab26673 system setup: Fix settings on /run/user
Bug-AGL: SPEC-3175
Change-Id: I41f7d3665ec161b7ae6bdbc19ad4ac3616b375c1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Improve setup for solving access issues
While developping the binding afb-test, the export of
the binding afm-test, using "provided-binding" feature
revealed to be broken because of security setup.
Bug-AGL: SPEC-2795
Change-Id: I0af4a46aaa191cad167a332ebb2d14ebbfe04c6a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The allocation of ids and ports was broken because
ids was not well scanned since commit 6008a3e
Bug-AGL: SPEC-3068
Change-Id: Ia92a9c05e99ba1b62856d1610d2a91c9693c35e2
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
This includes:
- the basic OAuth client credential server
- the token logic for WAM apps
- the use of localuser names WAM apps
Bug-AGL: SPEC-2968
Bug-AGL: SPEC-3032
Bug-AGL: SPEC-3033
Bug-AGL: SPEC-3014
Change-Id: I37588d4a4f9b74bb0ab0da70c7fbae1f8979f25e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The widget requesting the permission to run at
platform scope: urn:AGL:permission::partner:scope-platform
should be able to record data and state.
This change provides a default place to achieve it.
Bug-AGL: SPEC-2998
Change-Id: I1278375591716d18ce1346acc0f63fb073e4556a
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
This commit includes changes related to integration
of token security logic and use of nss-localuser.
Changes from af-main are:
* 581f99c wgtpkg-install: Add default permissions
* 50ab763 Remove tokens
* 6008a3e Enforce numeric application IDs
* 653562e Introduce localuser interface for applications
Changes from af-binder are:
* 5026e71 docs(func-service.md): typo
* 2243df1 afb-api-dbus: Fix broken broadcast in dbus apis
* ff5446e afb-proto-ws: Fix crash on event to disconnected
* 1b240e6 afb-hreq: Handle HTTP header Authorization
* 29ae81f Introduce object for tokens
* 6f59158 coverage: Fix regression
* 9a623c3 monitoring: Fix display on connection error
* e6908a2 afb-hreq: Handle access_token query parameter
* 0d3dc97 Remove refreshing token
* 7c67e96 Remove returning token
* e08d57c Don't return the uuid
* b4da3b7 Move tokens from sessions to requests
* e80c1a7 Use afb_token in contexts
* d735ff8 afb-session: Expose a local id for sessions
* 5ac7bb0 afb-session: remove initial token
* 0fd887b u16id: Add maps for identifiers id of 16 bits
* eaf5670 afb-evt: Use 16 bits for ids
* b55f3cd afb-stub-ws: Enforce asynchronous describe
* 7386e1c afb-proto-ws: Change the protocol WSAPI
* 74a7ebb afb-error-text: Introduce standard error text
* af003cd afb-auth: Increase and improve use of afb-auth
* 98b214e afb-hswitch: Update websocket policy
* b70caad afb-context: Move credentials to context
* d8aff62 afb-context & afb-token: rework token validation
* 36094f9 afb-supervision: Improve messages
* 354dfe5 afb-perm: separate access to permission db
* 93483c5 AFB.js: Enforce single code
* c79b6ba Relax constraint on aliases
* 7a28ebb afb-socket: Add ability to set a default scheme
* 82a9d79 main-afb-daemon: manage listening interfaces
Bug-AGL: SPEC-2968
Change-Id: If4751144595c38a69608a962c92b54ae1a976ac8
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
This upgrade includes the 2 fixes and one evolution below:
* conf/system: fix shebang not absolute
* Add WAIT_FOR_HOST_SERVICE envvar to unit files for webapps
* Add discovery of API
Bug-AGL: SPEC-2793
Bug-AGL: SPEC-2863
Bug-AGL: SPEC-2871
Change-Id: I0b9fb30b580be04d2f22c0daf3b21f4c4c0a2087
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Integrates the following changes:
* 3284913 Introduce dbus config of services
* 77bd420 Introduce platform services
* 533d5a1 Fix synchronisation of user setup
Bug-AGL: SPEC-1015
Bug-AGL: SPEC-1016
Change-Id: I3fd000a9fbdd73317b565d69ba2d8fbd49dc4e7f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The process afm-user-daemon is no more used within AGL.
So it is better to remove its installation.
Integrates the following changes:
* d0d4dcd Allow setting of libexec location
* 2db5d23 Fix outdated application path.
* cc93752 Refactor of system and user setup
* 316b19f Remove unused definitions
* 401188a Use definition of afm_prefix
* efabde7 afm-unit conf: Remove useless tests
* 405ba31 afm-user-session: moves in libexec directory
* 07a9590 afm-unit: Simplify the Makefile
* 44b1bdc afm-unit.conf: cleanup of generation
* 2f3486b gitignore: Add ignore of EXTERNALSRC's artifacts
* 5b801a3 afm-unit.conf: Refactor its generation
* ce5c20d afm-user-daemon: Remove it by default
Bug-AGL: SPEC-2006
Bug-AGL: SPEC-2360
Bug-AGL: SPEC-2367
Bug-AGL: SPEC-2436
Bug-AGL: SPEC-2437
Change-Id: Ib77ecc2e9aabb8a3c5cef7266c3f5b19205939b9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This removes all capabilities of applications
installed and launched by the framework.
Bug-AGL: SPEC-2006
Includes the following changes:
* 20bf077 afm-unit.conf: Add widget specific environment
* a44e304 afm-util: Remove legacy commands stop/resume
* f7a3a6e API Overview: Changes to the file that introduces APIs.
* 26dd0f8 API Reference Overview: Removed old "kristi" file, updated book
* b4ca569 afm-unit: Restore removal of capabilities
Change-Id: I8c42d0b312aead668da03a987d0366b4ced73c70
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
For system uses -like automatic testing-, it is
needed to include tha ability to list ALL installed
widgets and ALL running instance of installed
widgets.
This change adds the option -a or --all to the
commands 'list' and 'runners' for the purpose
of listing any installed widgets, even those
requiring to be hidden.
Example: afm-util ps -a
Bug-AGL: SPEC-2272
Bug-AGL: SPEC-1850
Change-Id: I7a6896e79fa624dee7ee1f18d1e75c14f61bed0c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Includes:
* bc39aec Set version to 8.0.0
* 2a319cf Update date in copyrights
Change-Id: I1ff52c2eade4d1089098756b9311954444f64a81
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Includes changes:
* 46e35ce Revert "afm-unit: Restore removal of capabilities"
* 765d080 wgtpkg-unit: Fix Segmentation fault
* d0cb2a7 wgtpkg-pack: Ensure packing relative files
* 48e894b wgtpkg-zip: Ensure zip will not complain
* 9f24684 afm-user-setup service: disable start rate limit
* da0ec3a Revert "afm-unit: add autoapi in required-api feature"
* adc590a Fixed book.yml file
* 2b6e13b afm-unit: add autoapi in required-api feature
* f2a2f13 afm-unit: Restore removal of capabilities
Bug-AGL: SPEC-1988, SPEC-2006, SPEC-2144
Change-Id: I5d425f95d31b46991c952d8be976f8c843e7714d
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
This allows to install more than one target
in a same widget.
Includes:
* 0eb4c25 book doc: add book yaml file
* a8ffd52 wrap-json: Upgrade to latest version
* f8b0495 afm-unit: Fix http port multi allocation
Bug-AGL: SPEC-2068
Change-Id: If018c063ab11724721c4b06861ee515a9be7641b
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
This upgrade includes 3 commits:
* 1b1399e Improve port allocation
* 61b0cc7 Landing page for all APIs
* 7ecf0c1 Fix: retrieve the 'appid' correctly
Change-Id: Ib59b46faf1ed69431e46b7ed5ef3b85cb38f2876
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
af-binder changes:
* 153a7c9 AFB.js: Tiny improvement and space fix
* eca8f3d afb-socket: Fix address reuse
* 42099d3 afb-export: Fix error in event handling
* 83c9e99 main-afb-daemon: Export variables to connect to binder
af-main changes:
* bceaf2c afm-system-daemon: Improve error message report
* 44c70fd Treat correctly running/not running status
* 94176d9 afm-unit: Export new variables
Change-Id: Ifdb631d8155032f72b4497400fdbd935547c7782
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This includes the following changes:
* b2329b7 CMakeLists: Use AGLVERSION if set
* 2a0ac96 wgtpkg-install: Force uninstall
* 91baca1 doc: Changed doc to new format
* f031387 afm-unit.conf: force symbolic link on update
* 43bc2e5 docs: Improve documentating 'required-binding'
* 9e1d25b Merge "docs: Improve documentating 'required-binding'"
* 0e0ae55 afm-unit.conf: Restrict service for APIs
* 24f0c20 Add the ability to access binding through tcp
* 375f481 afm-unit.conf: Enforce starting after network
* 19e745e Merge "afm-unit.conf: Restrict service for APIs"
* 73f3570 Merge "afm-unit.conf: Enforce starting after network"
* d40fc40 afm-urun: Force scan of systemd units
* dc0836f Install afm-user-daemon with correct rights
* 5f7901d afm-util: Fix report of error
It fixes:
Bug-AGL: SPEC-1863
Bug-AGL: SPEC-1846
Bug-AGL: SPEC-1836
Bug-AGL: SPEC-1650
Bug-AGL: SPEC-1800
Bug-AGL: SPEC-1230
Change-Id: Ifd1775448db4ebffa4bb656b5bcefaf891c4efa5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ie1ff83f007d9d8d819829540d51e576f088c97eb
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|