[OE-core] [PATCH 1/3] package.bbclass: run pre/post installation/removal scriptlets using sh -e

Alexander Kanavin alexander.kanavin at linux.intel.com
Thu Feb 8 06:50:58 UTC 2018


On 02/08/2018 08:37 AM, Martin Hundebøll wrote:
> I guess there is no support for non-shell scriptlets? E.g. RPM supports 
> python:
> https://stackoverflow.com/questions/21590014/rpm-post-install-execute-with-python 

Nope, there is no support for it. Besides, that would mean the recipe 
would no longer work with deb or ipk as package types.

I hardly see an issue though: just write a shell one-liner that invokes 
the actual script.


Alex



More information about the Openembedded-core mailing list