Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Robert Yang <liezhi.yang@windriver.com>
Cc: Zhenfeng.Zhao@windriver.com, openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 0/1] opkg svn: respect to the arch priority
Date: Fri, 21 Sep 2012 15:23:42 -0700	[thread overview]
Message-ID: <505CE8EE.5030703@linux.intel.com> (raw)
In-Reply-To: <cover.1347976732.git.liezhi.yang@windriver.com>

On 09/18/2012 08:25 AM, Robert Yang wrote:
> After the discussion, this seems a proper solution:
>
> Let the arch priority win the higher version by default, and add an
> option (--select-higher-version) for it to make the higher version win
> the arch priority, so that the user can have another choice.
>
> This is only for opkg_svn.bb, maybe the opkg_0.1.8.bb should be removed
> since it does work on the master branch:
> - It doesn't support the "--force_postinstall" option which is used by
>    package_ipk.bbclass.
>
> - It still doesn't work after remove the "--force_postinstall" option,
>    it can't install the packages in complementary_pkgs.txt, I haven't
>    found out the reason.
>
>    I'd like to remove it.
>
> * Test info
>    - With MACHINE= "qemux86"
>    $ bitbake core-image-sato
>    - With MACHINE= "crownbay"
>    $ bitbake core-image-sato
>
>    The "xserver-xorg*_1.9.3-r1_core2.ipk" will be installed to the
>    crownbay's image. It would install the "xserver-xorg*_1.11.2-r7_i586.ipk"
>    in the past.
>
>    - Simulate the upgrade command:
>
>    > Update the list:
>    $ ./tmp/sysroots/i686-linux/usr/bin/opkg-cl -f \
> /buildarea2/lyang1/ipk_build/tmp/work/crownbay-poky-linux/core-image-sato-1.0-r0/opkg.conf \
> -o /buildarea2/lyang1/ipk_build/tmp/work/crownbay-poky-linux/core-image-sato-1.0-r0/rootfs update
>
>    > Test the upgrade command:
>    $ ./tmp/sysroots/i686-linux/usr/bin/opkg-cl -f
> /buildarea2/lyang1/ipk_build/tmp/work/crownbay-poky-linux/core-image-sato-1.0-r0/opkg.conf \
> -o /buildarea2/lyang1/ipk_build/tmp/work/crownbay-poky-linux/core-image-sato-1.0-r0/rootfs upgrade
>    # Nothing has been done
>
>    > Test the --select-higher-version
>    $ ./tmp/sysroots/i686-linux/usr/bin/opkg-cl -f
> /buildarea2/lyang1/ipk_build/tmp/work/crownbay-poky-linux/core-image-sato-1.0-r0/opkg.conf
> -o /buildarea2/lyang1/ipk_build/tmp/work/crownbay-poky-linux/core-image-sato-1.0-r0/rootfs \
> --select-higher-version upgrade
>    # The "xserver-xorg*_1.9.3-r1_core2.ipk" would be upgraded to
> 	"xserver-xorg*_1.11.2-r7_i586.ipk".
>
>    $ runqemu qemux86
>    The image started, and run the "opkg-cl" command in qemu, it worked well.
>
> // Robert
>
> The following changes since commit 913944d904266bf90af0cad94b4f0fb3652bd29d:
>
>    upstream_tracking: update lsb and ltp (2012-09-14 17:12:52 +0100)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib robert/ipk_arch
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/ipk_arch
>
> Robert Yang (1):
>    opkg svn: respect to the arch priority
>
>   .../opkg/opkg/select_higher_version.patch          |  102 ++++++++++++++++++++
>   meta/recipes-devtools/opkg/opkg_svn.bb             |    3 +-
>   2 files changed, 104 insertions(+), 1 deletions(-)
>   create mode 100644 meta/recipes-devtools/opkg/opkg/select_higher_version.patch
>

Merged into OE-Core

Thanks
	Sau!

>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>



      parent reply	other threads:[~2012-09-21 22:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-18 15:25 [PATCH 0/1] opkg svn: respect to the arch priority Robert Yang
2012-09-18 15:25 ` [PATCH 1/1] " Robert Yang
2012-09-21 10:50   ` Martin Jansa
2012-09-21 14:22   ` Koen Kooi
2012-09-21 22:23 ` Saul Wold [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=505CE8EE.5030703@linux.intel.com \
    --to=sgw@linux.intel.com \
    --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