All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][PATCH] docker: remove unnecessary dependencies
@ 2023-11-28  6:50 Qi.Chen
  2023-12-04 21:01 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Qi.Chen @ 2023-11-28  6:50 UTC (permalink / raw)
  To: meta-virtualization

From: Chen Qi <Qi.Chen@windriver.com>

The build is not using the codes from these source packages.
Remove the dependencies.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 recipes-containers/docker/docker.inc | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc
index 4a4bc4f6..48f7d3ec 100644
--- a/recipes-containers/docker/docker.inc
+++ b/recipes-containers/docker/docker.inc
@@ -1,21 +1,6 @@
 DEPENDS = " \
-    go-cli \
-    go-pty \
-    go-context \
-    go-mux \
-    go-patricia \
-    go-logrus \
-    go-fsnotify \
-    go-dbus \
-    go-capability \
-    go-systemd \
     btrfs-tools \
     sqlite3 \
-    go-distribution \
-    compose-file \
-    go-connections \
-    notary \
-    grpc-go \
     libtool-native \
     libtool \
     "
@@ -78,7 +63,7 @@ do_compile() {
 	ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork
 	ln -sf ${WORKDIR}/git/cli .gopath/src/github.com/docker/cli
 
-	export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go"
+	export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor"
 	export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go"
 
 	# Pass the needed cflags/ldflags so that cgo
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-virtualization][PATCH] docker: remove unnecessary dependencies
  2023-11-28  6:50 [meta-virtualization][PATCH] docker: remove unnecessary dependencies Qi.Chen
@ 2023-12-04 21:01 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2023-12-04 21:01 UTC (permalink / raw)
  To: Qi.Chen; +Cc: meta-virtualization

merged.

I've been meaning to clean that up, so this saves me
the effort.

The go dependencies as packages was a short lived attempt
at handling build requirements and is no longer viable!

Bruce

In message: [meta-virtualization][PATCH] docker: remove unnecessary dependencies
on 28/11/2023 Chen Qi via lists.yoctoproject.org wrote:

> From: Chen Qi <Qi.Chen@windriver.com>
> 
> The build is not using the codes from these source packages.
> Remove the dependencies.
> 
> Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
> ---
>  recipes-containers/docker/docker.inc | 17 +----------------
>  1 file changed, 1 insertion(+), 16 deletions(-)
> 
> diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc
> index 4a4bc4f6..48f7d3ec 100644
> --- a/recipes-containers/docker/docker.inc
> +++ b/recipes-containers/docker/docker.inc
> @@ -1,21 +1,6 @@
>  DEPENDS = " \
> -    go-cli \
> -    go-pty \
> -    go-context \
> -    go-mux \
> -    go-patricia \
> -    go-logrus \
> -    go-fsnotify \
> -    go-dbus \
> -    go-capability \
> -    go-systemd \
>      btrfs-tools \
>      sqlite3 \
> -    go-distribution \
> -    compose-file \
> -    go-connections \
> -    notary \
> -    grpc-go \
>      libtool-native \
>      libtool \
>      "
> @@ -78,7 +63,7 @@ do_compile() {
>  	ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork
>  	ln -sf ${WORKDIR}/git/cli .gopath/src/github.com/docker/cli
>  
> -	export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go"
> +	export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor"
>  	export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go"
>  
>  	# Pass the needed cflags/ldflags so that cgo
> -- 
> 2.34.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8475): https://lists.yoctoproject.org/g/meta-virtualization/message/8475
> Mute This Topic: https://lists.yoctoproject.org/mt/102846564/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-04 21:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28  6:50 [meta-virtualization][PATCH] docker: remove unnecessary dependencies Qi.Chen
2023-12-04 21:01 ` Bruce Ashfield

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.