mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
Fixed the +build rules for docker, now that actually *works* on arm
This commit is contained in:
parent
0b8c719312
commit
85ddd76fde
1 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@
|
||||||
pkgname=docker
|
pkgname=docker
|
||||||
_truever=0.8.0
|
_truever=0.8.0
|
||||||
pkgver=${_truever%.*}
|
pkgver=${_truever%.*}
|
||||||
pkgrel=1.1
|
pkgrel=1.2
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgdesc='Pack, ship and run any application as a lightweight container'
|
pkgdesc='Pack, ship and run any application as a lightweight container'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -34,9 +34,9 @@ prepare() {
|
||||||
cd "${srcdir}/docker"
|
cd "${srcdir}/docker"
|
||||||
patch -p1 <"${srcdir}/docker-arm.patch"
|
patch -p1 <"${srcdir}/docker-arm.patch"
|
||||||
patch -p1 <"${srcdir}/btrfs-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 amd64/\/\/ +build 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 !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 linux,amd64/\/\/ +build linux,arm/'
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue