Change smack rule for system info cache.
authorHokwon Song <hokwon.song@samsung.com>
Mon, 4 Nov 2013 07:16:45 +0000 (16:16 +0900)
committerHokwon Song <hokwon.song@samsung.com>
Mon, 4 Nov 2013 07:23:57 +0000 (16:23 +0900)
Change-Id: Iffc5d4d9753d04a95c0e48d208d0fd75065625b6
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
CMakeLists.txt
global_res/opt/usr/etc/system_info_cache.ini [new file with mode: 0644]
osp-common-service.manifest
packaging/osp-common-service.spec

index 49c5af1..4d05255 100644 (file)
@@ -95,5 +95,6 @@ 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(FILES ${CMAKE_CURRENT_SOURCE_DIR}/global_res/opt/usr/etc/system_info_cache.ini DESTINATION ../opt/usr/etc)
 INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/data/ DESTINATION ../usr/apps/${APPID}/data)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/global_res/opt/etc/smack/accesses.d/osp-common-service.native DESTINATION ../etc/smack/accesses.d)
diff --git a/global_res/opt/usr/etc/system_info_cache.ini b/global_res/opt/usr/etc/system_info_cache.ini
new file mode 100644 (file)
index 0000000..e69de29
index 07710ed..b654211 100644 (file)
@@ -10,5 +10,6 @@
        <assign>
                <filesystem path="/usr/share/license/osp-common-service" label="_"/>
                <filesystem path="/etc/smack/accesses.d/osp-common-service.native" label="_"/>
+               <filesystem path="/opt/usr/etc/system_info_cache.ini" label="_"/>
        </assign>
 </manifest>
index 157a550..082240d 100644 (file)
@@ -90,5 +90,6 @@ cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2  %{buildroot}/usr/share/license
 %files
 /usr/apps/sjjevolsjk/*
 /etc/smack/accesses.d/%{name}.native
+%config(noreplace) /opt/usr/etc/system_info_cache.ini
 %manifest osp-common-service.manifest
 /usr/share/license/%{name}