From: Phil Blundell <philb@gnu.org>
To: Robert Yang <liezhi.yang@windriver.com>
Cc: Zhenfeng.Zhao@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [RFC PATCH 1/2] opkg svn: Add the --force-arch option
Date: Sat, 08 Sep 2012 21:08:55 +0100 [thread overview]
Message-ID: <1347134935.4396.235.camel@x121e.pbcl.net> (raw)
In-Reply-To: <4a36b4005fc384ac817023873b2febc854c4415d.1346837268.git.liezhi.yang@windriver.com>
On Wed, 2012-09-05 at 17:31 +0800, Robert Yang wrote:
> If there are more than one candidate which has the same pkg name in the
> candidate list, for example, the same pkg with different versions, then
> it will use the last one which is the highest version in the list
>
> Add the "--force-arch" (just like the --force-downgrade) option to let
> it use the higher arch priority package when enabled. the default is no.
This seems like a reasonable feature to add to opkg, though I don't
think "--force-arch" is a very good name for the switch. (That name
implies to me "allow the package to be installed even if the
architecture seems to be incompatible", which is quite different to what
your option does.)
However, regarding the underlying problem:
a) for people who are not using O_P_M, it's becoming apparent that the
whole concept of using opkg (or rpm, or any other external package
manager) for rootfs construction is more of a liability than an asset
because bitbake has more knowledge about which particular binaries ought
to be installed. For those use-cases, it might be better to think in
terms of abolishing opkg altogether which would solve this problem and a
variety of others.
b) for people who _are_ using O_P_M, specifying --force-arch during
rootfs construction is all very well but they might still lose during a
subsequent "opkg upgrade". So for these use cases, it seems as though
something a bit more sticky might be required.
p.
next prev parent reply other threads:[~2012-09-08 20:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 9:31 [RFC PATCH 0/2] package_ipk.bbclass: use "--force-arch" when install package Robert Yang
2012-09-05 9:31 ` [RFC PATCH 1/2] opkg svn: Add the --force-arch option Robert Yang
2012-09-08 20:08 ` Phil Blundell [this message]
2012-09-08 20:40 ` Paul Eggleton
2012-09-08 21:18 ` Phil Blundell
2012-09-11 10:30 ` Robert Yang
2012-09-05 9:31 ` [RFC PATCH 2/2] package_ipk.bbclass: use "--force-arch" when install package Robert Yang
2012-09-05 10:05 ` Koen Kooi
2012-09-05 11:44 ` Richard Purdie
2012-09-05 13:24 ` Koen Kooi
2012-09-05 13:47 ` Samuel Stirtzel
2012-09-05 21:19 ` Richard Purdie
2012-09-05 22:19 ` Chris Larson
2012-09-05 22:38 ` Richard Purdie
2012-09-06 11:05 ` Koen Kooi
2012-09-07 12:24 ` Richard Purdie
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=1347134935.4396.235.camel@x121e.pbcl.net \
--to=philb@gnu.org \
--cc=Zhenfeng.Zhao@windriver.com \
--cc=liezhi.yang@windriver.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox