From deed5fbf8483f78c97e85a9d2162450b5a79afe6 Mon Sep 17 00:00:00 2001 From: Hokwon Song Date: Wed, 30 Oct 2013 19:00:38 +0900 Subject: [PATCH] Update a smack rule file. Change-Id: I8fe83e43a1de6921c7ee5bec20fbed4a92a079c7 Signed-off-by: Hokwon Song --- CMakeLists.txt | 2 +- osp-common-service.manifest | 5 ----- packaging/osp-common-service.spec | 3 +-- res/osp-common-service.rule | 9 +++++++++ 4 files changed, 11 insertions(+), 8 deletions(-) create mode 100644 res/osp-common-service.rule diff --git a/CMakeLists.txt b/CMakeLists.txt index bf926b0..49cac1e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,4 +96,4 @@ TARGET_LINK_LIBRARIES(${this_target} ${${this_target}_LDFLAGS} ${${this_target}_ INSTALL(TARGETS ${this_target} DESTINATION ../usr/apps/${APPID}/bin) INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/manifest.xml DESTINATION ../usr/apps/${APPID}/info) INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/ DESTINATION ../usr/apps/${APPID}/data) - +INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${this_target}.rule DESTINATION ../opt/etc/smack/accesses.d) diff --git a/osp-common-service.manifest b/osp-common-service.manifest index 0c6f1a9..ed97903 100644 --- a/osp-common-service.manifest +++ b/osp-common-service.manifest @@ -2,11 +2,6 @@ - - - - - diff --git a/packaging/osp-common-service.spec b/packaging/osp-common-service.spec index 48d7438..4236830 100644 --- a/packaging/osp-common-service.spec +++ b/packaging/osp-common-service.spec @@ -40,7 +40,6 @@ BuildRequires: osp-messaging-internal-devel # runtime requires Requires: chromium Requires: osp-appfw - Requires(post): bluetooth-frwk-service %description @@ -90,7 +89,7 @@ cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license %files /usr/apps/sjjevolsjk/* +/opt/etc/smack/accesses.d/%{name}.rule %manifest osp-common-service.manifest /usr/share/license/%{name} - diff --git a/res/osp-common-service.rule b/res/osp-common-service.rule new file mode 100644 index 0000000..60d4257 --- /dev/null +++ b/res/osp-common-service.rule @@ -0,0 +1,9 @@ +root sjjevolsjk rw---- +_default_ sjjevolsjk rw---- +sjjevolsjk alarm-server::alarm rw---- +sjjevolsjk bt-service::admin -w---- +sjjevolsjk net-config rw---- +sjjevolsjk connman rw---- +sjjevolsjk location_fw::client rw---- +sjjevolsjk deviced::display rw---- +sjjevolsjk tethering::dbus-access rw---- -- 2.7.4