[meta-virtualization] [PATCH] docker-registry: Make version dependence compatible with opkg
Bruce Ashfield
bruce.ashfield at gmail.com
Fri Jun 17 05:36:02 PDT 2016
On Tue, Jun 14, 2016 at 1:59 PM, Fabio Berton <fabio.berton at ossystems.com.br
> wrote:
> Some recipes in RDEPENDS are installing specific version of package, for
> example:
> gunicorn (= 19.1.1)
>
> If usigin ipk for PACKAGE_CLASSES, opkg prints error:
>
> Collected errors:
> * satisfy_dependencies_for: Cannot satisfy the following dependencies
> for docker:
> * gunicorn (= 19.1.1) *
> * opkg_install: Cannot install package docker.
>
> This error is caused because opkg appends package revision to version.
> In this case:
> gunicorn_19.1.1-r0.1
>
merged (to master and krogoth).
I'm about to remove and completely re-work the registry recipe in master ..
but there's no harm in carrying this until that is in the tree.
Bruce
>
> If we use comparator >= this error doesn't appear.
>
> Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
> ---
> .../docker-registry/docker-registry_git.bb | 26
> +++++++++++-----------
> 1 file changed, 13 insertions(+), 13 deletions(-)
>
> diff --git a/recipes-containers/docker-registry/docker-registry_git.bb
> b/recipes-containers/docker-registry/docker-registry_git.bb
> index 3d8d74b..0320440 100644
> --- a/recipes-containers/docker-registry/docker-registry_git.bb
> +++ b/recipes-containers/docker-registry/docker-registry_git.bb
> @@ -24,27 +24,27 @@ PV = "0.9.1+git${SRCREV}"
>
> RDEPENDS_${PN} += "\
> docker \
> - gunicorn (= 19.1.1) \
> + gunicorn (>= 19.1.1) \
> python-pip \
> python-distribute \
> - python-m2crypto (= 0.22.3) \
> - python-pyyaml (= 3.11) \
> - python-flask (= 0.10.1) \
> - python-gevent (= 1.0.1) \
> + python-m2crypto (>= 0.22.3) \
> + python-pyyaml (>= 3.11) \
> + python-flask (>= 0.10.1) \
> + python-gevent (>= 1.0.1) \
> python-requests \
> python-sqlalchemy (>= 0.9.4) \
> - python-blinker (= 1.3) \
> - python-backports-lzma (= 0.0.3) \
> - python-flask-cors (= 1.10.3) \
> - python-bugsnag (= 2.0.2) \
> - python-docker-registry-core (= 2.0.3) \
> - python-newrelic (= 2.22.0.19) \
> + python-blinker (>= 1.3) \
> + python-backports-lzma (>= 0.0.3) \
> + python-flask-cors (>= 1.10.3) \
> + python-bugsnag (>= 2.0.2) \
> + python-docker-registry-core (>= 2.0.3) \
> + python-newrelic (>= 2.22.0.19) \
> python-itsdangerous (>= 0.21) \
> python-jinja2 (>= 2.4) \
> python-werkzeug (>= 0.7) \
> python-simplejson (>= 3.6.2) \
> - python-redis (= 2.10.3) \
> - python-boto (= 2.34.0) \
> + python-redis (>= 2.10.3) \
> + python-boto (>= 2.34.0) \
> python-webob \
> "
> # OFFICIAL REQ:
> --
> 2.1.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160617/07588364/attachment.html>
More information about the meta-virtualization
mailing list