${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 <[email protected]> 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 <[email protected]>
> ---
> .../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
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6737):
https://lists.yoctoproject.org/g/meta-virtualization/message/6737
Mute This Topic: https://lists.yoctoproject.org/mt/85323488/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-