Openembedded Core Discussions
 help / color / mirror / Atom feed
From: "David Nyström" <david.nystrom@enea.com>
To: Paul Eggleton <paul.eggleton@linux.intel.com>,
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/2] do_rootfs: Added PACKAGE_FEED_URIS functionality
Date: Fri, 28 Feb 2014 10:38:27 +0100	[thread overview]
Message-ID: <53105913.6020407@enea.com> (raw)
In-Reply-To: <4343044.DpKneM5m4P@peggleto-mobl5.ger.corp.intel.com>

On 2014-02-27 23:34, Paul Eggleton wrote:
> On Thursday 27 February 2014 21:20:37 David Nyström wrote:
>> Adding a common interface to add predefined package manager
>> channels to prebuilt rootfs:es.
>>
>> Adding PACKAGE_FEED_URIS = "http://myre.po/repo/, will
>> assume repo directories named (rpm,ipk,deb) as subdirectories
>> and statically add them to the rootfs, using the same PKG_ARCHs
>> as the build which produced the images.
>>
>> Tested with RPM, IPK and DEB.
>
> Looks good. The only thing that looks like it might be missing here is there
> appears to be no way to name the package repo entries individually, though I'm
> not sure what syntax we would use to allow that.
>
> Thoughts?

Well, there is the old moblin syntax for IPK_FEED_URIS:

For qemux86-64
--
IPK_FEED_URIS = " \
 
all##http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/ipk/all \
 
x86_64##http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/ipk/x86_64 
\
 
core2-64##http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/ipk/core2-64 
\
 
qemux86_64##http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/ipk/qemux86_64 
\
--
I don't particularly agree with above format.
When using the deploy directory as input it makes the feed_syntax 
MACHINE dependent, and difficult to keep in sync for new machines and 
upstream changes.

IMHO, bitbake should support the same input format as it generates as 
output format for the repos.
If someone want to share code for the post-processing of outputted 
bitbake repos(deb,ipk,rpm), I'll happily reconsider.

Having multiple feed formats is confusing though, we should fix this so 
we have the same format everywhere.

What could be done is to add names to the top level repos directory,
i.e. PACKAGE_FEED_URIS ="stable##http://myre.op/deploy/ \
			"experimental#http://not_trusted.to/ext_deploy/"

But I'm not sure what this will accomplish. The real channel names would 
become experimental-all, stable-all instead of current hardcoded 
url0-all, url1-all et.c.
Is this what you were suggesting ?

With smart and apt, you can prioritize channels, which the 
implementation will do, in descending order, keeping the pkg_arch 
inter-priorities intact.
However, for opkg, you prioritize archs rather than channels afaik.


> Cheers,
> Paul
>



  reply	other threads:[~2014-02-28  9:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-27 20:20 [PATCH 1/2] do_rootfs: Added PACKAGE_FEED_URIS functionality David Nyström
2014-02-27 20:20 ` [PATCH 2/2] do_rootfs: Add PACKAGE_FEED_URIS as a vardep David Nyström
2014-02-27 22:34 ` [PATCH 1/2] do_rootfs: Added PACKAGE_FEED_URIS functionality Paul Eggleton
2014-02-28  9:38   ` David Nyström [this message]
2014-03-03 20:41     ` Trevor Woerner
2014-03-04  0:57       ` Otavio Salvador
2014-03-04  8:45       ` David Nyström
2014-03-04 10:29         ` Paul Eggleton
2014-03-04 11:02           ` Andreas Oberritter
2014-03-04 11:04             ` Paul Eggleton
2014-02-28  7:29 ` Laurentiu Palcu

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=53105913.6020407@enea.com \
    --to=david.nystrom@enea.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.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