uxlaunch.service is in graphical.target of systemd which require
multi-user.target. Put emgd-bin.service in multi-user.service will
implement this objective.
Sign-Off-By Quanxian Wang <quanxian.wang@intel.com>
+* Wed Jul 11 2012 Quanxian Wang <quanxian.wang@intel.com> - 2667
+- Adjust emgd-bin.service to be finished before uxlaunch.service
+ uxlaunch.service is in graphical.target of systemd which require
+ multi-user.target. Put emgd-bin.service in multi-user.service will
+ implement this objective.
+
+
* Tue Jul 10 2012 Quanxian Wang <quanxian.wang@intel.com> - 2667
- Typo Error and bug fix for emgd-bin.init
[Unit]
Description=EMGD Graphics Driver Setup
-DefaultDependencies=no
-Before=sysinit.target
+Before=graphical.target
[Service]
Type=oneshot
ExecStart=/usr/libexec/emgd-bin.init start
[Install]
-WantedBy=basic.target
+WantedBy=multi-user.target
/sbin/ldconfig
-mkdir -p /usr/lib/systemd/system/sysinit.target.wants/
-pushd /usr/lib/systemd/system/sysinit.target.wants/
+mkdir -p /usr/lib/systemd/system/multi-user.target.wants/
+pushd /usr/lib/systemd/system/multi-user.target.wants/
ln -sf ../emgd-bin.service emgd-bin.service
popd
%postun
/sbin/ldconfig
-rm -f /usr/lib/systemd/system/sysinit.target.wants/emgd-bin.service
+rm -f /usr/lib/systemd/system/multi-user.target.wants/emgd-bin.service
if [ -x /bin/systemctl ]; then
systemctl daemon-reload >/dev/null 2>&1 || :
fi