summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-21Improves places for QT_WAYLAND_SHELL_INTEGRATIONJosé Bollo3-3/+29
This define is currently needed by all applications launched by the framework. This commits allows that. Change-Id: Ia56268c1bca58f2da7c0152fa735751603d799bc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-17smack: removed already applied patchJosé Bollo1-1/+0
This patch is already applied to linux-yocto_4.4.26 Change-Id: Icc58ac2f2d14589c5318286b487f0e13e5ff93f2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-16appfwk: improvementsJosé Bollo1-1/+1
This commit adds the following improvements to the application framework: - "once" method to launch applications at most one time - minor warning fixes when compiling - allowing % substitution in environment variables - export of the variable AFM_APP_INSTALL_DIR - set the execute flag on installed binaries Change-Id: I729d3b882089473c627e166c35bd0d96e70c9c53 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-12Add ota draft for ota imageJan-Simon Möller1-0/+72
Change-Id: I42debe5e710d9b1fc90f68a5d49e7fbb3e709cf4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-11Merge "agl-demo: Add iotivity-resource-samples from meta-oic"Jan-Simon Moeller2-0/+4
2016-11-10Merge "meta-app-framework: fix unpackaged files in nativesdk-af-main"Jan-Simon Moeller1-0/+5
2016-11-10agl-demo: Add iotivity-resource-samples from meta-oicPhilippe Coval2-0/+4
As currently a single package is added, agl-demo feature is used, Later, an upcoming "ocf-automotive" feature might be used. GNU/screen is also helpful to switch between demo client and server. For more details check: https://wiki.iotivity.org/yocto#automotive_grade_linux_agl Note: meta-oic 1.1.1 as date of today is not supporting aarch64, so reciepe needs to be patched elsewhere. Bug-AGL: SPEC-158 Change-Id: I0d88258354d8f2c4d3c83bcf761e8f2500000000 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-10Merge "Revert "agl-demo: Add iotivity-resource-samples from meta-oic""Jan-Simon Moeller2-4/+0
2016-11-10Revert "agl-demo: Add iotivity-resource-samples from meta-oic"Jan-Simon Moeller2-4/+0
This reverts commit 18389a3ea67c0844c0c76c14d4891baaf25c7a9e. The build breaks on dragonboard-410c/aarch64 as reported on the ML. Revert from the feature until recipes are fixed or amended. Change-Id: I8aad0e492c19ed03606e8d63739fc518e224cb55 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-10meta-app-framework: fix unpackaged files in nativesdk-af-mainStephane Desneux1-0/+5
Recent changes in af-main now generate .pc (pkgconfig) files. These files shouldn't be packaged for nativesdk-af-main: they are just removed at the end of the install task to avoid the 'unpackaged files' error. Change-Id: I61364c430c0272e8e8a398e1e5640c856c668c1b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-11-09Merge "af-main: update"Jan-Simon Moeller1-1/+1
2016-11-09Merge "Smack: add audit when smack is active"Jan-Simon Moeller2-0/+5
2016-11-09agl-demo: Add iotivity-resource-samples from meta-oicPhilippe Coval2-0/+4
As currently a single package is added, agl-demo feature is used, Later, an upcoming "ocf-automotive" feature might be used. GNU/screen is also helpful to switch between demo client and server. For more details check: https://wiki.iotivity.org/yocto#automotive_grade_linux_agl Bug-AGL: SPEC-158 Change-Id: I0d88258354d8f2c4d3c83bcf761e8f2566c54e26 Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2016-11-09Smack: add audit when smack is activeJosé Bollo2-0/+5
It is important for developement process and for monitoring hacking to track violations and to monitor wrong uses or problems. By activating audit with Smack we ensure that detection and reporting of hazardous or malicious violations will be possible. Change-Id: I7808ff17b5b8ba1fb09742fd273f46f06917d26b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-09web-runtime: provide IVI tuning for porterJosé Bollo2-1/+2
Added to the environment: export QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" This allows HTML5 applications to run on top of the IVI-shell. Note to AGL integrators: this is a temporary patch that can be removed at the end. Change-Id: Ic2b5f75327af6cbd1af4c7bd1eeb5cc3a2b743fd Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-09af-main: updateJosé Bollo1-1/+1
Include features for HomeScreen: - returns pids - renamed verbs: stop -> pause & continue -> resume - dbus manifests Change-Id: I24ea59f376f57182c7060aca1c96539866cdcaba Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-08Merge "add feature dependency for agl-demo"Jan-Simon Moeller1-0/+1
2016-11-08Merge "A tool for uploading OSTree objects to a server together with ↵Jan-Simon Moeller3-0/+150
integration code"
2016-11-08A tool for uploading OSTree objects to a server together withAnton Gerasimov3-0/+150
integration code Bug-AGL: SPEC-194 Change-Id: I650e190bbda67ad48233bc5aedc0c10ff14aa58f Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-08Added SOTA_VERSION that is displayed when user runs 'sota-client -v' onAnton Gerasimov1-1/+2
the target machine Change-Id: Ifa04f2fb5f6cd5e0ecd2a14af07128e030a44a8b Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-08Merge "Upgrade to the latest rvi_sota_client"Jan-Simon Moeller1-33/+44
2016-11-07Upgrade to the latest rvi_sota_clientPhil Wise1-33/+44
* Backwards compatibilty for sota.toml files * Run 'sync' after installing a package (prevents RPM database corruption) * Stability fixes Change-Id: Ie3d3e436b754c1950d8ca6e63e2e214f300cf7d5 Signed-off-by: Phil Wise <phil@advancedtelematic.com>
2016-11-07add feature dependency for agl-demoRonan1-0/+1
Change-Id: Ib92ceda385e5e4d9771b4bb999bff983e18d68a6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-11-04Merge "Smack: fixup of bluetooth socket labelling"Jan-Simon Moeller10-0/+413
2016-11-04Merge "OTA-enabled live image for Porter board"Jan-Simon Moeller2-1/+76
2016-11-04Smack: fixup of bluetooth socket labellingJosé Bollo10-0/+413
The sockets created by kernel thread will now be tagged @ instead of _. This problem was occuring during creation of AF_BLUETOOTH (but is also latent AF_ALG, AF_IUCV, AF_SCTP, AF_TIPC as they don't go through the normal socket creation process within linux). Having the tag @ allows read/write to sockets without special rules and tus solve the problem. This solution from upstream linux patches backported and from a patch made by Samsung for Tizen and that is currently discussed within kernel lists. Also add some improvements of the LSM Smack (valid caching and signal 0). These improvements are backports of patches already available for linux 4.9-rc3. AGL-bug: SPEC-293 (https://jira.automotivelinux.org/browse/SPEC-293) Change-Id: I5999a951a4bbeba7947ebfe5df091de07d59e57e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-11-03Merge "Allow build without meta-agl-demo"Jan-Simon Moeller2-1/+3
2016-11-03Merge "Update rvi-sota-client"Jan-Simon Moeller9-203/+220
2016-11-02OTA-enabled live image for Porter boardAnton Gerasimov2-1/+76
Bug-AGL: SPEC-307 Change-Id: I74ddc2622048a50243b82fbf023aa05c33322af4 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-11-02Allow build without meta-agl-demoRonan2-1/+3
Change-Id: Ic78464d6e9c07e205b222b3f0f3d49ed1b928ed6 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-10-31Update rvi-sota-clientAnton Gerasimov9-203/+220
Change-Id: I1d5ceb776427298d46ab26dab2c822041dff00e0 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-31Move RPi specific bbappends to meta-agl-bspAnton Gerasimov2-4/+0
Bug-AGL: SPEC-254 Change-Id: Ic87171163ad81b8fd9f96a5e1d22b9b9522485c2 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-28Move machine-dependent sota configuration to machine templatesAnton Gerasimov2-25/+6
Change-Id: Iaf00906eb44f50490a67e5f5e5ca229fd1f76028 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-27Double size of OTA ramdisk to 16MPhil Wise1-1/+1
The ramdisk size on qemux86-64 was 9MB, decompressed, which was causing a kernel panic on boot. Double it to 16MB. Change-Id: I11e28977b1342d3d8cb5c43de5105ac288d097f2 Signed-off-by: Phil Wise <phil@advancedtelematic.com>
2016-10-27Merge "OSTree-enabled image for raspberry Pi"Jan-Simon Moeller10-5/+260
2016-10-27OSTree-enabled image for raspberry PiAnton Gerasimov11-6/+261
Bug-AGL: SPEC-254 v2 [jsmoeller]: change rpi fdt addr to 200M (fix cma), re-add inherit gobject-introspection (!) v3 [oytis]: move boot logic to editable uEnv.txt Change-Id: Ic54aadc8377ed1e2a8f2f4ab87db2a7a6660cd15 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-26Fix build of ostree on host systemJan-Simon Möller1-1/+1
Host systems without gobject-introspection natively will fail the build. Add the proper dependencies and wrappers to the recipe. Fixes: tmp/sysroots/x86_64-linux/usr/bin/g-ir-compiler --includedir=. OSTree-1.0.gir -o OSTree-1.0.typelib | Could not find GIR file 'Gio-2.0.gir'; check XDG_DATA_DIRS or use --includedir | error parsing file OSTree-1.0.gir: Failed to parse included gir Gio-2.0 Change-Id: I2ae926c10aec0bb93c25707917f47ea22da3b870 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-25ostree_git.bb: Upgrade to v2016.12Leon Anavi1-1/+1
Upgrade OSTree to v2016.12 which was released on 24 October 2016. Bug-AGL: SPEC-194 Change-Id: Ia4d937df4386925407d7e3187172be52a9154ae3 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2016-10-24FWK: Adaptations for jethroJosé Bollo4-5/+71
Since introduction of ambient capabilities, systemd deprecated the use of Capabilities. With systemd 229 activated with krogoth, the use of Capabilities does nothing. This commits avoids to use SecureBits and Capabilities. It now relies on the fact that post installations are setting the capabilities to the file: - setcap cap_mac_override,cap_dac_override=ep afm-system-daemon - setcap cap_mac_override,cap_mac_admin,cap_setgid=ep afm-user-daemon Using p (permitted) instead of i (inherited) that was previously used. It also includes evolutions of the security model to be synchronized with the deletion of 'User'. The recommended version to use now is the commit 20bbb97f6d5400b126ae96ef446c3e60c7e16285. Change-Id: Id24ce7c7651e2fdf8d66b6e8286268e7d88508a0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2016-10-19Merge "Fix build of libgsystem in sota feature"Jan-Simon Moeller1-1/+1
2016-10-19Only build u-boot in otaimg for qemux86, otherwise it should be managedAnton Gerasimov1-2/+5
by live image recipe Bug-AGL: SPEC-296 Change-Id: Idbb00f33fd04b2a2d9fa8c615347f9b85d917d4a Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-18Fix build of libgsystem in sota featureJan-Simon Möller1-1/+1
libgsystem_git.bb needs gobject-introspection in the inherit statements. Add it there to fix the build. Change-Id: I43c25ed02b15b7a1f53ab5111813c09a5c6b84fa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-18Merge "Bump OSTree version to v2016.11"Jan-Simon Moeller5-5/+29
2016-10-18Merge "Fix initramfs build for sota"Jan-Simon Moeller1-1/+3
2016-10-12Bump OSTree version to v2016.11Anton Gerasimov5-5/+29
Bug-AGL: SPEC-285 Change-Id: Ie76e8bbad1f272cfc0bc34654a708d3ae233dde0 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-10-12Fix initramfs build for sotaJan-Simon Möller1-1/+3
The initramfs_fstypes default to cpio.gz, we need ext4.gz. Change-Id: Ib35e7ff23767fbe02b25f7605a22fcfb7b5899c8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-10[sota][rpi2/3] Fix multiple provider issue when agl-sota is enabledJan-Simon Möller1-0/+2
Without this changeset, we have a multiple provider warning when building for the rpi. NOTE: multiple providers are available for virtual/bootloader (u-boot, u-boot-ota) NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/bootloader Change-Id: I5dbf98841ac171bbd4a925786fd7f2849fb7e36b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-04Tuned initrd image and pseudo environment to fix bugs with extendedAnton Gerasimov10-375/+157
security attributes. Bug-AGL: SPEC-259 Change-Id: I44499ce3f5f1924aecf63689a93d1f20e779225e Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-28Fixed a typo in configuration template that prevented the image fromAnton Gerasimov1-1/+2
building. Bug-AGL: SPEC-253 Change-Id: Iaba028604f164f16e05015fe34ff0013ff6e1865 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2016-09-26Added initramfs image and fixed several error to make AGL rootfsAnton Gerasimov11-205/+673
bootable as an OSTree deployment Bug-AGL: SPEC-253 Change-Id: If636a282d51a64c73c46ce70a361518c1f70cdd6 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>