aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2017-07-23 17:21:46 -0400
committerDamjan Marion <dmarion.lists@gmail.com>2017-07-27 08:11:52 +0000
commit5b75b6b73b7943dcb066b79a23cd7515b0e92e2a (patch)
tree64586b621b8f3c3484b95f29398a5f166ea59d1b /extras
parent7c35f191eb3d40facc17c938171f4ff3958649f2 (diff)
Use relative path to vpp.service.
This change is necessary to avoid breaking builds from source rpm. JIRA: VPP-498 Change-Id: I876572ff75f88e22bf8012cabb1bde7e6d3c925a Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'extras')
-rw-r--r--extras/rpm/vpp.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/rpm/vpp.spec b/extras/rpm/vpp.spec
index fad25d2212e..3644570d117 100644
--- a/extras/rpm/vpp.spec
+++ b/extras/rpm/vpp.spec
@@ -125,7 +125,7 @@ mkdir -p -m755 %{buildroot}/usr/share/vpp/api
#
mkdir -p -m755 %{buildroot}/etc/vpp
mkdir -p -m755 %{buildroot}/etc/sysctl.d
-install -p -m 644 %{_topdir}/vpp.service %{buildroot}%{_unitdir}
+install -p -m 644 %{_mu_build_dir}/../extras/rpm/vpp.service %{buildroot}%{_unitdir}
install -p -m 644 %{_mu_build_dir}/../src/vpp/conf/startup.conf %{buildroot}/etc/vpp/startup.conf
install -p -m 644 %{_mu_build_dir}/../src/vpp/conf/80-vpp.conf %{buildroot}/etc/sysctl.d
#