[s390utils/f15/master] fix installation of the device_cio_free systemd unit
Dan Horák
sharkcz at fedoraproject.org
Wed Apr 27 09:00:15 UTC 2011
commit ffb1d0d0c73ecd792fee7a098f9000270477da15
Author: Dan Horák <dan at danny.cz>
Date: Wed Apr 27 10:58:35 2011 +0200
fix installation of the device_cio_free systemd unit
s390utils.spec | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/s390utils.spec b/s390utils.spec
index 0498d47..c883d48 100644
--- a/s390utils.spec
+++ b/s390utils.spec
@@ -515,10 +515,10 @@ for lnk in dasd zfcp znet; do
done
popd
mkdir -p ${RPM_BUILD_ROOT}/lib/systemd/system
-mkdir -p ${RPM_BUILD_ROOT}/etc/systemd/system/sysinit.target.wants
+mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/systemd/system/sysinit.target.wants
install -p -m 644 %{SOURCE15} ${RPM_BUILD_ROOT}/lib/systemd/system
-pushd ${RPM_BUILD_ROOT}/etc/systemd/system/sysinit.target.wants
-ln -sf /lib/systemd/system/%{SOURCE15} %{SOURCE15}
+pushd ${RPM_BUILD_ROOT}%{_sysconfdir}/systemd/system/sysinit.target.wants
+ln -sf /lib/systemd/system/device_cio_free.service device_cio_free.service
popd
# ccw
@@ -801,7 +801,8 @@ fi
/sbin/device_cio_free
/sbin/zfcp_cio_free
/sbin/znet_cio_free
-%{_sysconfdir}/init/device_cio_free.conf
+/lib/systemd/system/device_cio_free.service
+%{_sysconfdir}/systemd/system/sysinit.target.wants/device_cio_free.service
/lib/udev/ccw_init
/lib/udev/rules.d/81-ccw.rules
More information about the scm-commits
mailing list