Hi Juergen,

Thank you for your explanation. Is it possible to generate the root file system 
without recompiling all the sources and how ?
And How adding a new directory and a script file ( it is not binary 
applications with sources that I want to add juste a file.sh) to the root file 
system with respect to the rules of PTXdist.

Best regards,

Sophie

-----Message d'origine-----
De : Juergen Borleis [mailto:[email protected]]
Envoyé : lundi 28 juillet 2014 08:49
À : [email protected]
Cc : CARAYOL Sophie
Objet : Re: [oselas] Booting Linux

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/  |
________________________________

[http://www.lacroix-electronics.com/sites/default/files/pictures/Dossier_photos/Actualites_FR_UK_DE/Electronica.png]

Electronica in Munich (Germany), November 11-14, 2014
Join us at our stand A2 459
________________________________
 Pour des raisons légales et de sécurité, les informations contenues dans ce 
message ne sont pas juridiquement contraignantes. Sur demande, nous vous 
adresserons une confirmation écrite nous engageant. Les informations contenues 
dans ce message électronique ont un caractère strictement confidentiel et sont 
exclusivement destinées à la personne à laquelle il est adressé. Toute 
divulgation, utilisation, diffusion ou reproduction de tout ou partie de ce 
message, ou des informations qu'il contient, est interdite. Ce message est 
destiné exclusivement à la personne à laquelle il est adressé ou son 
représentant. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de détruire ce message.
For legal and security reasons the information provided in this e-mail is not 
legally binding. Upon request we would be pleased to provide you with a legally 
binding confirmation in written form. The information transmitted is intended 
only for the person or entity to which it is addressed and may contain 
confidential and/or privileged material Any review, retransmission, 
dissemination or other use of, or taking of any action in reliance upon, this 
information by persons or entities other than the intended recipient is 
prohibited. If you received this in error, please contact the sender and delete 
the material from any computer..
Aus gesetzlichen und Sicherheitsgründen sind die in dieser Nachricht 
enthaltenen Informationen rechtlich unverbindlich. Auf Anfrage senden wir Ihnen 
eine verbindliche, schriftliche Bestätigung. Die in dieser E-Mail enthaltenen 
Informationen sind streng vertraulich und ausschließlich für den Empfänger 
bestimmt. Jede vollständige oder teilweise Veröffentlichung, Verwendung, 
Verbreitung oder Vervielfältigung dieser Nachricht oder der darin enthaltenen 
Informationen ist untersagt. Diese Nachricht ist ausschließlich für die Person 
bestimmt, an die sie adressiert ist, oder für ihren Vertreter. Sollten Sie 
diese Nachricht versehentlich erhalten haben, informieren Sie bitte sofort den 
Absender und vernichten Sie die Nachricht..
Disclaimer Lacroix Electronics

Reply via email to