Package /etc/default/lldpd as a config file
The lldpd package currently does not package the /etc/default/lldpd file as a config file, but it is modified at runtime by a puppet manifest. As a result, if the lldpd package is updated on a system, it would overwrite the modified file with the version from the package. This update adds the %config(noreplace) to lldpd.spec for this file. Change-Id: I82e62bdcac9ea07a3eaea0dfca5b1037b4b392d6 Partial-Bug: 1850695 Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
parent
7173fb6cf5
commit
b00d7ff68c
@ -1,4 +1,4 @@
|
|||||||
COPY_LIST="$CGCS_BASE/downloads/lldpd-0.9.0.tar.gz \
|
COPY_LIST="$CGCS_BASE/downloads/lldpd-0.9.0.tar.gz \
|
||||||
$PKG_BASE/lldpd-0.9.0/* \
|
$PKG_BASE/lldpd-0.9.0/* \
|
||||||
$PKG_BASE/centos/files/*"
|
$PKG_BASE/centos/files/*"
|
||||||
TIS_PATCH_VER=4
|
TIS_PATCH_VER=5
|
||||||
|
@ -311,7 +311,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%else
|
%else
|
||||||
%{_unitdir}/lldpd.service
|
%{_unitdir}/lldpd.service
|
||||||
%endif
|
%endif
|
||||||
%{_sysconfdir}/default/lldpd
|
%config(noreplace) %{_sysconfdir}/default/lldpd
|
||||||
%config(noreplace) %{_sysconfdir}/lldpd.conf
|
%config(noreplace) %{_sysconfdir}/lldpd.conf
|
||||||
%{_initrddir}/i40e-lldp-configure.sh
|
%{_initrddir}/i40e-lldp-configure.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user