balena: new package
PATCH v2 1/3 balena: new package
From 65b90eefab3fd936b5eec0e3004e5ec370c7d3b9 Mon Sep 17 00:00:00 2001
From: Refik Tuzakli <[email protected]>
Date: Tue, 5 Jun 2018 15:58:39 +0300
Subject: [PATCHv2 1/3] balena new package v2
This patch adds balena; Moby-based Container Engine for Embedded, IoT, and Edge uses.
---
Changes v1 -> v2
??? -converted to golang infrastructure and removed unnecessary variables \
??? ??? suggested by Thomas Petazzoni
?DEVELOPERS???????????????? |? 3 +++ ?package/Config.in????????? |? 1 + ?package/balena/Config.in?? | 18 +++++++++++++++ ?package/balena/balena.hash |? 2 ++ ?package/balena/balena.mk?? | 56
++++++++++++++++++++++++++++++++++++++++++++++
?5 files changed, 80 insertions(+)
?create mode 100644 package/balena/Config.in
?create mode 100644 package/balena/balena.hash
?create mode 100644 package/balena/balena.mk
DEVELOPERS +3 -0
@@ -1613,6 +1613,9 @@ N:??? Rahul Jain <[email protected]> ?F:??? package/uhttpd/ ?F:??? package/ustream-ssl/ +N:??? Refik Tuzakli <[email protected]> +F:??? package/balena/ + ?N:??? Renaud Aubin <[email protected]> ?F:??? package/libhttpparser/
package/Config.in +1 -0
@@ -1984,6 +1984,7 @@ menu "System tools" ???? source "package/atop/Config.in" ???? source "package/attr/Config.in" ???? source "package/audit/Config.in" +??? source "package/balena/Config.in" ???? source "package/bootutils/Config.in" ???? source "package/cgroupfs-mount/Config.in" ???? source "package/circus/Config.in"
package/balena/Config.in new file +18 -0
@@ -0,0 +1,18 @@ +config BR2_PACKAGE_BALENA +??? bool "balena" +??? depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS +??? depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS +??? depends on BR2_TOOLCHAIN_HAS_THREADS +??? depends on BR2_INIT_SYSTEMD +??? depends on BR2_TOOLCHAIN_HAS_THREADS +??? depends on BR2_USE_MMU # needs fork() +??? depends on !BR2_STATIC_LIBS # It fails to build statically +??? select BR2_PACKAGE_LVM2 +??? select BR2_PACKAGE_LVM2_STANDARD_INSTALL +??? help +??? ? Moby-based Container Engine for Embedded, IoT, and Edge uses + +??? ? https://github.com/resin-os/balena + +comment "balena needs systemd" +??? depends on !BR2_INIT_SYSTEMD
package/balena/balena.hash new file +2 -0
@@ -0,0 +1,2 @@ +# Locally calculated +sha256 ae07affea7f50d9754957d972c9957f42938998dffc48cc57fca37e0b187359a
balena-17.06-resin.tar.gz
package/balena/balena.mk new file +22 -0
@@ -0,0 +1,56 @@ +################################################################################ +# +# balena +# +################################################################################ + +BALENA_VERSION = 17.06-resin +BALENA_COMMIT = 73136d1985f28a34705f537e90636cf208734048 +BALENA_SITE = $(call github,resin-os,balena,$(BALENA_VERSION)) + +BALENA_LICENSE = Apache-2.0 +BALENA_LICENSE_FILES = LICENSE + +BALENA_DEPENDENCIES = host-pkgconf systemd lvm2 + +BALENA_GOPATH = $(@D)/_gopath + +BALENA_CONFIGURE_ENV = GOPATH=${BALENA_GOPATH} \ +??? $(TARGET_MAKE_ENV) \ +??? $(HOST_GO_TARGET_ENV) \ +??? DOCKER_GITCOMMIT=${BALENA_COMMIT} \ +??? DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdirver_zfs
exclude_graphdriver_devicemapper'
+
+BALENA_MAKE_ENV = GOPATH=$(BALENA_GOPATH)
+
+BALENA_LDFLAGS += -extldflags '-static'
+
+BALENA_SRC_SUBDIR = github.com/docker/docker
+
+define BALENA_MAKE_DYNBINARY_BALENA
+??? cd $(@D) && \
+??? ??? $(BALENA_CONFIGURE_ENV) \
+??? ??? bash ./hack/make.sh dynbinary-balena
+endef
+
+BALENA_POST_CONFIGURE_HOOKS += BALENA_MAKE_DYNBINARY_BALENA +
+define BALENA_BUILD_CMDS
+??? cd $(@D)/_gopath/src/github.com/docker/docker/cmd/mobynit; \
+??? $(BALENA_MAKE_ENV) \
+??? $(HOST_DIR)/bin/go build -v\
+??? ??? -ldflags "$(BALENA_LDFLAGS)"
+endef
+
+define BALENA_INSTALL_TARGET_CMDS
+??? $(INSTALL) -D -m 0755 $(@D)/bundles/17.06.0-dev/dynbinary-balena/balena \
+??? ??? $(TARGET_DIR)/usr/bin/balena
+??? ln -sf balena $(TARGET_DIR)/usr/bin/balenad
+??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-containerd +??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-containerd-shim +??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-containerd-ctr +??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-runc +??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-proxy +endef
+
+$(eval $(golang-package))
Signature · 31 lines
1.9.1 -- Refik Tuzakl? Embedded Software Engineer IT and Simulation Group Savronik A.?. Organize Sanayi B?lgesi 20. Cadde No: 19 26110 Eski?ehir Turkey Tel : (+90 222) 236 1590 Faks: (+90 222) 236 1589 www.savronik.com.tr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180605/f3eec772/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: refik_tuzakli.vcf Type: text/x-vcard Size: 4 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180605/f3eec772/attachment.vcf>
PATCH v2 1/3 balena: new package
Hello,
I rework on this patch according to Thomas suggestions but still there are some issue I cannot handle.
Quoted 101 lines · Refik Tuzakl?
From
65b90eefab3fd936b5eec0e3004e5ec370c7d3b9Mon Sep 17 00:00:00 2001
From: Refik Tuzakli <[email protected]>
Date: Tue, 5 Jun 2018 15:58:39 +0300
Subject: [PATCHv2 1/3] balena new package v2This patch adds balena; Moby-based Container Engine for Embedded, IoT, and Edge uses.
Signed-off-by Refik Tuzakli <[email protected]>---
Changes v1 -> v2
??? -converted to golang infrastructure and removed unnecessary variables \
??? ??? suggested by Thomas Petazzoni?DEVELOPERS???????????????? |? 3 +++ ?package/Config.in????????? |? 1 + ?package/balena/Config.in?? | 18 +++++++++++++++ ?package/balena/balena.hash |? 2 ++ ?package/balena/balena.mk?? | 56++++++++++++++++++++++++++++++++++++++++++++++
?5 files changed, 80 insertions(+)
?create mode 100644 package/balena/Config.in
?create mode 100644 package/balena/balena.hash
?create mode 100644package/balena/balena.mkDEVELOPERS +0
-0@@ -1613,6 +1613,9 @@ N:??? Rahul Jain <[email protected]>?F:??? package/uhttpd/
?F:??? package/ustream-ssl/DEVELOPERS +3
-0+N:??? Refik Tuzakli <[email protected]> +F:??? package/balena/ +?N:??? Renaud Aubin <[email protected]>
?F:??? package/libhttpparser/package/Config.in +0
-0@@ -1984,6 +1984,7 @@ menu "System tools"???? source "package/atop/Config.in"
???? source "package/attr/Config.in"
???? source "package/audit/Config.in"
+??? source "package/balena/Config.in"
???? source "package/bootutils/Config.in"
???? source "package/cgroupfs-mount/Config.in"
???? source "package/circus/Config.in"package/balena/Config.in new file +18
-0@@ -0,0 +1,18 @@ +config BR2_PACKAGE_BALENA +??? bool "balena" +??? depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS +??? depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS +??? depends on BR2_TOOLCHAIN_HAS_THREADS +??? depends on BR2_INIT_SYSTEMD +??? depends on BR2_TOOLCHAIN_HAS_THREADS +??? depends on BR2_USE_MMU # needs fork() +??? depends on !BR2_STATIC_LIBS # It fails to build statically +??? select BR2_PACKAGE_LVM2 +??? select BR2_PACKAGE_LVM2_STANDARD_INSTALL +??? help +??? ? Moby-based Container Engine for Embedded, IoT, and Edge uses + + https://github.com/resin-os/balena + +comment "balena needs systemd" +??? depends on !BR2_INIT_SYSTEMDpackage/balena/balena.hash new file +2
-0@@ -0,0 +1,2 @@ +# Locally calculated +sha256
ae07affea7f50d9754957d972c9957f42938998dffc48cc57fca37e0b187359abalena-17.06-resin.tar.gzpackage/balena/balena.mk new file +6
-0@@ -0,0 +1,56 @@ +################################################################################ +# +# balena +# +################################################################################ +
package/balena/balena.mk line 16
Quoted 10 lines
package/balena/balena.mk new file +10
-0+BALENA_VERSION = 17.06-resin +BALENA_COMMIT = 73136d1985f28a34705f537e90636cf208734048 +BALENA_SITE = $(call github,resin-os,balena,$(BALENA_VERSION)) + +BALENA_LICENSE = Apache-2.0 +BALENA_LICENSE_FILES = LICENSE + +BALENA_DEPENDENCIES = host-pkgconf systemd lvm2 + +BALENA_GOPATH = $(@D)/_gopath
When remove BALENA_GOPATH, it crashes
Quoted 9 lines
package/balena/balena.mk new file +6
-0+ +BALENA_CONFIGURE_ENV = GOPATH=${BALENA_GOPATH} \ +??? $(TARGET_MAKE_ENV) \ +??? $(HOST_GO_TARGET_ENV) \ +??? DOCKER_GITCOMMIT=${BALENA_COMMIT} \ +??? DOCKER_BUILDTAGS='exclude_graphdriver_btrfs
exclude_graphdirver_zfsexclude_graphdriver_devicemapper'
When I remove any of them, it crashes
Quoted 13 lines
package/balena/balena.mk new file +11
-0+ +BALENA_MAKE_ENV = GOPATH=$(BALENA_GOPATH) + +BALENA_LDFLAGS += -extldflags '-static' + +BALENA_SRC_SUBDIR = github.com/docker/docker + +define BALENA_MAKE_DYNBINARY_BALENA +??? cd $(@D) && \ +??? ??? $(BALENA_CONFIGURE_ENV) \ +??? ??? bash ./hack/make.sh dynbinary-balena
package/balena/balena.mk
Quoted 10 lines
package/balena/balena.mk new file +10
-0+endef + +BALENA_POST_CONFIGURE_HOOKS += BALENA_MAKE_DYNBINARY_BALENA + +define BALENA_BUILD_CMDS +??? cd $(@D)/_gopath/src/github.com/docker/docker/cmd/mobynit; \ +??? $(BALENA_MAKE_ENV) \ +??? $(HOST_DIR)/bin/go build -v\ +??? ??? -ldflags "$(BALENA_LDFLAGS)" +endef
When I remove BALENA_BUILD_CMD it goes $(@D)/_gopath/src/github.com/docker/docker/ and it gives something different BUILD_CMD
I have also tryBALENA_SRC_SUBDIR = github.com/docker/docker/cmd/mobnit it also craches while configuring
Quoted 5 lines
package/balena/balena.mk new file +3
-0+ +define BALENA_INSTALL_TARGET_CMDS +??? $(INSTALL) -D -m 0755$(@D)/bundles/17.06.0-dev/dynbinary-balena/balena \
Quoted 9 lines
+??? ??? $(TARGET_DIR)/usr/bin/balena
+??? ln -sf balena $(TARGET_DIR)/usr/bin/balenad
+??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-containerd +??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-containerd-shim +??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-containerd-ctr +??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-runc +??? ln -sf balena $(TARGET_DIR)/usr/bin/balena-proxy +endef
at this stage still donnot know what we can
Quoted 24 lines
+
+$(eval $(golang-package))Signature · 20 lines
1.9.1 -- Refik Tuzakl? Embedded Software Engineer IT and Simulation Group Savronik A.?. Organize Sanayi B?lgesi 20. Cadde No: 19 26110 Eski?ehir Turkey Tel : (+90 222) 236 1590 Faks: (+90 222) 236 1589 www.savronik.com.tr
Signature · 27 lines
Refik Tuzakl? Embedded Software Engineer IT and Simulation Group Savronik A.?. Organize Sanayi B?lgesi 20. Cadde No: 19 26110 Eski?ehir Turkey Tel : (+90 222) 236 1590 Faks: (+90 222) 236 1589 www.savronik.com.tr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180605/4b8256f9/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: refik_tuzakli.vcf Type: text/x-vcard Size: 4 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180605/4b8256f9/attachment.vcf>
PATCH v2 1/3 balena: new package
Hello Refik,
Quoted 2 lines · Refik Tuzakl?
I rework on this patch according to Thomas suggestions but still there are some issue I cannot handle.
Could you push your patch on some public Git repository so that I can take it to do some tests ? Or send it to me privately as an attached file ?
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 1/3 balena: new package
In reply to Refik TuzaklıQuoted 4 lines · Refik Tuzakl?
+define
BALENA_MAKE_DYNBINARY_BALENA
+??? cd $(@D) && \
+??? ??? $(BALENA_CONFIGURE_ENV) \
+??? ??? bash./hack/make.shdynbinary-balena
I think this is where it goes wrong. This hack/make.sh script is also present
in docker-engine, but we don't use it. Instead, docker-engine uses the hack/make/.go-autogen script.
Regards,
Arnout
Quoted 1 line
+endef
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH v2 1/3 balena: new package
In reply to Refik TuzaklıHello Refik,
Quoted 10 lines · Refik Tuzakl?
From
65b90eefab3fd936b5eec0e3004e5ec370c7d3b9Mon Sep 17 00:00:00 2001
From: Refik Tuzakli <[email protected]>
Date: Tue, 5 Jun 2018 15:58:39 +0300
Subject: [PATCHv2 1/3] balena new package v2This patch adds balena; Moby-based Container Engine for Embedded, IoT, and Edge uses.
Signed-off-by Refik Tuzakli <[email protected]>
Thanks for this new iteration. Unfortunately, it is now sent with Thunderbird, so it is still badly line wrapped.
Quoted 6 lines
package/balena/Config.in new file +0
-0
package/balena/Config.in line 9
Quoted 9 lines
package/balena/Config.in new file +9
-0@@ -0,0 +1,18 @@ +config BR2_PACKAGE_BALENA +??? bool "balena" +??? depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS +??? depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS +??? depends on BR2_TOOLCHAIN_HAS_THREADS +??? depends on BR2_INIT_SYSTEMD +??? depends on BR2_TOOLCHAIN_HAS_THREADS +??? depends on BR2_USE_MMU # needs fork() +??? depends on !BR2_STATIC_LIBS # It fails to build statically
You need a Kconfig comment for the thread and static library dependencies. Look at what other packages are doing for this.
package/balena/Config.in
Quoted 10 lines
package/balena/Config.in new file +10
-0+BALENA_VERSION = 17.06-resin +BALENA_COMMIT = 73136d1985f28a34705f537e90636cf208734048 +BALENA_SITE = $(call github,resin-os,balena,$(BALENA_VERSION)) + +BALENA_LICENSE = Apache-2.0 +BALENA_LICENSE_FILES = LICENSE + +BALENA_DEPENDENCIES = host-pkgconf systemd lvm2 + +BALENA_GOPATH = $(@D)/_gopath
I still believe this is not needed.
Quoted 7 lines
package/balena/Config.in new file +6
-0+ +BALENA_CONFIGURE_ENV = GOPATH=${BALENA_GOPATH} \ +??? $(TARGET_MAKE_ENV) \ +??? $(HOST_GO_TARGET_ENV) \ +??? DOCKER_GITCOMMIT=${BALENA_COMMIT} \ +??? DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdirver_zfs
exclude_graphdriver_devicemapper'
Ditto, this is not needed.
Quoted 1 line
+BALENA_MAKE_ENV = GOPATH=$(BALENA_GOPATH)
Same.
Quoted 1 line
+BALENA_LDFLAGS += -extldflags '-static'
Same.
All this stuff is done by the golang-package infrastructure. I suggest that you read package/pkg-golang.mk so that you can get a feeling of what the golang-package infrastructure already does for you.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 1/3 balena: new package
Hello
Quoted 9 lines · Thomas Petazzoni
Hello Refik,
Quoted 6 lines · Refik Tuzakl?
From
65b90eefab3fd936b5eec0e3004e5ec370c7d3b9Mon Sep 17 00:00:00 2001
From: Refik Tuzakli <[email protected]>
Date: Tue, 5 Jun 2018 15:58:39 +0300
Subject: [PATCHv2 1/3] balena new package v2
Quoted 6 lines
Quoted 4 lines
This patch adds balena; Moby-based Container Engine for Embedded, IoT, and Edge uses.
Signed-off-by Refik Tuzakli <[email protected]>Thanks for this new iteration. Unfortunately, it is now sent with Thunderbird, so it is still badly line wrapped.
I am really sorry for this I can not solve the problem about SSL Certificate.
Quoted 2 lines
Quoted 1 line
+BALENA_LDFLAGS += -extldflags '-static'
Same.
I think we need it because in the pkg-golang. mk there is if clause about it;
ifeq ($(BR2_STATIC_LIBS),y)
$(2)_LDFLAGS += -extldflags '-static'
endif
in our dependencies BR2_STATIC_LIBS should be "n"
Quoted 8 lines
All this stuff is done by the golang-package infrastructure. I suggest that you read
package/pkg-golang.mkso that you can get a feeling of what the golang-package infrastructure already does for you.Thanks!
Thomas
Thanks a lot
Signature · 27 lines
Refik Tuzakl? Embedded Software Engineer IT and Simulation Group Savronik A.?. Organize Sanayi B?lgesi 20. Cadde No: 19 26110 Eski?ehir Turkey Tel : (+90 222) 236 1590 Faks: (+90 222) 236 1589 www.savronik.com.tr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180606/a61b7064/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: refik_tuzakli.vcf Type: text/x-vcard Size: 4 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180606/a61b7064/attachment.vcf>
PATCH v2 1/3 balena: new package
Hello,
Quoted 8 lines · Refik Tuzakl?
Quoted 2 lines
Quoted 1 line
+BALENA_LDFLAGS += -extldflags '-static'
Same.
I think we need it because in the pkg-golang. mk there is if clause about it;
ifeq ($(BR2_STATIC_LIBS),y)
$(2)_LDFLAGS += -extldflags '-static'
endif
in our dependenciesBR2_STATIC_LIBSshould be "n"
Why is -extldflags '-static' needed when BR2_STATIC_LIBS is disabled ? It shouldn't be necessary.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 1/3 balena: new package
In reply to Thomas PetazzoniHello
Quoted 9 lines · Thomas Petazzoni
Hello Refik,
Quoted 6 lines · Refik Tuzakl?
From
65b90eefab3fd936b5eec0e3004e5ec370c7d3b9Mon Sep 17 00:00:00 2001
From: Refik Tuzakli <[email protected]>
Date: Tue, 5 Jun 2018 15:58:39 +0300
Subject: [PATCHv2 1/3] balena new package v2
Quoted 6 lines
Quoted 4 lines
This patch adds balena; Moby-based Container Engine for Embedded, IoT, and Edge uses.
Signed-off-by Refik Tuzakli <[email protected]>Thanks for this new iteration. Unfortunately, it is now sent with Thunderbird, so it is still badly line wrapped.
I am really sorry for this I can not solve the problem about SSL Certificate.
Quoted 2 lines
Quoted 1 line
+BALENA_LDFLAGS += -extldflags '-static'
Same.
I think we need it because in the pkg-golang. mk there is if clause about it;
ifeq ($(BR2_STATIC_LIBS),y)
$(2)_LDFLAGS += -extldflags '-static'
endif
in our dependencies BR2_STATIC_LIBS should be "n"
Quoted 8 lines
All this stuff is done by the golang-package infrastructure. I suggest that you read
package/pkg-golang.mkso that you can get a feeling of what the golang-package infrastructure already does for you.Thanks!
Thomas
Thanks a lot
Signature · 27 lines
Refik Tuzakl? Embedded Software Engineer IT and Simulation Group Savronik A.?. Organize Sanayi B?lgesi 20. Cadde No: 19 26110 Eski?ehir Turkey Tel : (+90 222) 236 1590 Faks: (+90 222) 236 1589 www.savronik.com.tr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180606/9c1c557f/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: refik_tuzakli.vcf Type: text/x-vcard Size: 4 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180606/9c1c557f/attachment-0001.vcf>
PATCH v2 1/3 balena: new package
In reply to Thomas PetazzoniHello
Quoted 9 lines · Thomas Petazzoni
Hello Refik,
Quoted 6 lines · Refik Tuzakl?
From
65b90eefab3fd936b5eec0e3004e5ec370c7d3b9Mon Sep 17 00:00:00 2001
From: Refik Tuzakli <[email protected]>
Date: Tue, 5 Jun 2018 15:58:39 +0300
Subject: [PATCHv2 1/3] balena new package v2
Quoted 6 lines
Quoted 4 lines
This patch adds balena; Moby-based Container Engine for Embedded, IoT, and Edge uses.
Signed-off-by Refik Tuzakli <[email protected]>Thanks for this new iteration. Unfortunately, it is now sent with Thunderbird, so it is still badly line wrapped.
I am really sorry for this I can not solve the problem about SSL Certificate.
Quoted 2 lines
Quoted 1 line
+BALENA_LDFLAGS += -extldflags '-static'
Same.
I think we need it because in the pkg-golang. mk there is if clause about it;
ifeq ($(BR2_STATIC_LIBS),y)
$(2)_LDFLAGS += -extldflags '-static'
endif
in our dependencies BR2_STATIC_LIBS should be "n"
Quoted 8 lines
All this stuff is done by the golang-package infrastructure. I suggest that you read
package/pkg-golang.mkso that you can get a feeling of what the golang-package infrastructure already does for you.Thanks!
Thomas
Thanks a lot
Signature · 27 lines
Refik Tuzakl? Embedded Software Engineer IT and Simulation Group Savronik A.?. Organize Sanayi B?lgesi 20. Cadde No: 19 26110 Eski?ehir Turkey Tel : (+90 222) 236 1590 Faks: (+90 222) 236 1589 www.savronik.com.tr -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180606/8be0671a/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: refik_tuzakli.vcf Type: text/x-vcard Size: 4 bytes Desc: not available URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180606/8be0671a/attachment.vcf>