From: "André Draszik" <git@andred.net>
To: "Burton, Ross" <ross.burton@intel.com>
Cc: OE-core <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] autoconf-archive: inherit allarch and fix package splitting
Date: Tue, 14 Nov 2017 14:02:28 +0000 [thread overview]
Message-ID: <1510668148.4049.71.camel@andred.net> (raw)
In-Reply-To: <CAJTo0LbnJtZG2LTe_NsOgH5-q1y7JectDHDM0h9nJMbi5txb9w@mail.gmail.com>
On Tue, 2017-11-14 at 11:41 +0000, Burton, Ross wrote:
> On 14 November 2017 at 11:34, Burton, Ross <ross.burton@intel.com> wrote:
>
> > But don't we remove the old version from the feeds, or does that only
> > happen if the arch matches?
> >
>
> Well the feed pruning is working correctly:
Not for me. I created a dummy package foo_0.1.bb, with PACKAGE_ARCH =
"${MACHINE_ARCH}"
after bitbake foo:
$ build.pyro > find tmp/deploy/ipk/ -name foo*ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo-dbg_0.1-r0_tgm_r3.ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo-dev_0.1-r0_tgm_r3.ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo_0.1-r0_tgm_r3.ipk
Removing the PACKAGE_ARCH line from that recipe and rebuilding foo gives me:
$ build.pyro > find tmp/deploy/ipk/ -name foo*ipk
tmp/deploy/ipk/mips32r2el-24kec-nf/f/foo/foo-dbg_0.1-r0_mips32r2el-24kec-
nf.ipk
tmp/deploy/ipk/mips32r2el-24kec-nf/f/foo/foo-dev_0.1-r0_mips32r2el-24kec-
nf.ipk
tmp/deploy/ipk/mips32r2el-24kec-nf/f/foo/foo_0.1-r0_mips32r2el-24kec-nf.ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo-dbg_0.1-r0_tgm_r3.ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo-dev_0.1-r0_tgm_r3.ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo_0.1-r0_tgm_r3.ipk
If I bump the version, I am still left with the MACHINE_ARCH packages
(doesn't matter if I bump the version before or after the change to
PACKAGE_ARCH):
$ build.pyro > find tmp/deploy/ipk/ -name foo*ipk
tmp/deploy/ipk/mips32r2el-24kec-nf/f/foo/foo-dbg_0.2-r0_mips32r2el-24kec-
nf.ipk
tmp/deploy/ipk/mips32r2el-24kec-nf/f/foo/foo-dev_0.2-r0_mips32r2el-24kec-
nf.ipk
tmp/deploy/ipk/mips32r2el-24kec-nf/f/foo/foo_0.2-r0_mips32r2el-24kec-nf.ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo-dbg_0.1-r0_tgm_r3.ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo-dev_0.1-r0_tgm_r3.ipk
tmp/deploy/ipk/tgm_r3/f/foo/foo_0.1-r0_tgm_r3.ipk
So of course do_rootfs will pick the outdated version.
Is that an ipk / OPKG issue? Should something be removing the old packages
from deploy?
Cheers,
Andre'
next prev parent reply other threads:[~2017-11-14 14:02 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-13 5:26 [PATCH 0/1] autoconf-archive: inherit allarch and fix package splitting Chen Qi
2017-11-13 5:26 ` [PATCH 1/1] " Chen Qi
2017-11-13 8:54 ` André Draszik
2017-11-13 10:12 ` Martin Jansa
2017-11-13 10:34 ` opkg --prefer-arch-to-version (was: Re: [PATCH 1/1] autoconf-archive: inherit allarch and fix package splitting) André Draszik
2017-11-13 12:05 ` Martin Jansa
2017-11-13 11:54 ` [PATCH 1/1] autoconf-archive: inherit allarch and fix package splitting Robert Yang
2017-11-14 10:16 ` André Draszik
2017-11-14 11:34 ` Burton, Ross
2017-11-14 11:41 ` Burton, Ross
2017-11-14 14:02 ` André Draszik [this message]
2017-11-15 2:23 ` Robert Yang
2017-11-15 9:06 ` André Draszik
2017-11-15 9:24 ` Robert Yang
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=1510668148.4049.71.camel@andred.net \
--to=git@andred.net \
--cc=openembedded-core@lists.openembedded.org \
--cc=ross.burton@intel.com \
/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