diff options
author | Ronan Le Martret <ronan.lemartret@iot.bzh> | 2017-09-13 17:58:51 +0200 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-09-15 12:45:42 +0000 |
commit | 3fb7b8cd823c8311c8b5a029d4afe178d4a524b8 (patch) | |
tree | 518809c4b9ae36156e52ce5db0fa0df379dda859 /meta-app-framework/recipes-core/base-files | |
parent | 222488ddd04693c6e005eec7d769a4ed552fc71c (diff) |
Fix post install script dependency
* Since yocto pyro we need to declare PACKAGE_WRITE_DEPS, dependency
for post install script
http://www.yoctoproject.org/docs/2.3/mega-manual/mega-manual.html#var-PACKAGE_WRITE_DEPS
* we alsa need to explicit exit 1 if post script failed
Bug-AGL: SPEC-646
Bug-AGL: SPEC-825
Change-Id: Ic15f8af884895fecacceb9886de5bebe591a2be0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10883
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-app-framework/recipes-core/base-files')
-rw-r--r-- | meta-app-framework/recipes-core/base-files/base-files_%.bbappend | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-app-framework/recipes-core/base-files/base-files_%.bbappend b/meta-app-framework/recipes-core/base-files/base-files_%.bbappend index 0e93b4d65..271fe77a6 100644 --- a/meta-app-framework/recipes-core/base-files/base-files_%.bbappend +++ b/meta-app-framework/recipes-core/base-files/base-files_%.bbappend @@ -1,5 +1,5 @@ -DEPENDS_append_smack = " smack-userspace-native" RDEPENDS_${PN}_append_smack = " smack-userspace" +PACKAGE_WRITE_DEPS_append_smack = " smack-userspace-native" do_install_append() { install -d ${D}/${sysconfdir}/skel/app-data |