Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] which ipkg?
@ 2007-04-17 10:16 Thomas Lundquist
  2007-04-17 11:13 ` Thomas Lundquist
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Lundquist @ 2007-04-17 10:16 UTC (permalink / raw)
  To: buildroot


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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] which ipkg?
  2007-04-17 10:16 [Buildroot] which ipkg? Thomas Lundquist
@ 2007-04-17 11:13 ` Thomas Lundquist
  2007-04-17 15:07   ` Bernhard Fischer
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Lundquist @ 2007-04-17 11:13 UTC (permalink / raw)
  To: buildroot

On Tue, Apr 17, 2007 at 12:16:31PM +0200, Thomas Lundquist wrote:
> 
> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] which ipkg?
  2007-04-17 11:13 ` Thomas Lundquist
@ 2007-04-17 15:07   ` Bernhard Fischer
  2007-04-17 20:05     ` Thomas Lundquist
  0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Fischer @ 2007-04-17 15:07 UTC (permalink / raw)
  To: buildroot

On Tue, Apr 17, 2007 at 01:13:30PM +0200, Thomas Lundquist wrote:
>On Tue, Apr 17, 2007 at 12:16:31PM +0200, Thomas Lundquist wrote:
>> 
>> 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 :=)

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] which ipkg?
  2007-04-17 15:07   ` Bernhard Fischer
@ 2007-04-17 20:05     ` Thomas Lundquist
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Lundquist @ 2007-04-17 20:05 UTC (permalink / raw)
  To: buildroot

On Tue, Apr 17, 2007 at 05:07:22PM +0200, Bernhard Fischer wrote:
> 
> 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.

> 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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-04-17 20:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-17 10:16 [Buildroot] which ipkg? Thomas Lundquist
2007-04-17 11:13 ` Thomas Lundquist
2007-04-17 15:07   ` Bernhard Fischer
2007-04-17 20:05     ` Thomas Lundquist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox