[maemo-developers] [maemo-developers] ipkg vs dpkg

From: Kalle Vahlman kalle.vahlman at gmail.com
Date: Tue Nov 29 16:13:21 EET 2005
2005/11/29, Koen Kooi <koen at handhelds.org>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Kalle Vahlman wrote:
> > So we are talking about changing a rarely used utility to save less
> > than one percent of the flash space? With modifications to who knows
> > what amount of the packages included?
>
> I wouldn't call ipkg rarely used, Familiar, OpenZaurus, openwrt,
> SlugOS, pdaXrom,  sharpROM and several other distros have been using it
> for years.

Oh, they install stuff on the device all the time?-)

I meant frequency of use by "rarely used".

> > Or is ipkg a drop-in replacement for dpkg, requiring no changes to
> > build environments or the packages themselves?
>
> a .ipkg should be compatible with a .deb (ar wrapped tarballs). See
> http://handhelds.org/moin/moin.cgi/Ipkg for details. Iirc ipkg should be
> able to install .debs and dpkg should be able to install .ipks.
> Could you specify what you mean with 'build environment' and 'packages'?

Build environment as in the Maemo and packages as in the existing
dbus/ dir contents (bad wording, sorry). If you need to port all of
Maemo to a new pkg management just to use ipkg, well...

Granted, you need to recreate the packages for AI currently too so
perhaps it's not an issue.

> > Could I "apt-get source foo" from a Debian repo, compile the package
> > for ARM with an utility like dpkg-buildpackage and stuff it to the
> > device like I can now (from the command line, and if AI would support
> > real debs from it too)?
>
> you can, ipkg-buildpkg will do the grunt work for you.

Cool.

> Systems like
> OpenEmbedded will make live even easier by autogenerating control files.

Cool too, though nothing special really. There's scripts around for
generating the bulk of debian/ anyway.

--
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi

More information about the maemo-developers mailing list