[yocto] [opkg-utils][PATCH 0/3] Patches to support hierarchical package feeds

Paul Barker paul at paulbarker.me.uk
Thu May 8 09:54:42 PDT 2014


I'm posting these patches in the hope that someone other than me has some memory
of how the internals of opkg-utils work and can give me a quick review. I can
merge these myself but as they will affect all ipk feeds created by OpenEmbedded
I think it's worth at least trying to get a review on the changes first.

These changes are needed to support alternative feed layouts where package files
may not reside in the same directory as the 'Packages' index file. A patch to
add the option of creating such an alternative layout will also be posted to the
openembedded-core mailing list for comment.

These patches have been tested on qemuarm with opkg pointed at feeds created
with these patches applied. It has been confirmed that 'opkg update && opkg
install ncurses' works correctly where ncurses was not previously installed.

Paul Barker (3):
  opkg.py: Allow filename to be a relative path
  opkg-make-index: Recursively scan for packages
  opkg-update-index: Emit relative path to package file

 opkg-make-index   | 29 ++++++++++++++++++-----------
 opkg-update-index |  2 +-
 opkg.py           | 12 ++++++++++--
 3 files changed, 29 insertions(+), 14 deletions(-)

-- 
1.9.2




More information about the yocto mailing list