diff --git a/etcd-arm/README.md b/etcd-arm/README.md index d32801d..1569a96 100644 --- a/etcd-arm/README.md +++ b/etcd-arm/README.md @@ -6,5 +6,10 @@ etcd-arm ``` git clone https://github.com/coreos/etcd.git cd etcd -GOOS=linux GOARCH=arm ./build +# ARMv6 +GOOS=linux GOARCH=arm GOARM=6 ./build +scp bin/* pi1:/usr/local/bin +# ARMv7 +GOOS=linux GOARCH=arm GOARM=7 ./build +scp bin/* pi2:/usr/local/bin ``` diff --git a/etcd-arm/bin/etcd-armv6h b/etcd-arm/bin/etcd-armv6h new file mode 100755 index 0000000..d2792f2 Binary files /dev/null and b/etcd-arm/bin/etcd-armv6h differ diff --git a/etcd-arm/etcd b/etcd-arm/bin/etcd-armv7h similarity index 65% rename from etcd-arm/etcd rename to etcd-arm/bin/etcd-armv7h index 9a52e17..dbedb33 100755 Binary files a/etcd-arm/etcd and b/etcd-arm/bin/etcd-armv7h differ diff --git a/etcd-arm/bin/etcdctl-armv6h b/etcd-arm/bin/etcdctl-armv6h new file mode 100755 index 0000000..ebf9652 Binary files /dev/null and b/etcd-arm/bin/etcdctl-armv6h differ diff --git a/etcd-arm/etcdctl b/etcd-arm/bin/etcdctl-armv7h similarity index 67% rename from etcd-arm/etcdctl rename to etcd-arm/bin/etcdctl-armv7h index 6ced1b0..d2d9c5d 100755 Binary files a/etcd-arm/etcdctl and b/etcd-arm/bin/etcdctl-armv7h differ