[yocto] recipe to clean up files from rootfs

Sherif Omran sherifomran2000 at gmail.com
Tue Dec 12 22:14:38 PST 2017


hi Mike,
i could not get it to work, if you have a recipe that works, please share
it. ROOTFS_POSTPROCESS_COMMAND seems to be buggy.

thank you

>
>
On Tue, Dec 12, 2017 at 1:58 PM, Mike Looijmans <mike.looijmans at topic.nl>
wrote:

> On 11-12-17 15:18, Sherif Omran wrote:
>
>> i want to create a recipe to clean some files from the rootfile system,
>> but i don't know how to let this recipe run the last one before building
>> the rootfile system.
>>
>
> You can use ROOTFS_POSTPROCESS_COMMAND in your image recipe to do some
> last-minute filesystem cleanup.
>
> However, in most cases it's much better to determine what recipe puts the
> files there and modify the recipe or remove the package. It would help a
> lot if you would reveal what files you want to remove and why.
>
>
> Kind regards,
>
> Mike Looijmans
> System Expert
>
> TOPIC Products
> Materiaalweg 4, NL-5681 RJ Best
> Postbus 440, NL-5680 AK Best
> Telefoon: +31 (0) 499 33 69 79
> E-mail: mike.looijmans at topicproducts.com
> Website: www.topicproducts.com
>
> Please consider the environment before printing this e-mail
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171213/3aff3df1/attachment.html>


More information about the yocto mailing list