From cb79685eb4a7c68127a358a3e0592b5cebbf2424697d32437d9a885793233b49 Mon Sep 17 00:00:00 2001
From: Richard Brown <rbrown@suse.com>
Date: Fri, 14 Jun 2019 08:45:39 +0000
Subject: [PATCH] Accepting request 709922 from
 home:Guillaume_G:branches:devel:CaaSP:Head:ControllerNode

Package from devel:CaaSP:Head:ControllerNode + Fix aarch64 start

OBS-URL: https://build.opensuse.org/request/show/709922
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/etcd?expand=0&rev=1
---
 etcd.changes | 5 +++++
 etcd.spec    | 4 ++++
 2 files changed, 9 insertions(+)

diff --git a/etcd.changes b/etcd.changes
index e890953..1f400ed 100644
--- a/etcd.changes
+++ b/etcd.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Jun 13 09:48:45 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
+
+- Fix aarch64 start
+
 -------------------------------------------------------------------
 Wed Jun  5 13:08:46 UTC 2019 -  <jsegitz@suse.com>
 
diff --git a/etcd.spec b/etcd.spec
index 1d5b3bb..1c378d6 100644
--- a/etcd.spec
+++ b/etcd.spec
@@ -87,6 +87,10 @@ ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
 
 # Sysconfig
 install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_fillupdir}/sysconfig.%{name}
+%ifarch aarch64
+# arm64 is not yet officially supported
+echo -e "\n#Enable arm64\nETCD_UNSUPPORTED_ARCH=arm64\n" >> %{buildroot}%{_fillupdir}/sysconfig.%{name}
+%endif
 
 # Additional
 install -d -m 750 %{buildroot}%{_localstatedir}/lib/%{name}