Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Audun-Marius Gangstø via buildroot" <buildroot@buildroot.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH 1/1] package/docker-engine: optionally include zfs graphdriver
Date: Sat, 15 Jul 2023 18:17:36 +0800	[thread overview]
Message-ID: <14204500.ZvbfcPJBoq@audun-yoga> (raw)

Hello,

Since zfs is in buildroot now, I thought it would be good to enable the 
graphdriver in docker-engine.

Thank you


Signed-off-by: Audun-Marius Gangstø <audun@gangsto.org>
---
 package/docker-engine/docker-engine.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/
docker-engine.mk
index f904793a..0647a560 100644
--- a/package/docker-engine/docker-engine.mk
+++ b/package/docker-engine/docker-engine.mk
@@ -23,7 +23,7 @@ DOCKER_ENGINE_LDFLAGS = \
        -X $(DOCKER_ENGINE_GOMOD)/dockerversion.InitCommitID="" \
        -X $(DOCKER_ENGINE_GOMOD)/dockerversion.Version="$
(DOCKER_ENGINE_VERSION)"
 
-DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs
+DOCKER_ENGINE_TAGS = cgo
 DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd cmd/docker-proxy
 
 ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y)
@@ -56,6 +56,12 @@ else
 DOCKER_ENGINE_TAGS += exclude_graphdriver_vfs
 endif
 
+ifeq ($(BR2_PACKAGE_DOCKER_ENGINE_DRIVER_ZFS),y)
+DOCKER_ENGINE_DEPENDENCIES += zfs
+else
+DOCKER_ENGINE_TAGS += exclude_graphdriver_zfs
+endif
+
 # create the go.mod file with language version go1.19
 # remove the conflicting vendor/modules.txt
 # https://github.com/moby/moby/issues/44618#issuecomment-1343565705



_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2023-07-15 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-15 10:17 Audun-Marius Gangstø via buildroot [this message]
2023-07-24  1:58 ` [Buildroot] [PATCH 1/1] package/docker-engine: optionally include zfs graphdriver Audun-Marius Gangstø via buildroot
2023-09-02 16:04 ` Thomas Petazzoni via buildroot

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=14204500.ZvbfcPJBoq@audun-yoga \
    --to=buildroot@buildroot.org \
    --cc=audun@gangsto.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox