docker: remove unnecessary dependencies
PATCH 1/1 docker: remove unnecessary dependencies
From: Chen Qi <[email protected]>
The build is not using the codes from these source packages. Remove the dependencies.
Signed-off-by Chen Qi <[email protected]>
--- recipes-containers/docker/docker.inc | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-)
recipes-containers/docker/docker.inc +1 -16
@@ -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
Signature · 1 line
2.34.1
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
Quoted 58 lines · on 28/11/2023 Chen Qi via lists.yoctoproject.org wrote:
From: Chen Qi <[email protected]>
The build is not using the codes from these source packages. Remove the dependencies.
Signed-off-by Chen Qi <[email protected]>--- recipes-containers/docker/docker.inc | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-)recipes-containers/docker/docker.inc +1
-16@@ -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 cgoSignature · 11 lines
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: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-