Patchwork [5/6] iproute2: fix unpackaged files warning

login
register
mail settings
Submitter Paul Eggleton
Date March 16, 2012, 7:01 p.m.
Message ID <392f6adc4d9fe0511547bd368506846749d117c3.1331924409.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/23751/
State Accepted
Commit e447c5dcbab8a765d7c35558a240fff17fcc7ea4
Headers show

Comments

Paul Eggleton - March 16, 2012, 7:01 p.m.
Fixes the following warnings:
WARNING: For recipe iproute2, the following files/directories were installed but not shipped in any package:
WARNING:   /lib
WARNING:   /lib/tc

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-connectivity/iproute2/iproute2.inc    |    2 +-
 .../iproute2/iproute2_3.2.0.bb                     |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index 6fc30a0..86847ef 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -26,7 +26,7 @@  do_install () {
 # There are only .so files in iproute2
 INSANE_SKIP_${PN} = "dev-so"
 
-FILES_${PN} += "${base_libdir}/tc/*"
+FILES_${PN} += "${base_libdir}/tc"
 FILES_${PN}-dbg += "${base_libdir}/tc/.debug"
 
 ALTERNATIVE_NAME = "ip"
diff --git a/meta/recipes-connectivity/iproute2/iproute2_3.2.0.bb b/meta/recipes-connectivity/iproute2/iproute2_3.2.0.bb
index 4391fb6..5af12af 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_3.2.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_3.2.0.bb
@@ -1,5 +1,7 @@ 
 require iproute2.inc
 
+PR = "r1"
+
 #v3.2.0 tag is "447c118f138171b260ad045ad6e1b17f9ef462e2"
 #but it was not fully tested and had build error, and the next commit fixed it.
 SRCREV = "13603f6a9e46f08576f6284a0ef1ce1fbf94ffe0"