From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: opkg vs dpkg/rpm
Date: Wed, 01 Sep 2010 15:44:17 -0700 [thread overview]
Message-ID: <4C7ED741.7000801@mentor.com> (raw)
In-Reply-To: <AANLkTim=he3n7LUhmOJh2zJGJXymZvnv8kviGSAPnC3p@mail.gmail.com>
Graham Gower wrote:
> On 2 September 2010 04:55, Denys Dmytriyenko <denis@denix.org> wrote:
>> On Wed, Sep 01, 2010 at 07:43:38AM -0700, Chris Larson wrote:
>>> In addition to package writing, there's the IMAGE_PKGTYPE varaible which
>>> controls which of the rootfs_<pkgtype> bbclasses is used to construct the
>>> root filesystem. You can inherit multiple packaging formats, resulting in
>>> multiple formats being emitted, but one has to be selected specifically for
>>> the filesystem. If you only inherit one packaging class (i.e. package_ipk)
>>> it will automatically set the image packaging type to match. So, to switch:
>>>
>>> 1) INHERIT += "package_rpm"
>>> 2) IMAGE_PKGTYPE = "rpm"
>> Just a small clarification for Chris' excelent explanation - the change of the
>> above variables will require a complete rebuild/repackage of all the packages
>> and the filesystem image. And it's not possible to make the switch for an
>> existing image or add another package manager to an existing image w/o losing
>> the database of installed packages...
>>
>> --
>> Denys
>
> It would be trivial to write a script to convert the package database
> from one package manager's format to another. Surely someone has
> already done this?
The big issue is converting the package files, although I suspect alien
could be used here since it does .debs and ipk is a stripped down deb it
might work, or might not, but could be made to work.
The bigger problem however is it's unclear if rpm or deb support is
currently unbitrotten enough to work (deb stuff frequently has the
problem that upstream upgraded, and we did not, so sources are gone).
--
Tom Rini
Mentor Graphics Corporation
prev parent reply other threads:[~2010-09-01 22:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-01 13:57 opkg vs dpkg/rpm l.bolognini
2010-09-01 14:43 ` Chris Larson
2010-09-01 19:25 ` Denys Dmytriyenko
2010-09-01 22:35 ` Graham Gower
2010-09-01 22:44 ` Tom Rini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C7ED741.7000801@mentor.com \
--to=tom_rini@mentor.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.