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~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=23d82862600198df04bbf0094ac02adf5adb0158;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. Conflicts: packaging/system-plugin-emulator.spec Change-Id: I06e4d4a727d0dfa4e95b8240ec0bb500613bc063 Signed-off-by: Sooyoung Ha --- diff --git a/packaging/system-plugin-emulator.spec b/packaging/system-plugin-emulator.spec index 7f66989..d2fdbbb 100644 --- a/packaging/system-plugin-emulator.spec +++ b/packaging/system-plugin-emulator.spec @@ -68,6 +68,10 @@ mkdir -p %{buildroot}/mnt/host mkdir -p %{buildroot}/usr/share/license cp LICENSE %{buildroot}/usr/share/license/%{name} +%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