diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-16 01:02:59 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-16 01:02:59 +0900 |
commit | 13bea142ffce4b9e3be996884f237f9f93272e2b (patch) | |
tree | 35c5dc9bfcad7323ed762e59fb4e8edabdb4cc7d | |
parent | 910085b002957922f76374d10c46075688085d0d (diff) | |
download | system-plugin-slp-tizen_2.1.tar.gz system-plugin-slp-tizen_2.1.tar.bz2 system-plugin-slp-tizen_2.1.zip |
merge with mastersubmit/tizen_2.2/20130714.154238submit/tizen_2.1/20130424.222537accepted/tizen_2.1/20130425.0144562.2_release2.1b_releasetizen_2.1
-rwxr-xr-x | etc/rc.d/rc.sysinit | 18 | ||||
-rwxr-xr-x | packaging/system-plugin-slp.spec | 2 |
2 files changed, 11 insertions, 9 deletions
diff --git a/etc/rc.d/rc.sysinit b/etc/rc.d/rc.sysinit index d49044d..ee2c286 100755 --- a/etc/rc.d/rc.sysinit +++ b/etc/rc.d/rc.sysinit @@ -138,19 +138,21 @@ ln -s /boot/modem.bin /modem/modem.bin #touch sensor start echo 1 > /sys/class/i2c-adapter/i2c-2/2-004a/touchstart -if [ -e /opt/etc/.coredump ]; then +echo -e "[${_G}run profile${C_}]" +# Run profile +. /etc/profile + +if [ -e /opt/etc/.debugmode ]; then + echo "debug mode enabled" + # for bluescreen + export LD_PRELOAD=/usr/lib/libsys-assert.so # enable coredump - echo "/opt/usr/share/crash/core/%p_%s_%e.core" > /proc/sys/kernel/core_pattern + echo "/opt/bs/core/core.%p" > /proc/sys/kernel/core_pattern ulimit -c unlimited else - echo "core dump disabled" - ulimit -c 0 + echo "debug mode disabled" fi -echo -e "[${_G}run profile${C_}]" -# Run profile -. /etc/profile - /usr/bin/press 1 # wait input to stop running scripts if [ $? -eq 0 ]; then echo "script is stopped" diff --git a/packaging/system-plugin-slp.spec b/packaging/system-plugin-slp.spec index 23ab501..e8cebb2 100755 --- a/packaging/system-plugin-slp.spec +++ b/packaging/system-plugin-slp.spec @@ -3,7 +3,7 @@ Summary: system-plugin for Clean SDK Version: 0.0.1 License: Apache-2.0 Group: System/Base -Release: 64 +Release: 62 ExclusiveArch: %arm Source: %{name}-%{version}.tar.gz BuildRequires: cmake |