mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00

moby has moved on to the 20.10+ series, while docker-ce has stayed behind a bit. Master of docker-ce now has imports from moby and is getting ready for release. To keep our variants from diverging, we switch to master (for now) and will track the new development. We adapt some patches from the moby build to work for docker-ce, in particular, we cannot use docker to build docker, so we port the cli building from moby. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
24 lines
812 B
Diff
24 lines
812 B
Diff
From bbf600cc4d46c3f7ec0c1b486790a2402d41f550 Mon Sep 17 00:00:00 2001
|
|
From: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
Date: Tue, 30 Jun 2020 22:23:33 -0400
|
|
Subject: [PATCH] dynbinary: use go cross compiler
|
|
|
|
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
|
|
---
|
|
hack/make/.binary | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: git/src/import/components/engine/hack/make/.binary
|
|
===================================================================
|
|
--- git.orig/src/import/components/engine/hack/make/.binary
|
|
+++ git/src/import/components/engine/hack/make/.binary
|
|
@@ -81,7 +81,7 @@
|
|
|
|
echo "Building: $DEST/$BINARY_FULLNAME"
|
|
echo "GOOS=\"${GOOS}\" GOARCH=\"${GOARCH}\" GOARM=\"${GOARM}\""
|
|
- go build \
|
|
+ ${GO} build \
|
|
-o "$DEST/$BINARY_FULLNAME" \
|
|
"${BUILDFLAGS[@]}" \
|
|
-ldflags "
|