summaryrefslogtreecommitdiffstats
path: root/arfile.py
AgeCommit message (Collapse)Author
2017-01-30Check for optional terminator in archives0.3.5Rob Woolley
Archive files have an optional '/' terminator in the member file name field. (See /usr/include/ar.h) This change makes opkg-make-index more forgiving on packages created manually with alternative tools like CPack. Signed-off-by: Rob Woolley <rob.woolley@windriver.com> Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-06-03arfile.py: remove dependency on python-future0.3.2Alejandro del Castillo
Python-future provides a python2 compatible object class (provides next method). Since method is not used, remove dependency. Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2016-06-01migrate to python 3Alejandro del Castillo
General fixes * Add __future__ imports * Use print function instead of print statement * Use new style classes * Iterate over list, instead of over object.keys() * Use six.iteritems instead of iteritems() opkg.py: * Add conditional to decode string if needed in Package:read_control arfile.py * Add seekable method to FileSection class (needed by tarfile) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2012-04-26arfile: fix testMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-262to3: exception handling fixesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-262to3: dictionary fixesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-262to3: print fixesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26arfile: decode read lines as ascii string before getting fields from itMartin Jansa
* python3 returns them as byte sequence Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26opkg.py, arfile.py: report which file has wrong format and use the same testMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26arfile.py: handle six digit UIDsScott Anderson
* Essentially, the problem is that arfile.py is splitting the ar header with white-space instead of fixed-width fields, so two fields would get treated as a single field. This makes things better than before as it now honors the fixed field widths. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2008-08-07ipkg-utils: fix ipk (ar) file processing to handle odd-length data blocks.Holger 'Zecke' Freyther
Closes bug #4350. This was authored by mwester and comes from OE.
2008-07-28opkg-util make .opk as the default file extension Tick Chen
"opkg-build -i ..." means creating .ipk file for backward support
2008-07-18[opkg-utils] Add opkg-utils to the repository courtsey Richard Purdie of ↵Holger 'Zecke' Freyther
o-hand.com I've attached a first attempt at this, its basically a small set of helper scripts which OE/Poky use when working with ipks. I've applied the various OE improvements and tweaks and removed a ton of cruft we don't need.