From 85ddd76fde927fba3feea85075c34984934f2c74 Mon Sep 17 00:00:00 2001 From: Vladimir Pouzanov Date: Sun, 23 Feb 2014 09:17:27 +0000 Subject: [PATCH] Fixed the +build rules for docker, now that actually *works* on arm --- community/docker/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/community/docker/PKGBUILD b/community/docker/PKGBUILD index 194464152..ed3fa1d88 100644 --- a/community/docker/PKGBUILD +++ b/community/docker/PKGBUILD @@ -6,7 +6,7 @@ pkgname=docker _truever=0.8.0 pkgver=${_truever%.*} -pkgrel=1.1 +pkgrel=1.2 epoch=1 pkgdesc='Pack, ship and run any application as a lightweight container' arch=('x86_64') @@ -34,9 +34,9 @@ prepare() { cd "${srcdir}/docker" patch -p1 <"${srcdir}/docker-arm.patch" patch -p1 <"${srcdir}/btrfs-arm.patch" - find . -name '*.go' | xargs sed --in-place= -e 's/\/\/ +build amd64/\/\/ +build amd64,arm/' - find . -name '*.go' | xargs sed --in-place= -e 's/\/\/ +build !linux !amd64/\/\/ +build !linux !amd64 !arm/' - find . -name '*.go' | xargs sed --in-place= -e 's/\/\/ +build linux,amd64/\/\/ +build linux,amd64 linux,arm/' + find . -name '*.go' | xargs sed --in-place= -e 's/\/\/ +build amd64/\/\/ +build arm/' + find . -name '*.go' | xargs sed --in-place= -e 's/\/\/ +build !linux !amd64/\/\/ +build !linux !arm/' + find . -name '*.go' | xargs sed --in-place= -e 's/\/\/ +build linux,amd64/\/\/ +build linux,arm/' } build() {