[agl-discussions] Clean up the AGL Images
tanikawa.tadao at jp.panasonic.com
tanikawa.tadao at jp.panasonic.com
Tue Jan 24 05:13:01 UTC 2017
Hi Ronan,
> a) We have multiple images which not already linked together: for example, agl-image-ivi doesn't relies on agl-image-minimal. As a result, if someone adds a package to agl-image-minimal, it isn't added automatically to agl-image-ivi. The same applies to other images as well.
IMHO you are misunderstanding current structure of recipes for agl images and 'require' should be used for common functions/packages not for resolving dependency. If you want it, it should be 'inherit'.
Original design of agl images are not based hierarchy model. We set common packages between agl-image-ivi and agl-demo-platform into agl-image-ivi.inc and use it from each recipes by 'require' directive, this is the same style of meta-ivi.
There was no design point that agl-image-ivi should depend on agl-image-minimal. So if you want to clean up the recipes, common functions/packages between agl-image-ivi and agl-image-minimal might be stored into agl-image-core.inc or something then 'require' (or 'include') it from both of images.
Regards,
Tadao Tanikawa
-----Original Message-----
From: automotive-discussions-bounces at lists.linuxfoundation.org [mailto:automotive-discussions-bounces at lists.linuxfoundation.org] On Behalf Of Ronan Le Martret [ IoT.bzh ]
Sent: Tuesday, January 24, 2017 2:43 AM
To: automotive-discussions at lists.linuxfoundation.org
Subject: [agl-discussions] Clean up the AGL Images
clean up the AGL Images
Current status:
a) We have multiple images which not already linked together: for example, agl-image-ivi doesn't relies on agl-image-minimal. As a result, if someone adds a package to agl-image-minimal, it isn't added automatically to agl-image-ivi. The same applies to other images as well.
b) Some images may not be necessary. Do we really need:
agl-demo-platform-html5
agl-image-weston
?
To solve those two items, we propose to have the following images hierarchy (please see attached SVG file) This involves changing the following repositories:
meta-agl
meta-agl-demo
Please review the following patches we pushed on Gerrit:
* https://gerrit.automotivelinux.org/gerrit/8323 <https://gerrit.automotivelinux.org/gerrit/8323>
* https://gerrit.automotivelinux.org/gerrit/8317
Add document to customize the AGL build:
https://github.com/automotive-grade-linux/docs-agl/pull/43 <https://github.com/automotive-grade-linux/docs-agl/pull/43>
Add documentation for AGL Images:
https://github.com/automotive-grade-linux/docs-agl/pull/44 <https://github.com/automotive-grade-linux/docs-agl/pull/44>
Regards,
Ronan Le Martret [IoT.bzh]
More information about the automotive-discussions
mailing list