Skip to contentSkip to conversation

How to recreate rootfs image

DISCUSSION Lenivyy Viktor 2 participants 2 messages Aug 26, 2015

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines

Can you please try this and share if it works for you:

bitbake -c cleanall dirtypackage myimage
bitbake myimage

Regards,
Nikolay

What is dirtypackage? Myimage will be altera-image-minimal in my case, I guess. I’m wondering whether cleanall doesn’t remove Yocto’s copy of kernel sources?

#1 lore raw

Hi Lenivyy Viktor,

Quoted 12 lines · Lenivyy Viktor
Quoted 11 lines

Can you please try this and share if it works for you:

bitbake -c cleanall dirtypackage myimage

bitbake myimage

Regards,

Quoted 8 lines
Quoted 1 line

Nikolay

What is dirtypackage? Myimagewill be altera-image-minimal in my case, I guess.

I’m wondering whether cleanall doesn’t remove Yocto’s copy of kernel sources?

dirtypackage is the one which you want to rebuild and redeploy in the rootfs. If the package source is local, cleanall won't do big harm, but otherwise you're correct, it will clean the sources. You can use "clean" instead.

Regards,
Nikolay