which ipkg?
Hi.
I am preparing a patch for building autonomous packages in buildroot and I have tarballs and "udebs" but I also want ipkg.
The big question is; which ipkg version should I/we go for? handhelds.org has at least two options, the original shell script based (ipkg-utils) or a C-based newer one.
The C-based seems to be handheld.orgs preferred but the TODO in the snapshot source mentions "unstable" and it does not have a binary named "ipkg", just "ipkg-cl" which makes me something between curious and worried.
The CVS repo has some newer code but no snapshots.
anyone familiar with ipkg that has a suggestion on what I should pick?
(or both, chooseable?)
Thomas.
Quoted 4 lines · Thomas Lundquist
The big question is; which ipkg version should I/we go for? handhelds.org has at least two options, the original shell script based (ipkg-utils) or a C-based newer one.
Seems like I should read a bit more about ipkg.
http://handhelds.org/moin/moin.cgi/BuildingIpkgs uses ipkg-utils for building / host side and not the target.
so, it seems like they are using the C-version for unpaking/target side.
OpenWRT also uses ipkg and have a ipkg shell script in their repository but I haven't looked much at what / how they use.
So, if anyone out there would like ipkg support in buildroot, let me know how you want it and I'll try to fix it. I guess it's quite obvious that I'm not familiar nor using ipkg :=)
Thomas.
Quoted 11 lines · Thomas Lundquist
Quoted 4 lines · Thomas Lundquist
The big question is; which ipkg version should I/we go for? handhelds.org has at least two options, the original shell script based (ipkg-utils) or a C-based newer one.
Seems like I should read a bit more about ipkg.
http://handhelds.org/moin/moin.cgi/BuildingIpkgs uses ipkg-utils for building / host side and not the target.
Quoted 8 lines
so, it seems like they are using the C-version for unpaking/target side.
OpenWRT also uses ipkg and have a ipkg shell script in their repository but I haven't looked much at what / how they use.
So, if anyone out there would like ipkg support in buildroot, let me know how you want it and I'll try to fix it. I guess it's quite obvious that I'm not familiar nor using ipkg :=)
Ideally, we want ipkg in busybox, ultimately. I once looked at the normal ipkg for a few minutes, and from what i remember, providing a nice, working and small applet from it (by rewriting it) looked quite reasonable, fwiw.
Quoted 2 lines · Bernhard Fischer
Ideally, we want ipkg in busybox, ultimately.
true enough. I was discusssed a few years ago but nothing happened.
Just checked and the ipkg shell script is 28K and ipkg-cl 2K but it needs libpkg which is 134K..
but libipkg seems to have quite alot of libbb in it but I'm not sure how much can be shaved off when putting it into busybox.
Quoted 4 lines
I once looked at the
normal ipkg for a few minutes, and from what i remember, providing a nice, working and small applet from it (by rewriting it) looked quite reasonable, fwiw.
I may some day try it but not before I need it or someone pays me.
Until then I'll use ipkt-utils (mainly ipkg-build and hopefully not needing the python part of the utils.) for building the packages and let the user choose between the shell script and ipkg-cl.
hopefully they are compatible enough. if not I'll do as OpenWRT seems to have; choose the shell script.
(unless someone here tells me what to do.)
Thomas.