From 66f697d8d1631339e03ffd201a3b21e295895c1a Mon Sep 17 00:00:00 2001 From: Kichan Kwon Date: Mon, 14 Aug 2017 19:10:41 +0900 Subject: [PATCH] Remove build option related with upgrade script Change-Id: Ie1e01c0bb0ab7354c9dc32fee4f5a6a5e1b3a218 Signed-off-by: Kichan Kwon --- CMakeLists.txt | 9 --------- packaging/capi-system-info.spec | 8 +------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 75bcf8d..caef066 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,15 +81,6 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/system_info_intf.h DESTINATION ADD_SUBDIRECTORY(src/tizenid) ADD_SUBDIRECTORY(src/init_db) -#Upgrade script -CONFIGURE_FILE( - script/500.system_info_upgrade.sh.in - ${CMAKE_CURRENT_SOURCE_DIR}/500.system_info_upgrade.sh - @ONLY -) -INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/500.system_info_upgrade.sh DESTINATION ${UPGRADE_SCRIPT_PATH}) - - IF(UNIX) ADD_CUSTOM_TARGET (distclean @echo cleaning for source distribution) diff --git a/packaging/capi-system-info.spec b/packaging/capi-system-info.spec index f02d808..7ec6d37 100644 --- a/packaging/capi-system-info.spec +++ b/packaging/capi-system-info.spec @@ -38,7 +38,6 @@ cp %{SOURCE1001} . %define sysinfo_shared_path %{TZ_SYS_ETC}/sysinfo %define tizen_id_path %{sysinfo_shared_path}/tizenid %define db_path %{TZ_SYS_RO_ETC}/system_info_db -%define upgrade_script_path %{TZ_SYS_RO_SHARE}/upgrade/scripts %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` @@ -47,10 +46,8 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` -DINFO_FILE_PATH=%{info_file_path} \ -DMAJORVER=${MAJORVER} \ -DFULLVER=%{version} \ - -DSHARED_PATH=%{sysinfo_shared_path} \ -DTIZEN_ID_PATH=%{tizen_id_path} \ - -DDB_PATH=%{db_path} \ - -DUPGRADE_SCRIPT_PATH=%{upgrade_script_path} + -DDB_PATH=%{db_path} %__make %{?_smp_mflags} @@ -84,9 +81,6 @@ mkdir -p %{buildroot}/%{sysinfo_shared_path} %{_unitdir}/tizenid.service %{_unitdir}/sysinit.target.wants/tizenid.service -#upgrade script -%{upgrade_script_path}/500.system_info_upgrade.sh - %files devel %manifest %{name}.manifest %{_includedir}/system/system_info.h -- 2.7.4