UsrMove - convert device_cio_free systemd unit

This commit is contained in:
Dan Horák 2016-04-22 08:49:48 -04:00
parent e8b1d98fd9
commit ab7d7190d9
2 changed files with 4 additions and 4 deletions

View File

@ -6,5 +6,5 @@ Before=sysinit.target
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/sbin/device_cio_free ExecStart=/usr/sbin/device_cio_free
StandardOutput=syslog StandardOutput=syslog

View File

@ -170,9 +170,9 @@ done
popd popd
mkdir -p ${RPM_BUILD_ROOT}/lib/systemd/system mkdir -p ${RPM_BUILD_ROOT}/lib/systemd/system
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/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 install -p -m 644 %{SOURCE15} ${RPM_BUILD_ROOT}%{_unitdir}
pushd ${RPM_BUILD_ROOT}%{_sysconfdir}/systemd/system/sysinit.target.wants pushd ${RPM_BUILD_ROOT}%{_sysconfdir}/systemd/system/sysinit.target.wants
ln -sf /lib/systemd/system/device_cio_free.service device_cio_free.service ln -sf %{_unitdir}/device_cio_free.service device_cio_free.service
popd popd
# ccw # ccw
@ -469,7 +469,7 @@ fi
%{_sbindir}/zfcp_cio_free %{_sbindir}/zfcp_cio_free
%{_sbindir}/znet_cio_free %{_sbindir}/znet_cio_free
%{_sbindir}/normalize_dasd_arg %{_sbindir}/normalize_dasd_arg
/lib/systemd/system/device_cio_free.service %{_unitdir}/device_cio_free.service
%{_sysconfdir}/systemd/system/sysinit.target.wants/device_cio_free.service %{_sysconfdir}/systemd/system/sysinit.target.wants/device_cio_free.service
/usr/lib/udev/ccw_init /usr/lib/udev/ccw_init
%{_udevrulesdir}/40-z90crypt.rules %{_udevrulesdir}/40-z90crypt.rules