[arch-commits] Commit in lxd/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Fri Sep 4 21:51:57 UTC 2020


    Date: Friday, September 4, 2020 @ 21:51:57
  Author: foxboron
Revision: 698659

upgpkg: lxd 4.5-2 - Fixed FS#67825: Statically link lxd-agent

Modified:
  lxd/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-04 21:28:46 UTC (rev 698658)
+++ PKGBUILD	2020-09-04 21:51:57 UTC (rev 698659)
@@ -8,7 +8,7 @@
 _pkgname=lxd
 _lxd=github.com/lxc/lxd
 pkgver=4.5
-pkgrel=1
+pkgrel=2
 pkgdesc="Daemon based on liblxc offering a REST API to manage containers"
 arch=('x86_64')
 url="https://linuxcontainers.org/lxd"
@@ -53,7 +53,7 @@
 
   mkdir -p bin
 	go build -v -tags "netgo" -o bin/ ./lxd-p2c/...
-	go build -v -tags "agent" -o bin/ ./lxd-agent/...
+	CGO_LDFLAGS="$CGO_LDFLAGS -static" go build -v -tags "agent" -o bin/ ./lxd-agent/...
   for tool in fuidshift lxc lxc-to-lxd lxd lxd-benchmark; do
     go build -v -tags "libsqlite3" -o bin/ ./$tool/...
   done


More information about the arch-commits mailing list