enable location for persistence data(#1291928)

This commit is contained in:
Michal Hlavinka 2016-11-11 17:33:37 +01:00
parent c3ac6553e5
commit 075b9e5623
2 changed files with 8 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: Tools for monitoring SMART capable hard disks Summary: Tools for monitoring SMART capable hard disks
Name: smartmontools Name: smartmontools
Version: 6.5 Version: 6.5
Release: 1%{?dist} Release: 2%{?dist}
Epoch: 1 Epoch: 1
Group: System Environment/Base Group: System Environment/Base
License: GPLv2+ License: GPLv2+
@ -65,6 +65,7 @@ install -D -p -m 755 %{SOURCE4} $RPM_BUILD_ROOT/%{_libexecdir}/%{name}/smartdnot
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/smartd_warning.d mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/smartd_warning.d
rm -rf $RPM_BUILD_ROOT/etc/{rc.d,init.d} rm -rf $RPM_BUILD_ROOT/etc/{rc.d,init.d}
rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name} rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name}
mkdir -p $RPM_BUILD_ROOT/%{_sharedstatedir}/%{name}
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -106,8 +107,12 @@ fi
%{_mandir}/man?/update-smart*.* %{_mandir}/man?/update-smart*.*
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%{_datadir}/%{name} %{_datadir}/%{name}
%{_sharedstatedir}/%{name}
%changelog %changelog
* Fri Nov 11 2016 Michal Hlavinka <mhlavink@redhat.com> - 1:6.5-2
- enable location for persistence data(#1291928)
* Mon May 09 2016 Michal Hlavinka <mhlavink@redhat.com> - 1:6.5-1 * Mon May 09 2016 Michal Hlavinka <mhlavink@redhat.com> - 1:6.5-1
- smartmontools updated to 6.5 - smartmontools updated to 6.5

View File

@ -1,4 +1,6 @@
# command line options for smartd # command line options for smartd
# Add -s /var/lib/smartmontools to enable state persistence
smartd_opts="-q never" smartd_opts="-q never"
# autogenerated config file options # autogenerated config file options
# smartd_conf_opts="-H -m root" # smartd_conf_opts="-H -m root"