1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

ipkg-utils: Fix problems with some versions of tar (from OE)

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1806 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2007-05-29 14:03:18 +00:00
parent d2f5510b56
commit 6c11258fb5
3 changed files with 7 additions and 4 deletions
@@ -1,7 +1,7 @@
require ipkg-utils_${PV}.bb
RDEPENDS = ""
PR = "r11"
PR = "r13"
inherit native
@@ -158,7 +158,7 @@ Index: ipkg-utils/ipkg.py
class Version:
"""A class for holding parsed package version information."""
@@ -131,78 +133,58 @@ class Package:
@@ -131,78 +133,61 @@ class Package:
self.section = None
self.filename_header = None
self.file_list = []
@@ -232,7 +232,10 @@ Index: ipkg-utils/ipkg.py
+ tarStream = ar.open("control.tar.gz")
+ tarf = tarfile.open("control.tar.gz", "r", tarStream)
+
+ control = tarf.extractfile("control")
+ try:
+ control = tarf.extractfile("control")
+ except KeyError:
+ control = tarf.extractfile("./control")
+ self.read_control(control)
control.close()
- if self.isdeb:
@@ -5,7 +5,7 @@ LICENSE = "GPL"
CONFLICTS = "ipkg-link"
RDEPENDS = "python"
SRCDATE = "20050404"
PR = "r14"
PR = "r15"
SRC_URI = "${HANDHELDS_CVS};module=ipkg-utils \
file://ipkg-utils-fix.patch;patch=1 \