From 0eef35edeeec268ce9bd20e0ad3c9e1e3770496f Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Tue, 28 Nov 2023 14:50:14 +0800 Subject: docker: remove unnecessary dependencies The build is not using the codes from these source packages. Remove the dependencies. Signed-off-by: Chen Qi Signed-off-by: Bruce Ashfield --- 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 -- cgit v1.2.3-54-g00ecf