Skip to contentSkip to conversation

avoid to download kernel when bitbake -c configure virtual/kernel

DISCUSSION Ivan Sergio Borgonovo 2 participants 2 messages Nov 4, 2015

lore
Share & tools
lore
#0 lore raw

I've learnt that to develop kernel patches I should

bitbake -c cleanall virtual/kernel
bitbake -c configure virtual/kernel
...

bitbake -c configure virtual/kernel
wants to download the kernel once more

Did I do something wrong or is there a way to avoid to download the kernel over and over other than setting up a proxy?

thanks

Signature · 2 lines
Ivan Sergio Borgonovo
http://www.webthatworks.it
#1 lore raw
Quoted 5 lines · Ivan Sergio Borgonovo

I've learnt that to develop kernel patches I should

bitbake -c cleanall virtual/kernel
bitbake -c configure virtual/kernel
...

"cleanall" means remove *everything* including the sources. Not sure why you'd be using that, try "clean" instead.

Quoted 5 lines

bitbake -c configure virtual/kernel
wants to download the kernel once more

Did I do something wrong or is there a way to avoid to download the kernel over and over other than setting up a proxy?

Don't use "cleanall", you shouldn't need to. There is also "cleansstate" if you really wanted to remove prebuilt cache objects but again, you shouldn't need that. "cleansstate" will be better than "cleanall" though from a downloads perspective.

Cheers,

Richard