[meta-freescale] [meta-fsl-arm][PATCH 3/8] imx-gpu-viv: Add upgrade path from gpu-viv-bin-mx6q
Daiane Angolini
daiane.list at gmail.com
Thu Feb 5 05:09:23 PST 2015
On Thu, Feb 5, 2015 at 9:04 AM, Otavio Salvador <otavio at ossystems.com.br> wrote:
> The recipe has been renamed but an upgrade path for previously built
> packages and existing recipes must to be provided. This instruments
> the recipe to allow that.
>
I think your commit log is not clear enough, so i propose this instead:
"
Add an upgrade path for renamed recipe
The recipe has been renamed, however it is important to provide a
upgrade path for the previously built packages and already existing
recipes, otherwise the rename may break the existing systems depending
on this.
"
Maybe you prefer to say /critical/ instead of /important/
Maybe you have a better word for /systems/
Daiane
> Change-Id: I89d97a6eafce5d6addfdebe0fc51c2fd4b66f4b7
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
> recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
> index 020250e..b483fbf 100644
> --- a/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
> +++ b/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc
> @@ -11,6 +11,8 @@ DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamag
> base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \
> '', d), d)}"
>
> +PROVIDES = "gpu-viv-bin-mx6q"
> +
> PROVIDES += "virtual/wayland-egl virtual/libgal-x11 virtual/egl virtual/libopenvg virtual/libg2d"
> PROVIDES_append_mx6q = " virtual/libgl virtual/libgles1 virtual/libgles2"
> PROVIDES_append_mx6dl = " virtual/libgl virtual/libgles1 virtual/libgles2"
> @@ -237,6 +239,11 @@ do_install () {
> find ${D}${includedir} -type f -exec chmod 644 {} \;
> }
>
> +# For backwards compatibility after rename
> +RPROVIDES_${PN} = "gpu-viv-bin-mx6q"
> +RREPLACES_${PN} = "gpu-viv-bin-mx6q"
> +RCONFLICTS_${PN} = "gpu-viv-bin-mx6q"
> +
> FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}"
> FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}"
> FILES_libclc-mx6-dbg = "${libdir}/.debug/libCLC${SOLIBS}"
> --
> 2.1.4
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
More information about the meta-freescale
mailing list