All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Handling of virtual/* namespace in packages
@ 2007-10-15 12:19 Marcin Juszkiewicz
  2007-10-15 14:35 ` pHilipp Zabel
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Marcin Juszkiewicz @ 2007-10-15 12:19 UTC (permalink / raw)
  To: openembedded-devel


In OpenedHand we got hit by virtual/update-alternatives and packaging. 
Poky contains two providers for virtual/u-a:

1. update-alternatives-cworth
2. update-alternatives-dpkg

First one comes from IPKG source and is written in pure shell. Second one 
is in Perl so it fetch too much to be usable.

The problem comes when you build both of them (it happens on our 
autobuilder due to 'world' build) - package manager (ipkg) selects random 
one - in our case it is always 'update-alternatives-dpkg' so generated 
rootfs is too big to be usable.

Solution which came to my mind is quite simple. Our distro (Poky) already 
prefers 'u-a-cworth' as provider for 'virtual/update-alternatives'. So if 
package depends on 'virtual/update-alternatives' then let package.bbclass 
mangle its dependencies in such way that 'u-a-cworth' (preferred by 
distro) would be writen in package.

What do you think about it?

-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

         Computers are not intelligent. They only think they are.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-10-17 20:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-15 12:19 [RFC] Handling of virtual/* namespace in packages Marcin Juszkiewicz
2007-10-15 14:35 ` pHilipp Zabel
2007-10-15 19:33   ` Richard Purdie
2007-10-15 14:53 ` Koen Kooi
2007-10-15 19:05   ` Richard Purdie
2007-10-15 16:10 ` Richard Purdie
2007-10-15 18:11   ` Koen Kooi
2007-10-15 20:06     ` Richard Purdie
2007-10-17  9:07       ` Koen Kooi
2007-10-17 10:47         ` Dr. Michael Lauer
2007-10-17 20:32           ` Koen Kooi

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.