Commit Graph

10 Commits

Author SHA1 Message Date
Martin Jansa
554da94178 arfile: fix test
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 11:39:42 +01:00
Martin Jansa
9a4f0a0eb8 2to3: exception handling fixes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 11:39:41 +01:00
Martin Jansa
a9e112ae51 2to3: dictionary fixes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 11:39:41 +01:00
Martin Jansa
76ed799fa0 2to3: print fixes
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 11:39:41 +01:00
Martin Jansa
cc08d0e3ae arfile: decode read lines as ascii string before getting fields from it
* python3 returns them as byte sequence

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 11:39:41 +01:00
Martin Jansa
0e5f4c9277 opkg.py, arfile.py: report which file has wrong format and use the same test
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-26 11:39:41 +01:00
Scott Anderson
4b04e41eb6 arfile.py: handle six digit UIDs
* 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>
2012-04-26 11:39:41 +01:00
Holger 'Zecke' Freyther
92a2dad4aa ipkg-utils: fix ipk (ar) file processing to handle odd-length data blocks.
Closes bug #4350.

This was authored by mwester and comes from OE.
2008-08-07 10:07:28 +00:00
Tick Chen
04e92b11ff opkg-util make .opk as the default file extension
"opkg-build -i ..."  means creating .ipk file for backward support
2008-07-28 10:29:45 +00:00
Holger 'Zecke' Freyther
234524f33d [opkg-utils] Add opkg-utils to the repository courtsey Richard Purdie of 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.
2008-07-18 11:29:53 +00:00