[yocto] How to recreate rootfs image

Nikolay Dimitrov picmaster at mail.bg
Wed Aug 26 08:47:08 PDT 2015


Hi Lenivyy Viktor,

On 08/26/2015 06:42 PM, Lenivyy Viktor wrote:
>>  Can you please try this and share if it works for you:
>
>>
>
>>  bitbake -c cleanall dirtypackage myimage
>
>>  bitbake myimage
>
>>
>
>>  Regards,
>
>>  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



More information about the yocto mailing list