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>
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