Whamcloud - gitweb
LU-2508 build: make ldev.conf not overwritten after upgrade
authorMinh Diep <minh.diep@intel.com>
Wed, 26 Dec 2012 18:18:24 +0000 (10:18 -0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Jan 2013 16:44:50 +0000 (11:44 -0500)
Include %config(noreplace) in the spec file so we don't lose
changes after upgrade for ldev.conf

Signed-off-by: Minh Diep <minh.diep@intel.com>
Change-Id: I9e3f892c494a6f8e3f0da27691cb5f8ac7dfe31e
Reviewed-on: http://review.whamcloud.com/4890
Tested-by: Hudson
Reviewed-by: Prakash Surya <surya1@llnl.gov>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre.spec.in

index 83077d8..44f085f 100644 (file)
@@ -242,7 +242,7 @@ cat >lustre.files <<EOF
 
 %attr(-, root, root) %{_sysconfdir}/init.d/lnet
 %attr(-, root, root) %{_sysconfdir}/init.d/lustre
-%attr(-, root, root) %{_sysconfdir}/ldev.conf
+%attr(-, root, root) %config(noreplace) %{_sysconfdir}/ldev.conf
 %attr(-, root, root) %{_sysconfdir}/sysconfig/lustre
 %attr(-, root, root) %{_libexecdir}/lustre/haconfig
 %attr(-, root, root) %{_sysconfdir}/ha.d/resource.d/Lustre.ha_v2