* How to rebuild images with updated PREFERRED_PROVIDER_xxx in machine conf?
@ 2010-03-23 9:38 Jiason Li
2010-03-23 9:43 ` Jiason Li
0 siblings, 1 reply; 6+ messages in thread
From: Jiason Li @ 2010-03-23 9:38 UTC (permalink / raw)
To: openembedded-devel
Hi,
I'm trying to rebuild images with updated PREFERRED_PROVIDER_xxx in
machine conf,
and I don't want to clean the whole oe/overlay/tmp directory each time
I bitbake an image.
I've setup an overlay with my own machine conf.
My steps:
1. bitbake some-image, oe/openembedded/recipes/some-pkg.bb was bitbaked.
2. bitbake -c clean some-pkg
3. bitbake some-pkg, according to the log,
oe/overlay/recipes/some-pkg-mine/some-pkg-mine.bb was bitbaked
correctly.
4. update machine conf with PREFERRED_PROVIDER_some-pkg = "some-pkg-mine"
5. bitbake some-image, but some-pkg was still bitbaked and was in
some-image, not some-pkg-mine!
6. rm -rf oe/overlay/tmp
7. bitbake some-image, this time some-pkg-mine is in some-image, finally.
So,
how do I rebuild an image with updated PREFERRED_PROVIDER_xxx in machine conf,
while not having to clean the whole oe/overlay/tmp directory each time?
Any info are very appreciated. :)
Thank you!
jiason
20100323
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to rebuild images with updated PREFERRED_PROVIDER_xxx in machine conf?
2010-03-23 9:38 How to rebuild images with updated PREFERRED_PROVIDER_xxx in machine conf? Jiason Li
@ 2010-03-23 9:43 ` Jiason Li
2010-03-23 20:50 ` Khem Raj
0 siblings, 1 reply; 6+ messages in thread
From: Jiason Li @ 2010-03-23 9:43 UTC (permalink / raw)
To: openembedded-devel
Sorry all,
My step was:
1. bitbake some-image, oe/openembedded/recipes/some-pkg.bb was bitbaked.
2. bitbake -c clean some-pkg
3. update machine conf with PREFERRED_PROVIDER_some-pkg = "some-pkg-mine"
4. bitbake some-pkg, according to the log,
oe/overlay/recipes/some-pkg-mine/some-pkg-mine.bb was bitbaked
correctly.
5. bitbake some-image, but some-pkg was still bitbaked and was in
some-image, not some-pkg-mine!
6. rm -rf oe/overlay/tmp
7. bitbake some-image, this time some-pkg-mine is in some-image, finally.
Any info are very appreciated. :)
Thank you!
jiason
20100323
> My steps:
> 3. bitbake some-pkg, according to the log,
> oe/overlay/recipes/some-pkg-mine/some-pkg-mine.bb was bitbaked
> correctly.
> 4. update machine conf with PREFERRED_PROVIDER_some-pkg = "some-pkg-mine"
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to rebuild images with updated PREFERRED_PROVIDER_xxx in machine conf?
2010-03-23 9:43 ` Jiason Li
@ 2010-03-23 20:50 ` Khem Raj
2010-03-24 0:53 ` Jiason Li
0 siblings, 1 reply; 6+ messages in thread
From: Khem Raj @ 2010-03-23 20:50 UTC (permalink / raw)
To: openembedded-devel
On (23/03/10 17:43), Jiason Li wrote:
> Sorry all,
>
> My step was:
> 1. bitbake some-image, oe/openembedded/recipes/some-pkg.bb was bitbaked.
> 2. bitbake -c clean some-pkg
> 3. update machine conf with PREFERRED_PROVIDER_some-pkg = "some-pkg-mine"
> 4. bitbake some-pkg, according to the log,
> oe/overlay/recipes/some-pkg-mine/some-pkg-mine.bb was bitbaked
> correctly.
> 5. bitbake some-image, but some-pkg was still bitbaked and was in
> some-image, not some-pkg-mine!
> 6. rm -rf oe/overlay/tmp
> 7. bitbake some-image, this time some-pkg-mine is in some-image, finally.
>
> Any info are very appreciated. :)
may be try
bitbake -c package_update_index some-image
>
> Thank you!
> jiason
> 20100323
>
>
> > My steps:
> > 3. bitbake some-pkg, according to the log,
> > oe/overlay/recipes/some-pkg-mine/some-pkg-mine.bb was bitbaked
> > correctly.
> > 4. update machine conf with PREFERRED_PROVIDER_some-pkg = "some-pkg-mine"
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to rebuild images with updated PREFERRED_PROVIDER_xxx in machine conf?
2010-03-23 20:50 ` Khem Raj
@ 2010-03-24 0:53 ` Jiason Li
2010-03-24 1:58 ` Jiason Li
0 siblings, 1 reply; 6+ messages in thread
From: Jiason Li @ 2010-03-24 0:53 UTC (permalink / raw)
To: openembedded-devel
Hi,
thanks for the info! :D
I'll try then report if it worked. :-)
Thank you!
jiason
20100324
2010/3/24 Khem Raj:
> On (23/03/10 17:43), Jiason Li wrote:
>> Sorry all,
>>
>> My step was:
>> 1. bitbake some-image, oe/openembedded/recipes/some-pkg.bb was bitbaked.
>> 2. bitbake -c clean some-pkg
>> 3. update machine conf with PREFERRED_PROVIDER_some-pkg = "some-pkg-mine"
>> 4. bitbake some-pkg, according to the log,
>> oe/overlay/recipes/some-pkg-mine/some-pkg-mine.bb was bitbaked
>> correctly.
>> 5. bitbake some-image, but some-pkg was still bitbaked and was in
>> some-image, not some-pkg-mine!
>> 6. rm -rf oe/overlay/tmp
>> 7. bitbake some-image, this time some-pkg-mine is in some-image, finally.
>>
>> Any info are very appreciated. :)
>
> may be try
> bitbake -c package_update_index some-image
>
>>
>> Thank you!
>> jiason
>> 20100323
>>
>>
>> > My steps:
>> > 3. bitbake some-pkg, according to the log,
>> > oe/overlay/recipes/some-pkg-mine/some-pkg-mine.bb was bitbaked
>> > correctly.
>> > 4. update machine conf with PREFERRED_PROVIDER_some-pkg = "some-pkg-mine"
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to rebuild images with updated PREFERRED_PROVIDER_xxx in machine conf?
2010-03-24 0:53 ` Jiason Li
@ 2010-03-24 1:58 ` Jiason Li
2010-03-25 10:17 ` Jiason Li
0 siblings, 1 reply; 6+ messages in thread
From: Jiason Li @ 2010-03-24 1:58 UTC (permalink / raw)
To: openembedded-devel
Hi,
resulted two things:
1. bitbake -c package_update_index opie-image
ERROR: Task do_package_update_index does not exist for target opie-image
2. I just found that:
although "bitbake some-pkg" will produce some-pkg-mine.ipk correctly,
some-pkg was still in some-image instead of some-pkg-mine after
"bitbake some-image". :-(
strangest thing is, if "some-pkg" was "virtual/kernel", then things
all worked correctly...
Any info are very appreciated. :-/
Thank You!
jiason
20100324
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: How to rebuild images with updated PREFERRED_PROVIDER_xxx in machine conf?
2010-03-24 1:58 ` Jiason Li
@ 2010-03-25 10:17 ` Jiason Li
0 siblings, 0 replies; 6+ messages in thread
From: Jiason Li @ 2010-03-25 10:17 UTC (permalink / raw)
To: openembedded-devel
OK,
here the answer is:
some-pkg-mine.bb should include not only PROVIDES line, but also RPROVIDES line.
Thanks for the help, though. :-)
Thank You!
jiason
20100324
2010/3/24 Jiason Li:
> Hi,
>
> resulted two things:
>
> 1. bitbake -c package_update_index opie-image
> ERROR: Task do_package_update_index does not exist for target opie-image
>
> 2. I just found that:
> although "bitbake some-pkg" will produce some-pkg-mine.ipk correctly,
> some-pkg was still in some-image instead of some-pkg-mine after
> "bitbake some-image". :-(
>
> strangest thing is, if "some-pkg" was "virtual/kernel", then things
> all worked correctly...
>
> Any info are very appreciated. :-/
>
> Thank You!
> jiason
> 20100324
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-03-25 10:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-23 9:38 How to rebuild images with updated PREFERRED_PROVIDER_xxx in machine conf? Jiason Li
2010-03-23 9:43 ` Jiason Li
2010-03-23 20:50 ` Khem Raj
2010-03-24 0:53 ` Jiason Li
2010-03-24 1:58 ` Jiason Li
2010-03-25 10:17 ` Jiason Li
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.