[Buildroot] Inquiry : Adding a custom python package to buildroot
pragash.jeyaratnam at gmail.com
Wed Mar 18 14:54:29 UTC 2020
Adding to my previous email. The problem is due to python setup.py issue
within custom modules. For example If we assume,
If a setup.py which has configuration
The above failure will occur ( Absolute path reference) . As per to the
setup.py manual https://docs.python.org/3/distutils/setupscript.html
"The *directory* should be a relative path. It is interpreted relative to
the installation prefix"
So in-order to satisfy the above the configuration should be changed to
Which will be created as per to the installation_prefix/share/your_module.
Hope it was helpful.
On Wed, Mar 18, 2020 at 10:25 AM Pragash Jeyaratnam <
pragash.jeyaratnam at gmail.com> wrote:
> I tried to add a custom python package to buildroot, during build I am
> getting following error message.
> creating /usr/share/sona
> error: could not create '/usr/share/sona': Permission denied
> package/pkg-generic.mk:311: recipe for target
> make: ***
> Error 1
> Makefile:23: recipe for target '_all' failed
> make: *** [_all] Error 2
> Would it be possible for anyone to guide me on how to fix the above issue ?
> Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot