Age | Commit message (Collapse) | Author | Files | Lines |
|
New options are:
* -t|--topic : add a 'topic' to current setup (default: empty)
* -V|--version : display aglsetup version
The topic value can be any string and it is propagated to aglsetup.manifest,
which in turn is used by distro-build-manifest to put it in DIST_BUILD_TOPIC
variable in all build manifests (deploy dir, target image, sdk)
Using the --topic option to specify a unique identifier will help to provide a
common ID for all builds in the same "family" even if features and layers differ.
For this purpose, a topic could be:
* a gerrit review id + a patchset number
* a project name (git repo) + a Change-Id
* a random UUID
* ...
When run with -V or --version, aglsetup writes its version on stdout and sets
the variable AGLSETUP_VERSION then exits. As aglsetup can only be called by
being sourced, the AGLSETUP_VERSION variable is finally set in the caller
environment.
The version can be used for various purposes. The immediate goal is to detect
if --topic option is supported or not.
Bug-AGL: SPEC-2646
Change-Id: I0b68dfa297509dac07e9b2942948631cfc13c319
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
The build timestamp is added to build manifests deployed in target images and SDK.
Also, this patch adds a new option '-t|--timestamp' to distro-manifest-generator.sh
to let the recipe pass the same timestamp as the one used for the image suffix
(in Yocto 2.6/Thud, DATETIME is used). So DIST_BUILD_TS should have the same value
as the image version suffix.
Bug-AGL: SPEC-2649
Change-Id: I2a9d11b2ce59753bca31ebb8e82d46c224110d68
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Using repo tool, a .repo subfolder is created beside the cloned git repositories.
It contains also some git repositories (handled by repo tool).
But when enumerating the layers, those extra ".repo/xxxx" git repositories must
be ignored to get a consistent signature on layers.
This patch excludes hidden folders (starting by '.') from the search.
Bug-AGL: SPEC-2648
Change-Id: Ibee41d4efff0898d1bf67ab661ccdf70729b6211
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Bump the AGLVERSION and the AGLRELEASETYPE.
Change-Id: Ia2744798f717c59c28de520220a16d5d13e1a7cf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
We need to reconsider this changeset. It seems to
produce a regression.
This reverts commit ccb667c35ffdea7a2bc1304750e6b22368cd55f7.
Change-Id: I42754a899e8530f4e18a069ed227f18a8d615801
|
|
Enforce serialization of messages, makes event really asynchronous,
and enforce (un)subscribe in living request.
Include the following changes:
* 909893e afb-evt: Improve compatibility to guppy
* 248ec5d afb-evt: send events in separate job
* c8cc0d6 Revert "afb-stub-ws: Allow unordered process of messages"
* bc38af3 afb-xreq: Forbids (un)subscribes after reply
* 0342cd1 afb-client-demo: Allow pipe of messages
Bug-AGL: SPEC-2215
Bug-AGL: SPEC-2219
Bug-AGL: SPEC-2542
Bug-AGL: SPEC-2599
Change-Id: I357aeb852e2041ac6056dd563dac42f29dadb52d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
When using netboot, the kernel is responsible for establishing the IP connection.
For this reason, connman is instructed to "forget" this boot interface and
/etc/resolv.conf is generated by the initrd script (from /proc/net/pnp).
This patch removes the previously set SMACK label 'System' so file has label _,
which makes it readable by any process.
Bug-AGL: SPEC-2640
Change-Id: I13704827434a795aab2264755dc01ec796be8847
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
A typo in the recipe of af-binder avoided
to correctly define the supervision socket.
Bug-AGL: SPEC-2621
Change-Id: I47dcd94e5454d85d9b5994d4f82a0f8abb400000
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
agl-service-hvac has hvac.json file to set LED and
CAN_DEV parameter, however this file is not installed.
v2 move to main bb recipe file.
fix wrong discription from WORKDIR to {S}.
Bug-AGL: SPEC-2600
Change-Id: I8c0a416b3196b67cbb131d9351a1d20cc2dfe74f
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
|
|
Change the distro config to post-RC2 .
Change-Id: I5135ab220d2b38a5fa049661f2346eed010648a5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
When using netboot, the initrd script mounts /tmp and /run before pivoting on
the new rootfs and then running systemd. As a consequence, systemd doesn't try
to remount /tmp or /run (and the correct smack labels are not applied on /tmp
and /run, leading to many issues).
This patch unmounts /tmp and /run just before running systemd which will
then mount them with correct labels.
Bug-AGL: SPEC-2596
Change-Id: I4cd7b67f04c232a6e48c777fb5fefa6c46f6744a
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
The download server is currently http only.
Add a fallback option to the MIRRORS in the distro configuration.
Change-Id: Ic5403d921463a4f6aea813a150950c0d023aa77d
Bug-AGL: SPEC-2604
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
Change the distro configuration in preparation of HH rc2.
Change-Id: I6ca53cb2a2981c1c63133efd6d0222ede64f09f8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Move canbus network script from meta-agl-profile-telematics to
meta-profile-core. Since this is useful for more than just
telematics
Bug-AGL: SPEC-2580
Change-Id: I93666d87f1fb3eb037743d2858a8757d6939c5e3
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Rename the 4a-sound.cfg fragment to the more generic sound.cfg, and
change CONFIG_SND_ALOOP to module, not built-in. This still keeps it
available if something ends up needing it.
Bug-AGL: SPEC-2555
Change-Id: Ib0554800dc704d19b48a7e041d4f2b60a1b42192
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Remove dangling PREFERRED_PROVIDER over-ride of virtual/navigation that
was forcing the use of the older navigation application instead of the
setting of the newer ondemandnavi application done in the distro
configuration.
Bug-AGL: SPEC-2576
Change-Id: Id6f7d6636bef5cf40dc5085b02030acd0e7d494d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
To enable agl-service-radio to access the RTL-SDR USB devices, install
the provided rtl-sdr.rules file in /etc/udev/rules.d, modifying it to
tweak the device permissions, group, and SMACK label to meet the
requirements for the new application framework audio permission.
Bug-AGL: SPEC-2573
Change-Id: I22e2c624b8c57df0b5932ba7f8a377ae2c0d9566
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
A missing empty line at the end of a feature's local template
file will lead to a ParseError error.
This patchset will automatically append a new line
at the end of the feature's local template file when
setting up AGL.
Bug-AGL: SPEC-2563
Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
Change-Id: Ica9decdb0bda182de7e25ace4fca6a9f6f7db5ff
|
|
agl-service-unicens now needs libafb-helpers to build, add it to DEPENDS
in its recipe.
Bug-AGL: SPEC-2562
Change-Id: Ief299b51bffb288f2143bfae3cc7a646ba93b43b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
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>
|
|
The default yocto qemuarm machine is versatilepb which is not the right
choice for AGL (ex: Max 256M of RAM).
This patchs change qemuarm configs for using the virt machine.
Change-Id: Ib5e0ae801ba152318a2455763b1a2f1020d1858e
Bug-AGL: SPEC-2376
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
|
|
Add a new cmdline argument using option 'nbd.v3' that could be parsed by the initrd
script used for netboot.
Bug-AGL: SPEC-1423
Change-Id: I1cd189c343672631feda5bcee2e393eb46b9d000
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
* LayerControl: return error if surface is not ready
Bug-AGL: SPEC-2291
Change-Id: Iac8596fdb2aeac29c9bb47db906abad4d2498fc8
Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
|
|
Following recent change 334a201 (#21619), it's now necessary to
explore the layers folder to find git repositories.
But when the build directory is a subfolder of $METADIR (repo folder),
'find' digs too deeply to find git repositories.
This patch adds some limits for 'find' to dig into subfolders:
* only find "top" git repos (no git submodules)
* limit the search depth to 2
Bug-AGL: SPEC-2450
Change-Id: Idd907737673d196cc8ba157a5c49492119efeb88
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
The script setup_mm_packages.sh setups a temp dir to extract proprietary
drivers for Renesas BSP, but it's not re-entrant: the temp dir is not cleaned
after execution.
With the introduction of the change 9bc6c25 (hotfix for GFX issues), more cleanup
is needed to avoid duplicate zips detection in the copy script located in
meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh
This change makes some initial cleanup in the workdir (in case of transition
from a previous script without this patch) and also removes the workdir at the end
Bug-AGL: SPEC-2253, SPEC-2480
Change-Id: Ia95f9045d8a695d550a061710a17676088a92c0a
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Add the cubox-i (covering SolidRun Cubox-i, Hummingboard Gate and
Edge), and nitrogen6x (covering Nitrogen 6x and SABRE Lite) machine
definitions.
Note that support for the Broadcom Bluetooth chipset on the SolidRun
i.MX6 SOM is currently missing, as it requires firmware that is not
available in either the linux-firmware package or from the firmware
packages provided by meta-freescale.
Bug-AGL: SPEC-2517
Change-Id: If7bdb9f1af9bb67dba5c1ff836a6d3b04160fefd
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Update imx6qdlsabreauto configuration to use open source etnaviv GPU
driver instead of Vivante. The previously required weston-ini-conf
has been removed as it is not required with etnaviv, and a bbappend
has been added for the linux-fslc kernel that this configuration uses
so it will pull in the AGL kernel bits. Additionally, the kernel
configuration for linux-fslc is tweaked with config fragments to
better match the other AGL platforms.
Bug-AGL: SPEC-1674, SPEC-2502
Change-Id: Ic40d310b48405ccc7d1435f0fc9f162a129cffe9
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
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>
|
|
You have to tweak mount options on a per filesystem basis so that the
permissions set on the mount point allow the mediascanner and
mediaplayer to read files.
Bug-AGL: SPEC-545
Change-Id: I2579bf4b8be3d0bc05f08f762bb751d4f54651a8
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
to bbappend
Re-enable ofono to be started on system bootup.
Bug-AGL: SPEC-2512
Change-Id: Ia6638a3f4baf5e491e960c0c6e9ec414a6baee0b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Add 'notfication' reporting for the Status property via the org.bluez.obex.Message1
interface.
Bug-AGL: SPEC-2512
Upstream-Status: PENDING
Change-Id: Idce51acdc6f0718f07cc2bb669c4bc71686588ee
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
Remove compiler fix for version 5.22 which is no longer within the tree.
Bug-AGL: SPEC-2512
Change-Id: I8ffc73ba108016214dab5da744339fc4e3da7c54
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
|
|
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>
|
|
Integrate running at platform scope.
Bug-AGL: SPEC-2006
Change-Id: I7d47512c0f7b29f91be9c18144400b02f62b562f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
This integrates the fix of the homescreen crashing
after recent audiomixer change.
Bug-AGL: SPEC-2520
Change-Id: Ia9899cbe23fc88179d26d8069c3e12463bdda5b6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Migration to yocto/oe/thud implied the shift
to dbus-1.12.10. This fixes some upgrading
concern.
Bug-AGL: SPEC-1837
Change-Id: Iaa9c1493e2fbc2a014aae1315e4e4a31891178cb
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The Application Framework has implications
on platform setup. This commit introduces a
recipe that at the end would group all these
required setup at on place.
Bug-AGL: SPEC-1015
Change-Id: I45904ba269883329295bcbc3c70427edbfdd674f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Users should not be able to read other user content.
Use Umask to enforce that.
Bug-AGL: SPEC-1016
Change-Id: Ibb61b7a6a7617117a499650c5bd70bdd5af3c328
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Lightmediascanner runs for one user and should not be able
to look over the the shoulder of other users. So it should
not run as root anymore.
At the moment, lightmediascanner is a user daemon started in the
user session by systemd, without capabilities but with the Smack
label "System".
To allow the service-mediascanner to access its database,
the db must be set in a specific place with the User::App-shared
label.
Bug-AGL: SPEC-1016
Change-Id: Id4546e2567c4f5a0a5139d274d35d11e4879e42e
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>
|
|
The file /etc/afm-unit.conf was genrated from
temporary files manually generated. This was
inefficient and error prone.
This was reworked to enable a straight forward
process that directly calls m4 and sed in the
CMAKE files.
Current commit adapt the recipe to that new process
by adding the new build dependencies.
Bug-AGL: SPEC-2436
Change-Id: I662f7620beccc53b6abe58c14c82ac94ae818491
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The group display protects accesses to display
resources. When running as user, it should not be acquired
by default but on need.
Bug-AGL: SPEC-2006
Change-Id: I7c188720e5cfcb65f02af25d0e4262f59300d16a
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>
|
|
While tuning the recipe, it appears that
having long options helps to understand
the recipe.
Bug-AGL: SPEC-2437
Bug-AGL: SPEC-2006
Change-Id: Ie3d1b288db0d2db3159f1b3453a02db46e863c4f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
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>
|
|
New layout with subfolders causes incomplete DIST_LAYERS to be generated
in deploy/images/.../build-info.
This patches fixes how git repos are found in the layers directory.
Bug-AGL: SPEC-2450
Change-Id: I4b6a62b68064de12119e668522242677e11c65eb
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
This commit includes followings
a4d7197 Merge "Use new event for activating window"
171e9dc Fix compile error
d21de3d Use new event for activating window
462a0ca Merge "Exposed QMLApplicationEngine from AGLApplication"
26d3b8a Exposed QMLApplicationEngine from AGLApplication
c0d77c2 Improve Qt-ness of AGLApplication
02ce712 Add a public feature for wgtpkg-pack
Bug-AGL : SPEC-2474
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Change-Id: I174142c35ecea4be12d805a3bbf753bc048ccfca
|
|
Before that commit, the service weston was started as
user 'display' with a full setup of the user.
It means that all services normally started for user
started for weston: systemd-user, dbus, afm-user-daemon,
lightmediascanner (that is all at the moment). This is
useless and grabs resources.
This commit avoids to start a session for weston.
This saves resources. This changes is part of a set
of changes to run services as not root.
Bug-AGL: SPEC-545
Bug-AGL: SPEC-2492
Change-Id: If51d8fdf8c5e19d10151a2b96a79dc01bbb8ccb4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Bump af-binder revision to include the following:
* 5026438 Build af-binder-devtools-native using GCC-9.1.1
* d6f6df8 afb-daemon: Add /tmp has fallback for uploads
* f9c7430 jobs: Fix infinite wait lock
* 02fe255 Fix afb document typo.
* 4da9c71 afb-export: Fix requirement on multiple apis
* 5d57096 coverage: Add test of AFB_DEBUG_WAIT
* 216666e coverage: Allow to run coverage everywhere
* d00bfe9 Allow to tune installation directories
* 5214323 doc: Improve comment on asynchronous calls
* 6401efb binding-wrap: Rework of context handling
* 13457f6 samples: wrong parameter for get_new_board()
* 78fcce2 Merge changes Id24d9bb0,I6807ed25
* 92c9d33 change style initialization of struct afb_auth
* b369498 missing full initialization for struct afb_verb_v3
* a1e6d2c Merge "afb-migration-to-binding-v3: fix broken links"
* a4cf888 afb-migration-to-binding-v3: fix broken links
* 036629f Fix small issues
* 8f12ffa coverage: Update Makefile
* 6b2b09d Reordering of sample and tutorial bindings
* 9cf1fce Fix rpm packaging following review 20926
* c80873f Change agl-app-framework-binder.sh
BUG-AGL: SPEC-2482
Change-Id: Ied029a20edffd1ac2b347c94819f230a38d3d0b4
Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
|