summaryrefslogtreecommitdiffstats
path: root/build-root/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/rpm')
-rw-r--r--build-root/rpm/vpp.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/build-root/rpm/vpp.spec b/build-root/rpm/vpp.spec
index 35964b6df63..495901454cb 100644
--- a/build-root/rpm/vpp.spec
+++ b/build-root/rpm/vpp.spec
@@ -92,10 +92,10 @@ install -p -m 755 ../../vppapigen/pyvppapigen.py %{buildroot}%{_bindir}
# configs
#
mkdir -p -m755 %{buildroot}/etc/vpp
-mkdir -p -m755 %{buildroot}/etc/sysctl.d
+mkdir -p -m755 %{buildroot}/usr/lib/sysctl.d
install -p -m 644 vpp.service %{buildroot}%{_unitdir}
install -p -m 644 ../../vpp/conf/startup.uiopcigeneric.conf %{buildroot}/etc/vpp/startup.conf
-install -p -m 644 ../../vpp/conf/80-vpp.conf %{buildroot}/etc/sysctl.d
+install -p -m 644 ../../vpp/conf/80-vpp.conf %{buildroot}/usr/lib/sysctl.d
#
# libraries
#
@@ -180,7 +180,7 @@ sysctl --system
/usr/bin/vpp*
/usr/bin/svm*
/usr/bin/elftool
-%config /etc/sysctl.d/80-vpp.conf
+%config /usr/lib/sysctl.d/80-vpp.conf
%config /etc/vpp/startup.conf
%files lib