[OE-core] [PATCH v2 0/3] Permit to install files from an overlay in images recipes

Jérémy Rosen jeremy.rosen at smile.fr
Fri Feb 17 10:45:25 UTC 2017



On 16/02/2017 03:18, Gary Thomas wrote:
> On 2017-02-15 18:33, Geoffrey Levillain wrote:
>> Hi,
>>
>> These patches introduce a capability to install overlay into image after
>> fetching them.
>>
>> There is actually a need to add image-specific configurations files into
>> image recipes, and these patches are a way to standardize this 
>> process as
>> well as simplify it by re-enabling fetching when image_overlay is
>> inherited, and by providing a task that copy every files in directories
>> listed in OVERLAY_ROOT_DIRS into IMAGE_ROOTFS directory.
>>
>> Geoffrey Levillain (3):
>>   image.bbclass: No need to force image licence on MIT
>>   image_overlay.bbclass: Add possibility to install overlays to image
>>   rm_work.bbclass: Do not remove fetching and install_overlay stamps
>>
>>  meta/classes/image.bbclass         |  2 +-
>>  meta/classes/image_overlay.bbclass | 24 ++++++++++++++++++++++++
>>  meta/classes/rm_work.bbclass       |  4 ++++
>>  3 files changed, 29 insertions(+), 1 deletion(-)
>>  create mode 100644 meta/classes/image_overlay.bbclass
>
> Can you give an example where this approach is better than just
> having the image include some [possibly optional] packages that
> contain these image-specific configuration files?
>
The problem is that most configuration files are provided by a package 
and thus can not be overriden by another package.
(a bbappend for each package we want to modify is a big amount of 
tweaking and would force a variant of the package for each image with a 
different configuration)
A "configuration package" can only add new conf files, it can't alter 
existing files.

Regards
Jérémy

-- 
Logo <http://www.smile.fr/>

20 rue des Jardins
92600 Asnières-sur-Seine
www.smile.fr <http://www.smile.fr/> 	
*Jérémy ROSEN*
Architecte technique
Email : jeremy.rosen at smile.fr <mailto:jeremy.rosen at smile.fr>
Tel : +33141402967

Facebook <https://www.facebook.com/smileopensource> Google%2B 
<http://fr.slideshare.net/SmileOpenSource/presentations> LinkedIn 
<https://www.linkedin.com/company/smile> Twitter 
<https://twitter.com/GroupeSmile>


bandeaux_mail 
<http://www.smile.fr/Offres-services/Offres/Ingenierie?utm_source=signature&utm_medium=email&utm_campaign=signature>

eco Pour la planète, n'imprimez ce mail que si c'est nécessaire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/eca3a1df/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Logo.png
Type: image/png
Size: 3775 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/eca3a1df/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Facebook.png
Type: image/png
Size: 835 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/eca3a1df/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Slideshare.png
Type: image/png
Size: 967 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/eca3a1df/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LinkedIn.png
Type: image/png
Size: 816 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/eca3a1df/attachment-0017.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Twitter.png
Type: image/png
Size: 989 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/eca3a1df/attachment-0018.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OW_devient_Smile_ECS.png
Type: image/png
Size: 83679 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/eca3a1df/attachment-0019.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eco.png
Type: image/png
Size: 267 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170217/eca3a1df/attachment-0020.png>


More information about the Openembedded-core mailing list