Skip to contentSkip to conversation

docker-distribution: allow empty packages

PATCH New Yi Zhao 1 participant 1 message Jul 16, 2021

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

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
index a83452e..88ce957 100644
@@ -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