aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-04-12add vmware driversMartin Kelly1-0/+13
VMWare Fusion defaults to SCSI disks, so we need it builtin to the kernel to recognize the boot disk. While we're at it, add in other useful VMWare-related modules. Change-Id: Ia571142d5d3493b3b14619e6df29367bf06e5ae5 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-04-12systemd: remove force flag to mount in mount.shMatt Ranostay1-1/+1
Using the force flag causes some artifacts to exist and also breaks the blocking check till unmount is complete. Change-Id: Idfc8268a2e1f8cd0905b5f8b11f53d416d251d90 Bug-AGL: SPEC-483 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-12update weston.ini for Renesas Gen3 boardRonan Le Martret1-0/+11
update weston.ini from Renesas rcar Gen3 BSP 2.17 Bug-AGL: SPEC-530 Change-Id: I5577a18cb5707c2484a46d3c91025ad087b6fa1e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-11update Renesas Gen3 driver for BSP 2.17Ronan Le Martret1-4/+3
update driver to version 2017-03-24. Bug-AGL: SPEC-530 Change-Id: I5e18b5baa93419c80409b983de68ba4f7aaa74be Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-09LLVM3.3 build fix on qemux86-64Jan-Simon Möller1-1/+2
The build for qemux86-64 will fail on llvm3.3 b/c of the SECURITY_CFLAGS and SECURITY_LDFLAGS (due to -fstack-protector-strong). Fix it by blacklisting the flags for llvm3.3 . Change-Id: I506c398521b59877d78e56d698571e272b52e94a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-09Set UBOOT_MACHINE to minnowmax for intel-corei7-64 and SOTAAnton Gerasimov1-0/+4
UBOOT_MACHINE is required when u-boot is used, but no generic intel-corei7-64 config exists for u-boot, choose Minnowboard Change-Id: If8bf05caaef98535aedef9d4ecd98cd2ab0c2e16 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-04-06Add porter-bootfiles to dependencies when agl-sota is enabledAnton Gerasimov2-0/+2
Previously it was a dependency to the image class, but for WIC we have to define such dependencies in local.conf Change-Id: I30f898553cd1cd8971d8768a9181d6e45857bf5d Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-04-04Handle systemd's "inactive" state as transientJosé Bollo1-1/+1
Inactive is returned sometimes but it means that the service is not started yet not that it failed to start. AGL-Issue: SPEC-520 Change-Id: I35bb6cf8e2c50fa46b23ce5d5817c4d139a42bf4 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-04-04Add grub2 support in SOTAAnton Gerasimov13-0/+16
Change-Id: Ia37920f6190e9dfe68c4d63a01f204ff6fc66423 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-04-04dra7xx: Enable GStreamer on the morty branchKarthik Ramanan1-6/+4
Change-Id: Ida4de1eab50d7d83f6134ea0e7c27fd469517c5a Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-04-04dra7xx: cleanup of gstreamer filesKarthik Ramanan2-176/+0
Change-Id: If77f088450ea9473523fdc35cb72fbc83bff285a Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-04-04dra7xx: gstreamer1.0-plugins-bad: Upgrade to 1.8.2Karthik Ramanan11-0/+5140
Apart from upgrading to 1.8.2 as the base, it also contains several TI specific patches that are required to enable functionality for kmssink and waylandsink. A few bug fixes have also been included in this patch set. This recipe is rehosted from meta-arago Change-Id: I2a5b95db1b0e6b2b907f3e82ff738fd8124c0998 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-04-04dra7xx: gst-plugins-ti: Update VPE plugins to latestKarthik Ramanan1-2/+2
Change-Id: I080e800929f9b25428a604a23ac4d15df4ae3cad Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-04-04lightmediascanner: add dbus configurationMatt Ranostay2-0/+11
MediaPlayer application needs Dbus access to org.lightmediascanner and its signals. Bug-AGL: SPEC-484 Change-Id: I8b2006e1c6405e52d8fc310a841eb26176c00ea8 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-04lightmediascanner: add udev scan ruleMatt Ranostay3-0/+18
Initialize a scan on media insertion, and trigger an dbus event on media removal. AGL-Issue: SPEC-483 Change-Id: I7cd79401938f7671dc642647848381259cf87915 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-04Add media automounting supportMatt Ranostay3-0/+116
Use the automount.rules from udev-extraconf for mounting and unmounting removable media AGL-Issue: SPEC-483 Change-Id: I8c0353a76d5080ec2e4eff9dc4a48ba771e7a393 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-03dra7xx: gst-plugins-ti: Update ducati plugins to latestKarthik Ramanan1-2/+2
Change-Id: Idb53f6c42802d0ab4b4d995451c3dc76063ca498 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-04-03lightmediascanner: change service scan pathMatt Ranostay1-1/+1
Change from scan path from /usr/share/media to /run/media for removable media. AGL-Issue: SPEC-483 Change-Id: I5829007249f8006aa3d85e2426bcfcf6223f8a2b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-01qemux86-64: add Virtio GPU DRM driverMatt Porter1-0/+1
Add virtio gpu driver to support host GPU accelerated graphics within a QEMU guest image. Change-Id: I0ecf4fdfdb1d036cd48515d9efcf84381c3d5a6f Bug-AGL: SPEC-516 Signed-off-by: Matt Porter <mporter@konsulko.com>
2017-03-30faac: fix typo of SRC_URI directiveMatt Ranostay1-1/+1
AGL-Spec: SPEC-504 Change-Id: I87bc02fd4a4ddb0e85fc06dfcd45212fa93bab79 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-30dlt-daemon: remove spaces before +=Martin Kelly2-4/+4
They're not needed (my bad). Change-Id: Ie45f13c6274bae9d87b4b4df11410a6356b49dd7 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-03-30Generate weston.ini dynamicallyRonan Le Martret29-305/+150
* remove weston-intel.ini * add new package weston-ini-conf * the list of the sections of weston.ini is described in variable flags WESTONSECTION * each section is described in variable flags WESTONSECTION * each output screen is described in agl_screen variable Bug-AGL: SPEC-477 Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-30libuiomux: fix format security issuesMatt Ranostay2-0/+28
Compiler option -Wformat-security found an issue with an printf in named-open test. Change-Id: If81ce4b1ced6d5e0d591301c9059f0dfbb799438 AGL-Issue: SPEC-504 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-30Fix parallel build issue in wayland-ivi-extensionJan-Simon Möller1-0/+4
The build might fail on a linker issue. Change-Id: If0e0895f5a4ee9f64c20c3367df021225f1510bf Bug-AGL: SPEC-508 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-30dra7xx: linux: Update smack patches for Kernel 4.9Karthik Ramanan4-150/+0
Change-Id: Ie6e56fbbf877be62d69daa0d06141009cb99422a Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-30dra7xx: Remove SRC_URI updateKarthik Ramanan1-11/+0
Change-Id: I9ce4a9d1019269e4955544e341b5d1d0bd7a3e15 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-30dra7xx: linux: rename kernel recipe to make version agnosticKarthik Ramanan1-0/+0
Change-Id: Id33c8f4c1d75aa6adf1b276995fc7991603c41cb Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-29faac: fix format security issueMatt Ranostay3-0/+58
Port patchsets from Khem Raj's tree to fix -Wformat-security issue that was exposed with security options to the compiler. Change-Id: I3c746f71484bc3cb4b210f956465147918856340 AGL-Spec: SPEC-504 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-03-29dra7xx: weston: cleanup patchesKarthik Ramanan6-229/+1
Change-Id: Ia2f246daae241a4b91721b7c17ae608145cd30a3 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-29dra7xx: preferred kernel is 4.9Karthik Ramanan1-1/+1
Change-Id: Iecdc8dcd745dfb1c375bf631ccf7953299ca4e92 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-29dra7xx: minor cleanup of config fileKarthik Ramanan1-6/+0
Change-Id: I5c54d695c48c97f0dda82445ee66d04c0425d391 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-29dra7xx: u-boot: Remove patch for compilation fixKarthik Ramanan2-28/+2
The patch has been integrated into u-boot git repo Change-Id: I540db7bd3658300a3dffc218d228d43e7e87a2b8 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-29Fix version of gst-omxTadao Tanikawa1-7/+7
There is no 1.8.x of gst-omx. (next version of 1.2.0 is 1.9.x) And "1.8%" for gstremaer and plugins is something ambiguous, "1.8.%" would be better. Change-Id: I71c7d5d7d6a406a03390231801a33eb6d60586cd Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-03-29Fix version mismatch of gstreamer for R-Car Gen3Tadao Tanikawa2-0/+2
The version of gstreamer and its plugins would be 1.6.3 for R-Car Gen3 BSP v2.16. Also for OMX would be 1.2.0. (These are from the versions of poky:krogoth's gstreamer) Because of missing PREFERRED_VERSION, the wrong version of gstreamer(1.8) was built. Bug-AGL: SPEC-471 Change-Id: Ie4bbffa16b549d6f5ea11bfe821eb7db0a9373a9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2017-03-29Fix virtual provider for webruntimeJan-Simon Möller1-0/+4
A recipe that is to be used as virtual provider needs to declare this in a PROVIDES += 'virtual/foo' statement. The selection then happens through a PREFERRED_PROVIDER. Add the missing PROVIDES. Additionally we found that in case of web-runtime, _R_PROVIDES is not reflecting the PROVIDES as expected and added the necessary override there, too. Kudos to co-investigator Stéphane Desneux. Change-Id: Ic9224ea122c21dab6ab2e7e515d6ac4d0417ef57 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-29Fix af-main buildRonan Le Martret1-5/+9
* remove bashism * do not install service for native build Change-Id: I53f9c06b3638f568058bfef3955230c63b935801 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-28Re-enable security flags proposed in PokyStephane Desneux1-1/+1
This security feature was initially enabled by commit a1e6f20 but it has been disabled later by commit 85844f4. Bug-AGL: SPEC-501 Change-Id: Ic30065a9b3d599adb97bcca78c5863e47fc11920 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-28Merge "Merge: migrate appfw from meta-agl-extra"Gerrit Code Review59-0/+1901
2017-03-28dra7xx: uEnv: default dtb is renamed to identify versionKarthik Ramanan1-1/+1
Update with the new name Change-Id: Icef7ed926821909691ff59a6253473ccbef4061d Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-28dra7xx: ti-sgx-ddk-um: remove recipe from meta-aglKarthik Ramanan1-1/+0
Changes are already part of meta-ti Change-Id: I8d063b8ca5037dbc9b1e16bc60931692c570e0a4 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-28dra7xx: weston: add patches for weston 1.11Karthik Ramanan8-7/+420
These patches are rehosted from meta-arago Reference: https://goo.gl/889cIi Change-Id: I888303ddd99a431587ebb4f7ed5f0f90a6e6538d Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-27dlt-daemon: build with -fPICMartin Kelly2-0/+18
I tried turning on the Yocto security flags and hit a compilation error due to dlt-daemon's copy of gtest not compiling. Adding -fPIC fixes the issue. Change-Id: I21f81949436e553426f7d1b7e17dd39717f0cf9d Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-03-27Merge: migrate appfw from meta-agl-extraStephane Desneux59-0/+1901
Change-Id: Ic56b86228bb748a54352e79acadf0da1c947be76 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Migrate meta-app-framework to meta-aglStephane Desneux2-2/+2
Application Framework is now part of core AGL components and has been moved from meta-agl-extra to meta-agl. Bug-AGL: SPEC-448 The commit history has been kept and the following commits have been moved from meta-agl-extra to meta-agl: e08fc10 2017-03-14 13:07:12 +0100 jose.bollo@iot.bzh Move to AGL framework on top of systemd 8bdc96f 2017-03-24 16:15:04 +0100 ronan.lemartret@iot.bzh Rename webruntime DISTRO_FEATURES 02faef6 2017-03-14 12:50:03 +0100 jose.bollo@iot.bzh Upgrade application framework 9731d66 2017-03-08 14:19:42 +0100 jose.bollo@iot.bzh base-files for the framework ed214a2 2017-03-06 17:19:16 +0100 jose.bollo@iot.bzh Ensure that eXtended Attributes are managed 2969a9f 2017-03-07 17:30:18 +0100 jose.bollo@iot.bzh shadow: 'useradd' copies root's extended attributes e159294 2017-03-08 13:15:58 +0100 jose.bollo@iot.bzh Removes systemd warnings d19db32 2017-03-06 17:11:33 +0100 ronan.lemartret@iot.bzh Add service dependency on run-agl-postinsts d3a02ef 2017-02-23 23:41:45 +0700 tranmanphong@gmail.com Fix the error of homescreen for QEMU x86-64 913a263 2017-02-23 11:03:08 +0100 ronan.lemartret@iot.bzh Update af-main d36e635 2017-02-17 14:35:31 +0100 stephane.desneux@iot.bzh aglwgt.bbclass: fix bashism 72265ee 2017-02-16 18:03:32 +0100 ronan.lemartret@iot.bzh Add dependency to images f3292e8 2017-02-15 17:02:52 +0100 ronan.lemartret@iot.bzh Allowed wgt app to auto-install at the first boot 347aa4d 2017-02-15 16:54:11 +0100 ronan.lemartret@iot.bzh Add afm-install used to install wgt at first boot 9153078 2017-01-20 16:30:39 +0100 ronan.lemartret@iot.bzh Move feature code into the meta recipes b5ce617 2017-01-16 19:43:03 +0100 jsmoeller@linuxfoundation.org Add missing DEPENDS to af-binder ba2ad47 2016-10-25 16:11:27 +0200 ronan.lemartret@iot.bzh fix for gcc6 build 8f15654 2016-10-14 14:21:15 +0200 ronan.lemartret@iot.bzh fix libcap patch 24b96c4 2017-01-03 11:46:04 +0100 jose.bollo@iot.bzh Activates threading and hook features f518d36 2017-01-02 17:10:24 +0100 ronan.lemartret@iot.bzh add fakeroot to aglwgt_deploy task 4c81238 2016-12-28 20:45:11 +0100 jsmoeller@linuxfoundation.org Be more precise in addtask a930811 2016-12-28 19:15:54 +0100 jsmoeller@linuxfoundation.org Fix whitespace in aglwgt bbclass de41ad3 2016-12-28 14:54:42 +0100 jsmoeller@linuxfoundation.org Add aglwgt class 5999238 2016-12-20 15:45:34 +0100 jose.bollo@iot.bzh Authorize the requested permissions a79a010 2016-12-16 12:37:44 +0100 anton@advancedtelematic.com Don't override SYSTEMD_SERVICE of original recipe. b6960b3 2016-12-14 16:34:29 +0100 stephane.desneux@iot.bzh af-main: remove --roothttp option from afm-launch.conf 524e557 2016-12-14 14:08:16 +0100 anton@advancedtelematic.com Move all writable data used by security-manager and appfw to /var d32c40a 2016-12-14 11:26:23 +0100 jose.bollo@iot.bzh af-main: fix exec flag and case sensitive ids 9e930f5 2016-12-07 19:58:18 +0100 ronan.lemartret@iot.bzh add native build for af-main 5b8d3a4 2016-12-05 10:16:12 +0100 stephane.desneux@iot.bzh agl-appfw-smack: remove dependency on meta-agl-security f45014a 2016-11-21 15:37:32 +0100 jose.bollo@iot.bzh Improves places for QT_WAYLAND_SHELL_INTEGRATION d1c5151 2016-11-17 16:26:32 +0100 jose.bollo@iot.bzh smack: removed already applied patch f0d8be8 2016-11-16 13:27:36 +0100 jose.bollo@iot.bzh appfwk: improvements 1d8243b 2016-11-10 12:46:59 +0100 stephane.desneux@iot.bzh meta-app-framework: fix unpackaged files in nativesdk-af-main 4da956c 2016-11-03 11:30:25 +0100 jose.bollo@iot.bzh Smack: add audit when smack is active c6b0317 2016-11-08 11:38:51 +0100 jose.bollo@iot.bzh web-runtime: provide IVI tuning for porter c294b3a 2016-11-08 17:27:51 +0100 jose.bollo@iot.bzh af-main: update c50805d 2016-11-03 11:26:17 +0100 jose.bollo@iot.bzh Smack: fixup of bluetooth socket labelling ce583cd 2016-11-01 15:52:09 +0100 ronan.lemartret@iot.bzh Allow build without meta-agl-demo eadecc1 2016-10-14 13:25:07 +0200 jose.bollo@iot.bzh FWK: Adaptations for jethro 111007a 2016-09-20 14:40:51 +0200 jose.bollo@iot.bzh app-framework: Improvements 53ae34d 2016-09-05 17:13:10 +0200 jose.bollo@iot.bzh app-framework: improvements 8303ea3 2016-08-29 23:25:25 +0200 jose.bollo@iot.bzh Improves the handling of upgrade for websockets 2b33f74 2016-08-10 18:44:15 +0200 jose.bollo@iot.bzh app-framework: fix minor bugs 73771f1 2016-07-18 15:48:59 +0000 mbc@iot.bzh meta-app-framework: install missing libafbwsc library edf0c91 2016-07-15 11:56:18 +0000 stephane.desneux@iot.bzh meta-app-framework: sync with latest af-main sources f848612 2016-07-12 14:17:37 +0000 stephane.desneux@iot.bzh meta-app-framework: sync with latest af-binder sources d277fb2 2016-07-11 21:05:55 +0000 stephane.desneux@iot.bzh meta-app-framework: add missing dependency between af-binder-dev and libafbwsc-dev 17fd881 2016-07-10 17:53:06 +0000 stephane.desneux@iot.bzh meta-app-framework: af-binder must create ${libdir}/afb at postinst time c664012 2016-07-08 15:08:25 +0000 stephane.desneux@iot.bzh meta-app-framework: add af-main-tools and dependencies in nativesdk-packagegroup-sdk-host d7a5a54 2016-07-08 14:24:51 +0000 stephane.desneux@iot.bzh meta-app-framework: af-binder source code update 68dde03 2016-07-05 16:04:51 +0000 stephane.desneux@iot.bzh meta-app-framework: build master branch f3b34f5 2016-06-28 22:13:58 +0000 stephane.desneux@iot.bzh add features agl-demo, agl-appfw-smack and agl-localdev f4b76be 2016-06-28 21:34:29 +0000 stephane.desneux@iot.bzh add feature agl-appfw-smack e80d00c 2016-06-24 11:01:25 +0200 jose.bollo@iot.bzh upgrade to new namings and bug fixes 7cd29bd 2016-06-23 16:00:59 +0000 stephane.desneux@iot.bzh add layer meta-app-framework Change-Id: I8c9dd3ec37099969d5a0984ba7e55710815663c8 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Move to AGL framework on top of systemdJosé Bollo6-60/+37
This new version of the framework leverages systemd features to launch its applications. Some of the advantages are: - possible use of systemd features (namespace, cgroups, autostart, dependency resolution, socket activation, ...) - more feature are let open to integrator's design Some of the drawbacks are: - not more possible to launch an other instance of an application already launched - pause/resume is no more available by the framework - the remote mode is to be redefined This commit integrates the first version of the framework on top of systemd. More work is to come. None of the current drawback is definitive. Bug-AGL: SPEC-138, SPEC-425, SPEC-426, SPEC-427 Change-Id: Idfb98761c0db23562bb783bed1b03aeb956fc587 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Rename webruntime DISTRO_FEATURESRonan Le Martret1-1/+1
* use virtual/webruntime to anticipate multi provider of web-runtime Change-Id: I6606a23248eb4ad91398f04fd943ec5242b244f1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Upgrade application frameworkJosé Bollo2-2/+2
This is the last upgrade of the application framework before the switch to the systemd integrated application framework. Changes for AF-BINDER: ---------------------- - removal of legacy file include/afb/afb-plugin.h - removal of legacy call to readdir_r - allowing to repeat option --ldpaths - new options: --no-httpd, --exec, --random-token - reintegration of libmagic for content-types - fix crash on unhandled request - capable of socket activation by systemd Changes in AF-MAIN: ------------------- - handling of JSON-pointers in template unit - fix a bug in mustach evaluation - error message improvement - added afm-util commands: run-remote and start-remote - switch to cmake 3.4.3 - fix bug in file content helper - fix bug of labelling files that made issue when uninstalling Change-Id: Id18c5ff1edb2a7dee3813e996aed6300bcd97036 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27base-files for the frameworkJosé Bollo3-56/+22
This setting is introduced primarily to allow the recipe agl-users to run in a correct environment. Change-Id: Ib0bd7c8e6520bd87dbb26d9c011f5cb4672f44c7 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27Ensure that eXtended Attributes are managedJosé Bollo1-2/+6
Common tools like 'useradd' work better in a Smacked context when the extended attributes are correctly managed. This is achieved by enforcing extended attributes "xattr" to be in DISTRO_FEATURES. When the commit 1c3eae5e654b7942b3ffd0b53426ca77219cec03 of poky will be integrated in the upstream of AGL (pyro), it will be possible to removes the 3 last lines of meta-app-framework/conf/include/agl-appfw-smack.inc that explicitely activate the handling of extended attributes for the package "shadow". See SPEC-475. Change-Id: I299e68a34e7e49b33f1046aa99d255655fa2ffcc Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-03-27shadow: 'useradd' copies root's extended attributesJosé Bollo3-0/+94
The copy of extended attributes is interesting for Smack systems because it allows to set the security template of the user's home directories without modifying the tools (useradd here). But the version of useradd that copies the extended attributes doesn't copy the extended attributes of the root. This can make use of homes impossible! This patch corrects the issue by copying the extended attributes of the root. This includes 2 patches to implement the behaviour: one for the target and one for the native. The patch for the target was submitted upstream (see below) The patch for the native couldn't be submitted upstream because it applies on a patch specific to open-embedded (that was refused upstream). Upstream-Status: Submitted (http://lists.alioth.debian.org/pipermail/pkg-shadow-commits/2017-March/003804.html) Change-Id: I7ced318a02206fd3f15a6995f59bb82b6c6453d5 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>