All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Purdie <rpurdie@rpsys.net>
To: openembedded-devel@openembedded.org
Subject: Re: [oe-commits] org.oe.dev rootfs_ipk: as per OE, policy:	remove feed management tools
Date: Sat, 03 Mar 2007 19:22:18 +0000	[thread overview]
Message-ID: <1172949738.5942.57.camel@localhost.localdomain> (raw)
In-Reply-To: <45E7F2C4.9030300@dominion.kabel.utwente.nl>

On Fri, 2007-03-02 at 10:47 +0100, Koen Kooi wrote:
> As I said, OE still generates 'feeds' in subdirs of deploy/ipk, in contrary of what people
> seem to claim on the mailinglist.

What people are claiming in that the format of deploy/ipk changes from a
single to multiple feeds. This is a behaviour change and people relied
on the old behaviour.

> Using deploy/ipk/ as feed will give you the following problems:
> 
> 1) ipkg doesn't handle upgrades properly if the versions between multiple archtectures
> don't match

An ipkg bug which should be filed somewhere...

> 2) ipkg doesn't handle upgrades proberly when you don't use '-m' (OE does now, but I can
> see people 'optimizing' it and removing '-m' to get more speed)

What does the -m option to ipkg do?

> 3) if you rebuild a package and forget to regenerate Packages your target will freak out
> due to mismatched md5sums

That is a usage problem and one that is easily fixed...

> 4) Packages.filelist can only be generated from scratch, so the former
> deploy/ipk/Packages.filelist was broken

What uses that file?

> That are the easy things, lets look at other problems:
> 
> a) shlib renaming madness. Every now and then something goes wrong with shlib renaming,
> e.g. an app starts shipping an extra util and renaming doesn't work anymore. So you end up
> with 'jpeg_6b.ipk' instead of 'libjpeg6_6b.ipk'. This means you have to edit your Packages
> file to add 'Provides: jpeg' since OE will shlib rename 'RPROVIDES += jpeg' to 'Provides:
> libjpeg6'

This is a problem although it mainly affects long standing distro feeds
rather than people using tmp/deploy as a feed which will probably be
unaffected by such a problem.

> b) Packaging changes without PR bump. If you just blindly rsync, different users will get
> different contents of what appears to be the same package.

Again this is a usage problem. I think people using the feeds directly
will be intelligent enough to be able to deal with this. 

> We aren't even mentioning stripping 'Source:' fields to make ipkg consume less RAM and
> storage.

We could probably improve the OE image feed handling to address that.

> So, knowing all this, do people still want to pretend that a single deploy/ipk feed has no
> problems at all and OE should support it?

Nobody is pretending it has no problems, there are some. People are
saying they're prepared to live with those problems as they need the
feature more.

> On the feed-management tools:
> 
> The splitting scripts (to split feeds into gpe/ and opie/ and varous other ways) got
> removed and I was told "it's out of scope" by Chris (not to mention the surprise when
> 'bitbake world' mangles deploy/ipk).

That kind of feed splitting is out of scope. It would belong in contrib.

>  package-index.bb, however serves a different purpose for me: being able to regenerate 
> Packages so I can look at several control files at once,
> instead of using dpkg-deb or ar -x to extract single ones. I'll happily remove it Matthias
> keeps claiming it's a feed management tool.

IMO, it should stay, it is a useful tool.

> Again: the ability to use deploy as a feed is still present, it only moved to subdirectories.

Which changed a behaviour people were relying on.

My view on this is currently that:

* Being able to use tmp/deploy/ipk as a feed is a useful feature
* we should continue to allow that (as developer use only, not for
building real feeds off)

Since a number of people want the older single feed behaviour, I think
we should have some way of allowing that. I understand why people want
the split feed behaviour too and we should allow people to select that
too. Which should be default I don't really care about.

Cheers,

Richard





  reply	other threads:[~2007-03-03 19:22 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-02  1:14 [oe-commits] org.oe.dev rootfs_ipk: as per OE, policy: remove feed management tools Andy Wilcox
2007-03-02  8:22 ` Stelios Koroneos
2007-03-02  9:25   ` Rod Whitby
2007-03-02 10:00     ` Koen Kooi
2007-03-03 17:19       ` Matthias Hentges
2007-03-03 22:47         ` Richard Purdie
2007-03-04  0:08           ` Matthias Hentges
2007-03-04 10:42             ` Richard Purdie
2007-03-02  9:47 ` Koen Kooi
2007-03-03 19:22   ` Richard Purdie [this message]
2007-03-04  8:43     ` Koen Kooi
2007-03-04 10:59       ` Richard Purdie
2007-03-04 11:31         ` Koen Kooi
2007-03-04 14:49           ` Matthias Hentges
2007-03-04 15:01             ` Koen Kooi
2007-03-04 15:10               ` Øyvind Repvik
2007-03-09 10:54     ` [RFC] bogofeed creation Rod Whitby
2007-03-09 11:12       ` Richard Purdie
2007-03-09 13:13         ` Rod Whitby
     [not found] <E1HMgkl-0004SM-Gs@linuxtogo.org>
2007-03-01 15:55 ` [oe-commits] org.oe.dev rootfs_ipk: as per OE policy: remove feed management tools Michael 'Mickey' Lauer
2007-03-01 16:23   ` Koen Kooi
2007-03-01 17:21     ` Hans Henry von Tresckow
2007-03-02  0:07     ` Hans Henry von Tresckow
2007-03-02  0:17     ` Richard Purdie
2007-03-02  0:39       ` Rod Whitby
2007-03-02  0:33     ` Matthias Hentges

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=1172949738.5942.57.camel@localhost.localdomain \
    --to=rpurdie@rpsys.net \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=openembedded-devel@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.