<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 16/02/2017 03:18, Gary Thomas wrote:<br>
</div>
<blockquote
cite="mid:c68cce74-5173-2a86-84ed-438a42b9dce3@mlbassoc.com"
type="cite">On 2017-02-15 18:33, Geoffrey Levillain wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
These patches introduce a capability to install overlay into
image after
<br>
fetching them.
<br>
<br>
There is actually a need to add image-specific configurations
files into
<br>
image recipes, and these patches are a way to standardize this
process as
<br>
well as simplify it by re-enabling fetching when image_overlay
is
<br>
inherited, and by providing a task that copy every files in
directories
<br>
listed in OVERLAY_ROOT_DIRS into IMAGE_ROOTFS directory.
<br>
<br>
Geoffrey Levillain (3):
<br>
image.bbclass: No need to force image licence on MIT
<br>
image_overlay.bbclass: Add possibility to install overlays to
image
<br>
rm_work.bbclass: Do not remove fetching and install_overlay
stamps
<br>
<br>
meta/classes/image.bbclass | 2 +-
<br>
meta/classes/image_overlay.bbclass | 24
++++++++++++++++++++++++
<br>
meta/classes/rm_work.bbclass | 4 ++++
<br>
3 files changed, 29 insertions(+), 1 deletion(-)
<br>
create mode 100644 meta/classes/image_overlay.bbclass
<br>
</blockquote>
<br>
Can you give an example where this approach is better than just
<br>
having the image include some [possibly optional] packages that
<br>
contain these image-specific configuration files?
<br>
<br>
</blockquote>
The problem is that most configuration files are provided by a
package and thus can not be overriden by another package.<br>
(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)<br>
A "configuration package" can only add new conf files, it can't
alter existing files.<br>
<br>
Regards<br>
Jérémy<br>
<br>
<div class="moz-signature">-- <br>
<div style="border-bottom: 1px solid #ccd4d7; margin:0 10px 10px
0; width:600px"> </div>
<div>
<table style="; padding: 15px 0 0 0" border="0">
<tbody>
<tr>
<td style="font-size:11px; color:#56707d; text-align:
center; "> <a href="http://www.smile.fr/"><img
src="cid:part1.9E9556B7.0E691A38@smile.fr"
alt="Logo" height="47" width="129"></a><br>
<br>
<font face="century gothic, arial, sans-serif">20 rue
des Jardins<br>
92600 Asnières-sur-Seine<br>
<a href="http://www.smile.fr/" style="font-size:14px;
color:#ec6608 ; text-decoration:none;">www.smile.fr</a></font>
</td>
<td style="padding-left:35px; font-size:12px;
color:#56707d">
<div style="color:#153358; font-size:12px;"><font
face="century gothic, arial, sans-serif"><b>Jérémy
ROSEN</b></font></div>
<div style="color:#117eb4; font-size:12px;"><font
face="century gothic, arial, sans-serif">Architecte
technique<br>
</font></div>
<div style="color:#56707d; font-size:12px;"><font
face="century gothic, arial, sans-serif">Email : <a
href="mailto:jeremy.rosen@smile.fr"
style="color:#56707d; font-size:12px;
text-decoration:none;">jeremy.rosen@smile.fr</a> <br>
Tel : +33141402967 </font></div>
<br>
<div> <span><a
href="https://www.facebook.com/smileopensource"><img
src="cid:part5.381EFC9F.F81977B6@smile.fr"
alt="Facebook" height="24" width="25"></a></span>
<span><a
href="http://fr.slideshare.net/SmileOpenSource/presentations"><img
src="cid:part7.EABB6C91.F7EFCF8C@smile.fr"
alt="Google%2B" height="24" width="25"></a></span>
<span><a href="https://www.linkedin.com/company/smile"><img
src="cid:part9.C8C58AF8.E066735E@smile.fr"
alt="LinkedIn" height="24" width="25"></a></span>
<span><a href="https://twitter.com/GroupeSmile"><img
src="cid:part11.90FAAF46.879A70D9@smile.fr"
alt="Twitter" height="24" width="25"></a></span>
</div>
</td>
</tr>
</tbody>
</table>
<div style="border-bottom: 1px solid #ccd4d7; margin:0 10px 0 0;
width:600px"> </div>
<br>
<div> <a
href="http://www.smile.fr/Offres-services/Offres/Ingenierie?utm_source=signature&utm_medium=email&utm_campaign=signature"><img
src="cid:part13.6627714C.68129E7E@smile.fr"
alt="bandeaux_mail" border="0"></a></div>
<br>
<div style="color:#a3acb5; font-size:10px;"> <img
src="cid:part15.B11F1BD2.ED2CF00F@smile.fr" alt="eco"
height="11" width="13"> <font face="century gothic, arial,
sans-serif"> Pour la planète, n'imprimez ce mail que si
c'est nécessaire </font> </div>
</div>
</div>
</body>
</html>