security-manager: Improve integration 65/23065/5
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 26 Nov 2019 14:21:18 +0000 (15:21 +0100)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 3 Dec 2019 16:44:27 +0000 (16:44 +0000)
commita13d8ad3225f316fc7d7edaf2805b6cf2e3b5dd1
tree81211b592eaa332473f3dee50ae756b91335bb87
parent2fa5dae62868c63781568eeb5435ed3296c2ddc2
security-manager: Improve integration

This fixes some issues encountered by the current
integration of the security-manager:

 - its recipes is spread in too much directories (see SPEC-2092)
 - its initialization should be checked (see SPEC-2091)
 - the location of the database has to be changed
   (see SPEC-1717 that provided a workaround)

All in one, I decided to create that ticket that summarize
the work that can be quickly achieved to answer all this
issues that are tightly coupled.

Bug-AGL: SPEC-2972
Bug-AGL: SPEC-2092
Bug-AGL: SPEC-2091
Bug-AGL: SPEC-1717

Change-Id: I7af941c25cfa1624d76c2e8f512f6535918912f0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
23 files changed:
meta-app-framework/recipes-core/security-manager/security-manager/Removing-tizen-platform-config.patch [deleted file]
meta-app-framework/recipes-core/security-manager/security-manager/init-security-manager-db.service [deleted file]
meta-app-framework/recipes-core/security-manager/security-manager/init-security-manager-db.sh [deleted file]
meta-app-framework/recipes-core/security-manager/security-manager_%.bbappend
meta-app-framework/recipes-security/security-manager/security-manager_git.bbappend [deleted file]
meta-security/recipes-security/security-manager/security-manager.inc
meta-security/recipes-security/security-manager/security-manager/0001-systemd-stop-using-compat-libs.patch [moved from meta-security/recipes-security/security-manager/security-manager/systemd-stop-using-compat-libs.patch with 90% similarity]
meta-security/recipes-security/security-manager/security-manager/0002-security-manager-policy-reload-do-not-depend-on-GNU-.patch [moved from meta-security/recipes-security/security-manager/security-manager/security-manager-policy-reload-do-not-depend-on-GNU-.patch with 89% similarity]
meta-security/recipes-security/security-manager/security-manager/0003-Smack-rules-create-two-new-functions.patch [moved from meta-security/recipes-security/security-manager/security-manager/0001-Smack-rules-create-two-new-functions.patch with 90% similarity]
meta-security/recipes-security/security-manager/security-manager/0004-app-install-implement-multiple-set-of-smack-rules.patch [moved from meta-security/recipes-security/security-manager/security-manager/0002-app-install-implement-multiple-set-of-smack-rules.patch with 90% similarity]
meta-security/recipes-security/security-manager/security-manager/0005-c-11-replace-deprecated-auto_ptr.patch [moved from meta-security/recipes-security/security-manager/security-manager/c-11-replace-depracated-auto_ptr.patch with 88% similarity]
meta-security/recipes-security/security-manager/security-manager/0006-socket-manager-removes-tizen-specific-call.patch [moved from meta-security/recipes-security/security-manager/security-manager/socket-manager-removes-tizen-specific-call.patch with 87% similarity]
meta-security/recipes-security/security-manager/security-manager/0007-removes-dependency-to-libslp-db-utils.patch [moved from meta-security/recipes-security/security-manager/security-manager/removes-dependency-to-libslp-db-utils.patch with 86% similarity]
meta-security/recipes-security/security-manager/security-manager/0008-Fix-gcc6-build.patch [moved from meta-app-framework/recipes-core/security-manager/security-manager/0001-Fix-gcc6-build.patch with 83% similarity]
meta-security/recipes-security/security-manager/security-manager/0009-Fix-Cmake-conf-for-gcc6-build.patch [moved from meta-app-framework/recipes-core/security-manager/security-manager/0001-Fix-Cmake-conf-for-gcc6-build.patch with 85% similarity]
meta-security/recipes-security/security-manager/security-manager/0010-gcc-7-requires-include-functional-for-std-function.patch [moved from meta-app-framework/recipes-core/security-manager/security-manager/0001-gcc-7-requires-include-functional-for-std-function.patch with 90% similarity]
meta-security/recipes-security/security-manager/security-manager/0011-Fix-gcc8-warning-error-Werror-catch-value.patch [moved from meta-security/recipes-security/security-manager/security-manager/0001-Fix-gcc8-warning-error-Werror-catch-value.patch with 87% similarity]
meta-security/recipes-security/security-manager/security-manager/0012-Avoid-casting-from-const-T-to-void.patch [moved from meta-security/recipes-security/security-manager/security-manager/0001-Avoid-casting-from-const-T-to-void.patch with 90% similarity]
meta-security/recipes-security/security-manager/security-manager/0013-Removing-tizen-platform-config.patch [moved from meta-security/recipes-security/security-manager/security-manager/Removing-tizen-platform-config.patch with 56% similarity]
meta-security/recipes-security/security-manager/security-manager/0014-Ensure-post-install-initialization-of-database.patch [new file with mode: 0644]
meta-security/recipes-security/security-manager/security-manager/include-linux-xattr.patch [deleted file]
meta-security/recipes-security/security-manager/security-manager/libcap-without-pkgconfig.patch [deleted file]
meta-security/recipes-security/security-manager/security-manager_git.bb