docker-distribution: allow empty packages
PATCH 1/1 docker-distribution: allow empty packages
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
--- .../docker-distribution/docker-distribution_git.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-containers/docker-distribution/docker-distribution_git.bb +3 -0
@@ -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"
Signature · 1 line
2.25.1
${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.
Quoted 30 lines · Yi Zhao
Allow to create empty packages for docker-distribution and docker-distribution-dev to fix the
do_populate_sdkerror:
Error: nothing provides docker-distribution = v2.7.1-r0 needed by docker-distribution-dev-v2.7.1-r0.core2_64Signed-off-by Yi Zhao <[email protected]>--- .../docker-distribution/docker-distribution_git.bb | 3 +++ 1 file changed, 3 insertions(+)(quoted diff) +0
-0docker-distribution_git.bb b/recipes-containers/docker-distribution/ docker-distribution_git.bb
index 1f6334f..6e93a21 100644recipes-containers/docker-distribution/docker-distribution_git.bb +3
-1@@ -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