From: Hyunbin Lee Date: Tue, 20 Aug 2013 01:59:16 +0000 (+0900) Subject: Add the excluded directory list to estimate actual application storage space X-Git-Tag: 2.2.1_release~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1afb8a9ca310a9846609066acf73c1d7921191f2;p=framework%2Fosp%2Fenv-config.git Add the excluded directory list to estimate actual application storage space Change-Id: I2b56c3fabb55e37b4610d6e859540fa5d9c0e9c1 Signed-off-by: Hyunbin Lee --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 752ab98..01516e6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) diff --git a/packaging/osp-env-config.spec b/packaging/osp-env-config.spec index a19c713..f19ae7f 100644 --- a/packaging/osp-env-config.spec +++ b/packaging/osp-env-config.spec @@ -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 index 0000000..199a06f --- /dev/null +++ b/usr/etc/app-storage-exclude-dirs.list @@ -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