From: Sooyoung Ha Date: Tue, 8 Jul 2014 08:10:15 +0000 (+0900) Subject: packaging: modify spec file for fix network problem. X-Git-Tag: submit/tizen/20150602.060836~13^2~8^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=171033675b8e28e1e1810f723d408425f8de0635;p=platform%2Fadaptation%2Femulator%2Fsystem-plugin-emulator.git packaging: modify spec file for fix network problem. Add %posttrans on spec file and now the /etc/preconf.d/emulator_ns.preinit script will execute after all packages have been installed. It will change the resolv.conf file. Change-Id: I06e4d4a727d0dfa4e95b8240ec0bb500613bc063 Signed-off-by: Sooyoung Ha --- diff --git a/packaging/system-plugin-emulator.spec b/packaging/system-plugin-emulator.spec index 04297a2..b7d5625 100644 --- a/packaging/system-plugin-emulator.spec +++ b/packaging/system-plugin-emulator.spec @@ -75,6 +75,10 @@ if [ -e /etc/fstab ]; then echo "/dev/vdb swap swap defaults 0 0" >> /etc/fstab fi +%posttrans +#run emulator_ns.preinit script after all packages have been installed. +/etc/preconf.d/emulator_ns.preinit + %files /etc/emulator/setup-audio-volume.sh /etc/emulator/mount-hostdir.sh