Skip to contentSkip to conversation

Dependency tracking - or - how to get rid of kexec-tools

DISCUSSION Nils Faerber 3 participants 3 messages Mar 1, 2009 – Mar 3, 2009

lore
Share & tools
lore
#0 lore raw

Hi!
I just found a little bit of a problem and am now looking for the most correct solution to it...
I am trying to build x11-image for a mipsel target. I am using the dev-head and angstrom-2009 or DISTRO_VERSION = "2009.X-test-20090301" respectively.
The problem is that this constellation includes kexec-tools-static for something just that kexec-tools-1.101 does not support mipsel. As far as I have seen it I will not make use of kexec-tools later on. I just want to build a quite simple X11 image for that device.

So I can do two things:
1. Get rid of the dependency so that it will not be built. How can I find out which dependency pulls in kexec-tools?

2. Upgrade kexec-tools to the version that is e.g. in Debian, like kexec-tools_20080324.orig.tar.gz which now include mipsel support.

So, what to do now?
Even if 2. would be the best way to go I would still be interested how one can trace this kind of dependency - sometimes I would be really interested why certain packages are built.

PS: I am planning on submitting this mipsel machine support. What would be the best way? Create a diff against dev-head and post here?

Cheers
nils faerber

Signature · 4 lines
kernel concepts GbR      Tel: +49-271-771091-12
Sieghuetter Hauptweg 48  Fax: +49-271-771091-19
D-57072 Siegen           Mob: +49-176-21024535
--
#1 lore raw
Quoted 11 lines · Nils Faerber

Hi!
I just found a little bit of a problem and am now looking for the most correct solution to it...
I am trying to build x11-image for a mipsel target. I am using the dev-head and angstrom-2009 or DISTRO_VERSION = "2009.X-test-20090301" respectively.
The problem is that this constellation includes kexec-tools-static for something just that kexec-tools-1.101 does not support mipsel. As far as I have seen it I will not make use of kexec-tools later on. I just want to build a quite simple X11 image for that device.

Quoted 4 lines

So I can do two things:
1. Get rid of the dependency so that it will not be built. How can I find out which dependency pulls in kexec-tools?

run bitbake -g which gives you 2 files which shows the deps, but sometimes it doesnt really show why a package was included.

Quoted 12 lines

2. Upgrade kexec-tools to the version that is e.g. in Debian, like kexec-tools_20080324.orig.tar.gz which now include mipsel support.

So, what to do now?
Even if 2. would be the best way to go I would still be interested how one can trace this kind of dependency - sometimes I would be really interested why certain packages are built.

PS: I am planning on submitting this mipsel machine support. What would be the best way? Create a diff against dev-head and post here?

Please post the patch here for review.

Quoted 2 lines

Cheers
nils faerber

Bye Henning

#2 lore raw
Quoted 1 line

Upgrade kexec-tools

+1

You could also try:

cd ../org.openembedded.dev/conf
grep -r kexec .

My 2 cents

Andrea