Skip to contentSkip to conversation

docker-distribution: remove docker-distribution-ptest dependencies

PATCH In review [email protected] 2 participants 2 messages Jun 28, 2019 – Jul 3, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docker-distribution: remove docker-distribution-ptest dependencies

From: Changqing Li <[email protected]>

after commit https://git.openembedded.org/openembedded-core/
commit/meta/classes/ptest.bbclass?id=b47194b57d94260b4e6438c5bf74914027f0b520 package ${PN}-ptest will depend on ${PN} by default,
but for docker-distribution, ${PN} is empty package, remove it from dependency to avoid image do rootfs failure since nothing provides error.

---
 recipes-containers/docker-distribution/docker-distribution_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/docker-distribution/docker-distribution_git.bb +2 -0
index 25e4db9..4bf3c6e 100644
@@ -66,3 +66,5 @@ FILES_docker-registry += "${localstatedir}/lib/registry/"
 
 SYSTEMD_SERVICE_docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker-registry.service','',d)}"
 SYSTEMD_AUTO_ENABLE_docker-registry = "enable"
+
+RDEPENDS_${PN}-ptest_remove = "${PN}"
Signature · 1 line
2.7.4
#1 lore raw

merged

Bruce

Quoted 32 lines · On Fri, Jun 28, 2019 at 2:04 AM <[email protected]> wrote:

From: Changqing Li <[email protected]>

after commit https://git.openembedded.org/openembedded-core/
commit/meta/classes/ptest.bbclass?id=b47194b57d94260b4e6438c5bf74914027f0b520 package ${PN}-ptest will depend on ${PN} by default,
but for docker-distribution, ${PN} is empty package, remove it from dependency to avoid image do rootfs failure since nothing provides error.

---
 recipes-containers/docker-distribution/docker-distribution_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/docker-distribution/docker-distribution_git.bb +2 -1
index 25e4db9..4bf3c6e 100644
@@ -66,3 +66,5 @@ FILES_docker-registry += "${localstatedir}/lib/registry/"
 
 SYSTEMD_SERVICE_docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker-registry.service','',d)}"
 SYSTEMD_AUTO_ENABLE_docker-registry = "enable"
+
+RDEPENDS_${PN}-ptest_remove = "${PN}"
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II