Hi Sophie,

On Friday 25 July 2014 17:27:03 CARAYOL Sophie wrote:
> But what is the right mean to add a new directory and a script file in the
> file system ?

A BSP is intended to be a "written documentation". Think about the fact 
somebody else than yourself should re-do what you have done to create the root 
filesystem content. "Use this rootfs from the BSP, compile that application 
and combine both". Let me guess how often this will work and how often it will 
fail badly...

That's why PTXdist based BSPs are extensible. You should add your application 
sources to the BSP and let them build and integrate into the rootfs by PTXdist 
like all the other components as well. Then your root filesystem content is 
*always* consistent (=made with the same toolchain, with the same libs 
present, matching configuration and so on) and easily to reproduce.

Everything else is a pain.

If you don't want to add the sources of your application into the BSP, you can 
still locate it aside the BSP and point its corresponding rule file to this 
location. And if somebody requests for the sources later on (due to the GPL) 
you can ship everything but your application sources.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

Reply via email to