[oe] [oe-commits] Koen Kooi : opkg-target,sdk: bump SRCREV

Koen Kooi k.kooi at student.utwente.nl
Tue Nov 24 10:37:48 UTC 2009


Op 24 nov 2009, om 11:20 heeft Martin Jansa het volgende geschreven:

> On Tue, Nov 24, 2009 at 10:08:18AM +0000, git version control wrote:
>> Module: openembedded.git
>> Branch: org.openembedded.dev
>> Commit: 2fdf1aa1c869ea9deecee86206f49a2eca9d7c00
>> URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2fdf1aa1c869ea9deecee86206f49a2eca9d7c00
>>
>> Author: Koen Kooi <koen at openembedded.org>
>> Date:   Tue Nov 24 10:22:43 2009 +0100
>>
>> opkg-target,sdk: bump SRCREV
>
> Hi,
>
> just out of curiosity, does your opkg also ship with update- 
> alternatives
> script included in package?

Yes:

koen at dominion:/OE/angstrom-dev$ dpkg-deb -c deploy/glibc/ipk/armv7a/ 
opkg-nogpg-nocurl_0.1.6+svnr363-r16.4_armv7a.ipk
drwxr-xr-x root/root         0 2009-11-24 11:06 ./
drwxr-xr-x root/root         0 2009-11-24 11:06 ./usr/
drwxr-xr-x root/root         0 2009-11-24 11:06 ./usr/bin/
-rwxr-xr-x root/root    134428 2009-11-24 11:06 ./usr/bin/opkg-cl
-rwxr-xr-x root/root      4248 2009-11-24 11:06 ./usr/bin/update- 
alternatives
-rwxr-xr-x root/root      1671 2009-11-24 11:06 ./usr/bin/opkg-key
drwxr-xr-x root/root         0 2009-11-24 11:06 ./usr/share/
drwxr-xr-x root/root         0 2009-11-24 11:06 ./usr/share/opkg/
drwxr-xr-x root/root         0 2009-11-24 11:06 ./usr/share/opkg/ 
intercept/
-rwxr-xr-x root/root       151 2009-11-24 11:06 ./usr/share/opkg/ 
intercept/ldconfig
-rwxr-xr-x root/root       175 2009-11-24 11:06 ./usr/share/opkg/ 
intercept/update-modules
-rwxr-xr-x root/root       231 2009-11-24 11:06 ./usr/share/opkg/ 
intercept/depmod
drwxr-xr-x root/root         0 2009-11-24 11:06 ./etc/
drwxr-xr-x root/root         0 2009-11-24 11:06 ./etc/rcS.d/
-rwxr-xr-x root/root       513 2009-11-24 11:06 ./etc/rcS.d/S98configure


> Haven't you problem with it, ie not respecting
> virtual/update-alternatives set for distribution in OE?

virtual/foo is for buildtime, so some other solution is needed if you  
want to install a different u-a.

> We're using slightly modified cworth's update-alternatives script
> http://patchwork.openembedded.org/patch/1291/
> so we need to remove it from opkg, because otherwise version from opkg
> is higher in PATH :/
> http://patchwork.openembedded.org/patch/1290/
>
> Could other distributions also use this?

Those 2 patches look OK, expect that you need to add RDEPENDS =  
"update-alternatices-cworth" to the opkg recipes since they will stop  
working otherwise.
We might need something like the virtual/xserver + XSERVER to solve it  
runtime and buildtime.

regards,

Koen




More information about the Openembedded-devel mailing list