Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
* python3 returns them as byte sequence
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
* 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>
|
|
Closes bug #4350.
This was authored by mwester and comes from OE.
|
|
"opkg-build -i ..." means creating .ipk file for backward support
|
|
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.
|