Add the excluded directory list to estimate actual application storage space
authorHyunbin Lee <hyunbin.lee@samsung.com>
Tue, 20 Aug 2013 01:59:16 +0000 (10:59 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Tue, 20 Aug 2013 01:59:16 +0000 (10:59 +0900)
Change-Id: I2b56c3fabb55e37b4610d6e859540fa5d9c0e9c1
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
CMakeLists.txt
packaging/osp-env-config.spec
usr/etc/app-storage-exclude-dirs.list [new file with mode: 0644]

index 752ab98..01516e6 100644 (file)
@@ -30,7 +30,7 @@ SET_TARGET_PROPERTIES(${this_target}
        )
 
 INSTALL(TARGETS ${this_target} DESTINATION ${LIB_INSTALL_DIR}
-                               PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ                      
-                    GROUP_EXECUTE GROUP_READ
-                    WORLD_EXECUTE WORLD_READ)
-
+       PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
+       GROUP_EXECUTE GROUP_READ
+       WORLD_EXECUTE WORLD_READ)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/usr/etc/app-storage-exclude-dirs.list DESTINATION ../usr/etc)
index a19c713..f19ae7f 100644 (file)
@@ -54,6 +54,7 @@ cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2  %{buildroot}/usr/share/license
 /usr/share/license/%{name}
 %{_libdir}/*.so*
 %{_libdir}/osp/libappinfo.so*
+/usr/etc/app-storage-exclude-dirs.list
 
 %files devel
 %{_includedir}/osp/*.h
diff --git a/usr/etc/app-storage-exclude-dirs.list b/usr/etc/app-storage-exclude-dirs.list
new file mode 100644 (file)
index 0000000..199a06f
--- /dev/null
@@ -0,0 +1,23 @@
+csa
+dev
+etc
+lib
+mnt
+proc
+sbin
+smack
+srv
+sys
+tmp
+usr
+var
+opt
+data/Share
+data/Share2
+Share
+Share2
+Media
+HomeExt
+ShareExt
+Share2Ext
+Storagecard/Media