diff options
author | Sung-Jin Park <sj76.park@samsung.com> | 2013-05-14 02:59:07 -0400 |
---|---|---|
committer | Boram Park <boram1288.park@samsung.com> | 2013-09-02 17:05:04 +0900 |
commit | babf94f077b5d715a1d2c61e7345015a2565cf79 (patch) | |
tree | e94d20819d4223c120756e83b409a84c5cc8171d | |
parent | e4f0d6da0af14f75b035e741ae5d898106529968 (diff) | |
download | xf86-misc-exynos4412-babf94f077b5d715a1d2c61e7345015a2565cf79.tar.gz xf86-misc-exynos4412-babf94f077b5d715a1d2c61e7345015a2565cf79.tar.bz2 xf86-misc-exynos4412-babf94f077b5d715a1d2c61e7345015a2565cf79.zip |
Apply systemd patch for xresources service
Change-Id: I56037c24b248feef43e3d85e73ecd1f257437cd8
-rw-r--r-- | packaging/xorg-x11-misc-exynos.spec | 6 | ||||
-rw-r--r-- | packaging/xresources.service | 12 |
2 files changed, 18 insertions, 0 deletions
diff --git a/packaging/xorg-x11-misc-exynos.spec b/packaging/xorg-x11-misc-exynos.spec index d5295dd..a3d4622 100644 --- a/packaging/xorg-x11-misc-exynos.spec +++ b/packaging/xorg-x11-misc-exynos.spec @@ -7,6 +7,7 @@ ExclusiveArch: %arm Group: System/X11 License: MIT Source0: %{name}-%{version}.tar.gz +Source1: xresources.service Requires: xserver-xorg-core Requires(post): xkeyboard-config @@ -56,6 +57,9 @@ ln -s /etc/rc.d/init.d/xserver %{buildroot}/etc/rc.d/rc4.d/S02xserver ln -s /etc/rc.d/init.d/xresources %{buildroot}/etc/rc.d/rc3.d/S80xresources ln -s /etc/rc.d/init.d/xresources %{buildroot}/etc/rc.d/rc4.d/S80xresources cp -af arm-common/Xorg.sh %{buildroot}/etc/profile.d/ +mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants +install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/xresources.service +ln -s ../xresources.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/xresources.service cp -rf arm-e4412/* %{buildroot}/etc/X11/ @@ -78,4 +82,6 @@ mkdir -p /opt/var/log /etc/X11/xorg.conf /etc/X11/xorg.conf.d/*.conf %{_bindir}/startx +%{_libdir}/systemd/system/xresources.service +%{_libdir}/systemd/system/multi-user.target.wants/xresources.service diff --git a/packaging/xresources.service b/packaging/xresources.service new file mode 100644 index 0000000..38464b3 --- /dev/null +++ b/packaging/xresources.service @@ -0,0 +1,12 @@ +[Unit] +Description=Xresources +After=rc-sdlevelinit.service +Requires=rc-sdlevelinit.service + +[Service] +Type=forking +ExecStart=/etc/rc.d/init.d/xresources start +ExecStop=/etc/rc.d/init.d/xresources stop + +[Install] +WantedBy=multi-user.target |