[yocto] Installing python scripts at image
Daniel.
danielhilst at gmail.com
Wed Jun 29 07:43:43 PDT 2016
Hi everybody,
I have a recipe that relies on distutils.bbclass. This one should
install some scripts to ${bindir}, at last this is what I'm expecting
to achieve. I want the scripts to be runnable directly by command line
for convenience. Example: example-script.py args...
For this reason I put "#!/usn/bin/python" in the first line of this
scripts. The problem
is that I got an error message saying that "no package provides /usr/bin/pyhton"
It seems that Yocto inspect the first line of scripts to grab this
dependency but fails to map /usr/bin/python to python-core (which is
already installed). How to make this work right?!
Sources:
https://gist.github.com/gkos/ccc7d19da328893246ca4ba7acc3b40f
Regards,
--
"Do or do not. There is no try"
Yoda Master
More information about the yocto
mailing list