Revert "engineer mode: make .debugmode on engineer image" 56/104956/2
authorSunmin Lee <sunm.lee@samsung.com>
Thu, 15 Dec 2016 02:26:38 +0000 (11:26 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Mon, 19 Dec 2016 06:08:13 +0000 (22:08 -0800)
.debugmode is moved to other package

This reverts commit b153665a12cda6a29f9ba9d12db7f2682ade9af5.

Change-Id: Idfe9cae63b8f4e4122c74abb144250eea45d9f07

packaging/crash-worker.spec
src/crash-manager/debugmode [deleted file]

index 061844f..c6d1b9b 100644 (file)
@@ -68,9 +68,6 @@ This package provides development documentation for crash-worker.
 
 %define upgrade_script_path %{TZ_SYS_RO_SHARE}/upgrade/scripts
 
-#Engineer mode
-%define eng_mode_path   %{TZ_SYS_ETC}
-
 %build
 cp %{SOURCE1001} .
 
@@ -88,12 +85,6 @@ export CFLAGS+=" -Werror"
        %define ARCH_BIT 64
 %endif
 
-%if 0%{?tizen_build_devel_mode}
-       %define eng_mode on
-%else
-       %define eng_mode off
-%endif
-
 %cmake . \
           -DCMAKE_INSTALL_PREFIX=%{_prefix} \
           -DTMP_FILES_DIR=%{_sysconfdir}/tmpfiles.d \
@@ -128,10 +119,6 @@ mkdir -p %{buildroot}%{crash_dump_gen}
 cp dump_scripts/* %{buildroot}%{crash_dump_gen}
 chmod 755 %{buildroot}%{crash_dump_gen}/*
 
-%if "%{eng_mode}" == "on"
-install -m 644 src/crash-manager/debugmode %{buildroot}%{eng_mode_path}/.debugmode
-%endif
-
 %post
 %if %{with sys_assert}
 if [ ! -d /.build ]; then
@@ -185,10 +172,6 @@ sed -i "/${pattern}/D" %{_sysconfdir}/ld.so.preload
 %{_libexecdir}/crash-pipe
 %{_libexecdir}/crash-stack
 
-%if "%{eng_mode}" == "on"
-%{eng_mode_path}/.debugmode
-%endif
-
 #upgrade script
 %attr(-,root,root) %{upgrade_script_path}/500.crash-manager-upgrade.sh
 
diff --git a/src/crash-manager/debugmode b/src/crash-manager/debugmode
deleted file mode 100644 (file)
index e69de29..0000000