Permalink
Browse files

ipkg-utils-native: recent versions of tar want --wildard

  • Loading branch information...
amatus committed Sep 5, 2012
1 parent 715fd81 commit e44ad02e4a529da2f42b362895e908edaecc0bc9
@@ -0,0 +1,16 @@
+Index: ipkg-utils/ipkg.py
+===================================================================
+--- ipkg-utils.orig/ipkg.py 2012-09-05 14:14:33.968508671 -0500
++++ ipkg-utils/ipkg.py 2012-09-05 14:18:21.071704581 -0500
+@@ -152,9 +152,9 @@
+ self.filename = os.path.basename(fn)
+ ## sys.stderr.write(" extracting control.tar.gz from %s\n"% (fn,))
+ if self.isdeb:
+- control = os.popen("ar p "+fn+" control.tar.gz | tar xfzO - '*control'","r")
++ control = os.popen("ar p "+fn+" control.tar.gz | tar -xzO --wildcards -f - '*control'","r")
+ else:
+- control = os.popen("tar xfzO "+fn+" '*control.tar.gz' | tar xfzO - '*control'","r")
++ control = os.popen("tar -xzO --wildcards -f "+fn+" '*control.tar.gz' | tar -xzO --wildcards -f - '*control'","r")
+ line = control.readline()
+ while 1:
+ if not line: break
@@ -1,10 +1,11 @@
SECTION = "base"
include ipkg-utils_${PV}.bb
-PR = "r5"
+PR = "r6"
inherit native
DEPENDS = ""
-SRC_URI += "file://dangling-symlinks.patch;patch=1"
+SRC_URI += "file://dangling-symlinks.patch;patch=1 \
+ file://tar-wildcards.patch;patch=1"
do_stage() {
for i in ${INSTALL}; do

0 comments on commit e44ad02

Please sign in to comment.