[pve-devel] [PATCH frr 06/10] d/install: do not ship development files
Alexandre Derumier
aderumier at odiso.com
Fri Jun 15 03:39:43 CEST 2018
---
debian/frr.install | 4 ++--
debian/rules | 5 ++---
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/debian/frr.install b/debian/frr.install
index 20a58bb..f743c5d 100644
--- a/debian/frr.install
+++ b/debian/frr.install
@@ -1,8 +1,8 @@
etc/frr/
usr/bin/vtysh
usr/bin/mtracebis
-usr/include/frr/
-usr/lib/
+usr/lib/*.so.*
+usr/lib/frr
tools/frr usr/lib/frr
usr/share/doc/frr/
usr/share/snmp/mibs/
diff --git a/debian/rules b/debian/rules
index 9c84c06..8b264fc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -193,9 +193,8 @@ else
mkdir -p debian/tmp/usr/share/snmp/mibs/
endif
- # cleaning .la files
- sed -i "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/*.la
- sed -i "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/frr/modules/*.la
+ # Remove development files
+ rm debian/tmp/usr/lib/frr/modules/*.la
override_dh_systemd_start:
dh_systemd_start frr.service
--
2.11.0
More information about the pve-devel
mailing list