From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Christian Stewart via buildroot <buildroot@buildroot.org>
Cc: Tian Yuanhao <tianyuanhao3@163.com>,
"Yann E . Morin" <yann.morin.1998@free.fr>,
Matt Weber <matthew.weber@collins.com>
Subject: Re: [Buildroot] [PATCH v3 1/1] package/nerdctl: new package
Date: Thu, 28 Jul 2022 08:49:36 +0200 [thread overview]
Message-ID: <20220728084936.7e6fa9c8@windsurf> (raw)
In-Reply-To: <20220311044816.3222673-1-christian@paral.in>
Hello,
On Thu, 10 Mar 2022 20:48:16 -0800
Christian Stewart via buildroot <buildroot@buildroot.org> wrote:
> nerdctl is a CLI for containerd (package docker-containerd) which is drop-in
> compatible with the Docker Daemon CLI.
>
> This allows using the lighter weight containerd daemon directly, instead of via
> the additional docker daemon. It also implements rootless mode.
>
> https://github.com/containerd/nerdctl
>
> Signed-off-by: Christian Stewart <christian@paral.in>
I have finally applied this patch, with a number of changes. See below.
> package/Config.in | 1 +
> package/nerdctl/Config.in | 24 ++++++++++++++++++++++++
> package/nerdctl/nerdctl.hash | 3 +++
> package/nerdctl/nerdctl.mk | 20 ++++++++++++++++++++
Entry in DEVELOPERS file was missing.
> diff --git a/package/nerdctl/Config.in b/package/nerdctl/Config.in
> new file mode 100644
> index 0000000000..51a2919d9d
> --- /dev/null
> +++ b/package/nerdctl/Config.in
> @@ -0,0 +1,24 @@
> +config BR2_PACKAGE_NERDCTL
> + bool "nerdctl"
> + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
> + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
> + depends on BR2_TOOLCHAIN_HAS_THREADS
> + depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd
> + depends on BR2_USE_MMU # util-linux
> + select BR2_PACKAGE_CONTAINERD # containerd runtime dependency
> + select BR2_PACKAGE_RUNC # containerd runtime dependency
> + select BR2_PACKAGE_UTIL_LINUX # runtime dependency
> + select BR2_PACKAGE_UTIL_LINUX_BINARIES # containerd
> + select BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT # containerd
> + select BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT # containerd
> + select BR2_PACKAGE_UTIL_LINUX_MOUNT # containerd
It seems you got confused here with the propagation of the
select/depends on. You replicated all "selects" from containerd, but
this is useless. selecting containerd is sufficient, as it will itself
select runc and util-linux with all its sub-options.
What needs to be replicated are the "depends on" of the things you are
selecting.
> diff --git a/package/nerdctl/nerdctl.hash b/package/nerdctl/nerdctl.hash
> new file mode 100644
> index 0000000000..a31b12b26d
> --- /dev/null
> +++ b/package/nerdctl/nerdctl.hash
> @@ -0,0 +1,3 @@
> +# Computed locally
> +sha256 be41804ef139a3f92b774edc8439678e56b44033d7ab3fcf4389f0865c1fe069 nerdctl-0.17.1.tar.gz
> +sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE
The hash of the license file was wrong. I checked, the license file is
indeed Apache-2.0, so I don't know why you had a bogus hash here.
Applied with those changes. Thanks again!
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2022-07-28 6:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-11 4:48 [Buildroot] [PATCH v3 1/1] package/nerdctl: new package Christian Stewart via buildroot
2022-07-28 6:49 ` Thomas Petazzoni via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220728084936.7e6fa9c8@windsurf \
--to=buildroot@buildroot.org \
--cc=matthew.weber@collins.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=tianyuanhao3@163.com \
--cc=yann.morin.1998@free.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.