packaging: modify spec file for fix network problem. 55/40255/1
authorSooyoung Ha <yoosah.ha@samsung.com>
Tue, 8 Jul 2014 08:10:15 +0000 (17:10 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Mon, 1 Jun 2015 13:15:16 +0000 (22:15 +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.

Conflicts:

packaging/system-plugin-emulator.spec

Change-Id: I06e4d4a727d0dfa4e95b8240ec0bb500613bc063
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
packaging/system-plugin-emulator.spec

index 7f66989..d2fdbbb 100644 (file)
@@ -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