http://bugs.openembedded.org/show_bug.cgi?id=1143
Summary: ipkg-make-index has problems with tar >= 1.15.2
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [EMAIL PROTECTED]
When creating images, the ipkg-make-index command is used. It extracts the
control files from the control.tar.gz file in the .ipk files by using a command
like this:
ar p file.ipk | tar xfzO - '*control'
With the more recent tar versions this fails since tar requires the
`--wildcards' argument to allow evaluation of such wildcards.
I propose to add this patch to the ipkg-utils package:
--- ipkg-utils/ipkg.py~tar-wildcard.diff 2005-01-08 19:08:52.000000000
+0100
+++ ipkg-utils/ipkg.py 2006-07-06 14:07:57.681056750 +0200
@@ -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
--wildcards -xzOf - '*control'","r")
else:
- control = os.popen("tar xfzO "+fn+" '*control.tar.gz' | tar
xfzO - '*control'","r")
+ control = os.popen("tar xfzO "+fn+" '*control.tar.gz' | tar
--wildcards -xzOf - '*control'","r")
line = control.readline()
while 1:
if not line: break
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe