All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 3/3] package/genuinetools-img: new host and target package
Date: Tue, 18 May 2021 10:44:29 +0200	[thread overview]
Message-ID: <20210518084429.GN2506@scaer> (raw)
In-Reply-To: <20210516010521.1375959-3-christian@paral.in>

Christian, All,

On 2021-05-15 18:05 -0700, Christian Stewart spake thusly:
> Img is a standalone, daemon-less, unprivileged Dockerfile and OCI compatible
> container image builder. It uses the moby-buildkit solver internally. The
> commands/UX mirror the Docker CLI for workflow compatibility.
> 
> Using the genuinetools- prefix due to the generic nature of the "img" name.
> 
> Adds both host and target variants. fuse-overlayfs can be used as an
> unprivileged and rootless overlay filesystem backend.
> 
> https://github.com/genuinetools/img
> 
> Signed-off-by: Christian Stewart <christian@paral.in>
> ---
[--SNIP--]
> diff --git a/package/genuinetools-img/Config.in b/package/genuinetools-img/Config.in
> new file mode 100644
> index 0000000000..eb4992db07
> --- /dev/null
> +++ b/package/genuinetools-img/Config.in
> @@ -0,0 +1,23 @@
> +config BR2_PACKAGE_GENUINETOOLS_IMG
> +	bool "genuinetools-img"
> +	depends on BR2_USE_MMU # fuse-overlayfs libfuse3
> +	depends on !BR2_STATIC_LIBS # fuse-overlayfs libfuse3
> +	depends on BR2_TOOLCHAIN_HAS_THREADS # fuse-overlayfs libfuse3
> +	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15 # fuse-overlayfs
> +	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
> +	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS

You forgot to add those two to the comment, below...

> +	depends on BR2_TOOLCHAIN_HAS_THREADS

Duplicate. ;-)

> +	depends on !BR2_TOOLCHAIN_USES_UCLIBC

... and this one too...

Also, keep arch-related dependencies first, then toolchain-related
dependencies, the package-related dependencies (with the comments):

    depends on BR2_USE_MMU
    depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
    depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
    depends on !BR2_STATIC_LIBS
    depends on BR2_TOOLCHAIN_HAS_THREADS
    depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15

> +	select BR2_PACKAGE_CGROUPFS_MOUNT if !BR2_PACKAGE_SYSTEMD # runtime dependency
> +	select BR2_PACKAGE_FUSE_OVERLAYFS # runtime dependency
> +	select BR2_PACKAGE_LIBFUSE3 # fuse-overlayfs
> +	help
> +	  Img is a standalone, daemon-less, unprivileged Dockerfile
> +	  and OCI compatible container image builder.
> +
> +	  https://github.com/genuinetools/img
> +
> +comment "genuinetools-img needs a toolchain w/ threads, dynamic library, headers >= 3.15"
> +	depends on BR2_USE_MMU
> +	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
> +		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15

    comment "genuinetools-img needs a glibc or musl toolchain w/ ..."
        depends on BR2_USE_MMU
        depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
        depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
        depends on BR2_TOOLCHAIN_USES_UCLIB || !BR2_TOOLCHAIN_HAS_THREADS \
                || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15

[--SNIP--]

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2021-05-18  8:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-16  1:05 [Buildroot] [PATCH v2 1/3] package/libfuse3: allow building as a host package Christian Stewart
2021-05-16  1:05 ` [Buildroot] [PATCH v2 2/3] package/fuse-overlayfs: enable building as " Christian Stewart
2021-05-16  1:05 ` [Buildroot] [PATCH v2 3/3] package/genuinetools-img: new host and target package Christian Stewart
2021-05-18  8:44   ` Yann E. MORIN [this message]
2021-05-18  8:19 ` [Buildroot] [PATCH v2 1/3] package/libfuse3: allow building as a host package Yann E. MORIN
2021-05-18  8:30 ` Yann E. MORIN
2021-05-18  9:58   ` Christian Stewart

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=20210518084429.GN2506@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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.