All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Calianu <adrian.calianu@enea.com>
To: <meta-virtualization@yoctoproject.org>
Subject: [PATCHv1 1/1] docker: fix dependency issues with deb packaging
Date: Mon, 3 Apr 2017 09:38:45 +0200	[thread overview]
Message-ID: <1491205125-45147-1-git-send-email-adrian.calianu@enea.com> (raw)

dpkg-deb does not accept RDEPENDS += "virtual/xxxx"

'Provides' field, invalid package name 'virtual/containerd': character
'/' not allowed (only letters, digits and characters '-+._')

Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
---
 recipes-containers/containerd/containerd-docker_git.bb | 1 -
 recipes-containers/docker/docker_git.bb                | 2 +-
 recipes-containers/runc/runc-docker_git.bb             | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/recipes-containers/containerd/containerd-docker_git.bb b/recipes-containers/containerd/containerd-docker_git.bb
index f6dcaec..604ada3 100644
--- a/recipes-containers/containerd/containerd-docker_git.bb
+++ b/recipes-containers/containerd/containerd-docker_git.bb
@@ -7,4 +7,3 @@ SRC_URI = "\
 CONTAINERD_VERSION = "0.2.3"
 
 PROVIDES += "virtual/containerd"
-RPROVIDES_${PN} = "virtual/containerd"
diff --git a/recipes-containers/docker/docker_git.bb b/recipes-containers/docker/docker_git.bb
index 6b73cf3..16d1dad 100644
--- a/recipes-containers/docker/docker_git.bb
+++ b/recipes-containers/docker/docker_git.bb
@@ -64,7 +64,7 @@ DEPENDS_append_class-target = " lvm2"
 RDEPENDS_${PN} = "curl aufs-util git util-linux iptables \
                   ${@bb.utils.contains('DISTRO_FEATURES','systemd','','cgroup-lite',d)} \
                  "
-RDEPENDS_${PN} += "virtual/containerd virtual/runc"
+RDEPENDS_${PN} += "containerd-docker runc-docker"
 
 RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat"
 RSUGGESTS_${PN} = "lxc rt-tests"
diff --git a/recipes-containers/runc/runc-docker_git.bb b/recipes-containers/runc/runc-docker_git.bb
index 96d48ca..bf32953 100644
--- a/recipes-containers/runc/runc-docker_git.bb
+++ b/recipes-containers/runc/runc-docker_git.bb
@@ -8,4 +8,3 @@ SRC_URI = "git://github.com/docker/runc.git;nobranch=1 \
 
 RUNC_VERSION = "1.0.0-rc2"
 PROVIDES += "virtual/runc"
-RPROVIDES_${PN} = "virtual/runc"
-- 
1.9.1



             reply	other threads:[~2017-04-03  7:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-03  7:38 Adrian Calianu [this message]
     [not found] <1491204611-40395-1-git-send-email-adrian.calianu@enea.com>
2017-04-03 11:15 ` [PATCHv1 1/1] docker: fix dependency issues with deb packaging Bruce Ashfield
  -- strict thread matches above, loose matches on Subject: below --
2017-04-03  7:36 Adrian Calianu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1491205125-45147-1-git-send-email-adrian.calianu@enea.com \
    --to=adrian.calianu@enea.com \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.