* [PATCH] docker-distribution: allow empty packages
@ 2021-09-02 8:53 Yi Zhao
2021-09-02 11:39 ` [meta-virtualization] " Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Yi Zhao @ 2021-09-02 8:53 UTC (permalink / raw)
To: meta-virtualization
Allow to create empty packages for docker-distribution and
docker-distribution-dev to fix the do_populate_sdk error:
Error: nothing provides docker-distribution = v2.7.1-r0 needed by docker-distribution-dev-v2.7.1-r0.core2_64
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
.../docker-distribution/docker-distribution_git.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb
index 1f6334f..6e93a21 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -72,3 +72,6 @@ SYSTEMD_AUTO_ENABLE:docker-registry = "enable"
RDEPENDS:${PN}-ptest:remove = "${PN}"
CVE_PRODUCT = "docker_registry"
+
+ALLOW_EMPTY:${PN} = "1"
+ALLOW_EMPTY:${PN}-dev = "1"
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-virtualization] [PATCH] docker-distribution: allow empty packages
2021-09-02 8:53 [PATCH] docker-distribution: allow empty packages Yi Zhao
@ 2021-09-02 11:39 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2021-09-02 11:39 UTC (permalink / raw)
To: Yi Zhao; +Cc: meta-virtualization
[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]
${PN}-dev already isn't empty when you get the "needed by
docker-distribution-dev-v2.7.1-r0.core2_64" message right?
and for empty ${PN}, why don't you set RDEPENDS:${PN}-dev to be empty
instead? empty packages are useless.
On Thu, Sep 2, 2021 at 10:53 AM Yi Zhao <yi.zhao@windriver.com> wrote:
> Allow to create empty packages for docker-distribution and
> docker-distribution-dev to fix the do_populate_sdk error:
> Error: nothing provides docker-distribution = v2.7.1-r0 needed by
> docker-distribution-dev-v2.7.1-r0.core2_64
>
> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
> ---
> .../docker-distribution/docker-distribution_git.bb | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/recipes-containers/docker-distribution/
> docker-distribution_git.bb b/recipes-containers/docker-distribution/
> docker-distribution_git.bb
> index 1f6334f..6e93a21 100644
> --- a/recipes-containers/docker-distribution/docker-distribution_git.bb
> +++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
> @@ -72,3 +72,6 @@ SYSTEMD_AUTO_ENABLE:docker-registry = "enable"
> RDEPENDS:${PN}-ptest:remove = "${PN}"
>
> CVE_PRODUCT = "docker_registry"
> +
> +ALLOW_EMPTY:${PN} = "1"
> +ALLOW_EMPTY:${PN}-dev = "1"
> --
> 2.25.1
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 2200 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-02 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 8:53 [PATCH] docker-distribution: allow empty packages Yi Zhao
2021-09-02 11:39 ` [meta-virtualization] " Martin Jansa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).