In case a user has made local modifications to /etc/ndctl/monitor.conf, instrument the spec file to not clobber those changes.
Cc: Qi Fuli <qi.f...@jp.fujitsu.com> Signed-off-by: Dan Williams <dan.j.willi...@intel.com> --- ndctl.spec.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ndctl.spec.in b/ndctl.spec.in index 26396d4abad7..bc4d65c1f988 100644 --- a/ndctl.spec.in +++ b/ndctl.spec.in @@ -117,9 +117,10 @@ make check %{_bindir}/ndctl %{_mandir}/man1/ndctl* %{bashcompdir}/ -%{_sysconfdir}/ndctl/monitor.conf %{_unitdir}/ndctl-monitor.service +%config(noreplace) %{_sysconfdir}/ndctl/monitor.conf + %files -n daxctl %defattr(-,root,root) %license util/COPYING licenses/BSD-MIT licenses/CC0 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm