packaging: modify spec file for fix network problem.
authorSooyoung Ha <yoosah.ha@samsung.com>
Tue, 8 Jul 2014 08:10:15 +0000 (17:10 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Fri, 11 Jul 2014 09:48:24 +0000 (18:48 +0900)
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 <yoosah.ha@samsung.com>
packaging/system-plugin-emulator.spec

index 04297a2..b7d5625 100644 (file)
@@ -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