From: Kichan Kwon Date: Thu, 10 Aug 2017 01:10:13 +0000 (+0900) Subject: prerun : use system_info_init_db instead of system_info_update_db X-Git-Tag: submit/tizen/20170811.083904^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f345708f88337948195711a53bbf5f198bfab63f;p=platform%2Fadaptation%2Femulator%2Fsystem-plugin-emulator.git prerun : use system_info_init_db instead of system_info_update_db - system_info_update_db is vulnerable because it is static executable Change-Id: Ib9f69051cba162e004d9dc6a90db460a11e8320d Signed-off-by: Kichan Kwon --- diff --git a/filesystem/etc/emulator/prerun b/filesystem/etc/emulator/prerun index 33451de..f0e30cd 100644 --- a/filesystem/etc/emulator/prerun +++ b/filesystem/etc/emulator/prerun @@ -12,6 +12,7 @@ if [ ! -z $1 ]; then ln -sf /bin/busybox /bin/expr ln -sf /bin/busybox /bin/readlink ln -sf /bin/busybox /bin/rm + ln -sf /bin/busybox /bin/chroot else NEW_ROOT= fi diff --git a/filesystem/etc/emulator/prerun.d/set-model-config.sh b/filesystem/etc/emulator/prerun.d/set-model-config.sh index b0286bb..8bd14cf 100644 --- a/filesystem/etc/emulator/prerun.d/set-model-config.sh +++ b/filesystem/etc/emulator/prerun.d/set-model-config.sh @@ -30,11 +30,11 @@ if grep -q "video=" $CMDLINE ; then WIDTH_KEY="tizen.org\/feature\/screen.width\" type=\"int\"" WIDTH_KEY_NAME="tizen.org/feature/screen.width" sed -i s/"$WIDTH_KEY".*\"$WIDTH"\"$HEIGHT"\true\"$SCREEN_DPI"\