* [Buildroot] [PATCH 1/1] package/docker-engine: optionally include zfs graphdriver
@ 2023-07-15 10:17 Audun-Marius Gangstø via buildroot
2023-07-24 1:58 ` Audun-Marius Gangstø via buildroot
2023-09-02 16:04 ` Thomas Petazzoni via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Audun-Marius Gangstø via buildroot @ 2023-07-15 10:17 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/docker-engine: optionally include zfs graphdriver
2023-07-15 10:17 [Buildroot] [PATCH 1/1] package/docker-engine: optionally include zfs graphdriver Audun-Marius Gangstø via buildroot
@ 2023-07-24 1:58 ` Audun-Marius Gangstø via buildroot
2023-09-02 16:04 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Audun-Marius Gangstø via buildroot @ 2023-07-24 1:58 UTC (permalink / raw)
To: buildroot
Hi again,
I'd really appreciate if you could consider including this patch, or perhaps
tell me what I'm doing wrong/missing.
I tried to keep it small and not change default behavior.
It works for me when building on x86_64 and I'm using it in my project at the
moment.
--
Best regards,
Audun-Marius Gangstø
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/docker-engine: optionally include zfs graphdriver
2023-07-15 10:17 [Buildroot] [PATCH 1/1] package/docker-engine: optionally include zfs graphdriver Audun-Marius Gangstø via buildroot
2023-07-24 1:58 ` Audun-Marius Gangstø via buildroot
@ 2023-09-02 16:04 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-09-02 16:04 UTC (permalink / raw)
To: Audun-Marius Gangstø via buildroot; +Cc: Audun-Marius Gangstø
Hello Audun-Marius,
Thanks for your patch! Sorry for the delay in getting back to you. See
below some comments.
On Sat, 15 Jul 2023 18:17:36 +0800
Audun-Marius Gangstø via buildroot <buildroot@buildroot.org> wrote:
> Hello,
>
> Since zfs is in buildroot now, I thought it would be good to enable the
> graphdriver in docker-engine.
>
> Thank you
The commit log shouldn't be an e-mail, but just a description of the
change. So basically no "Hello", no "Thank you", and no first person
sentence. Something like:
Now that ZFS is packaged in Buildroot, this commit adds an option to
enable ZFS support in docker-engine.
>
> 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)
Where is this option added? I think you forgot to "git add" your
changes in the Config.in file.
Could you fix those issues and sent an updated version of your patch?
Thanks a lot!
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-02 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-15 10:17 [Buildroot] [PATCH 1/1] package/docker-engine: optionally include zfs graphdriver Audun-Marius Gangstø via buildroot
2023-07-24 1:58 ` Audun-Marius Gangstø via buildroot
2023-09-02 16:04 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox