1 From: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
2 Date: Thu, 3 Mar 2016 19:04:07 +0100
3 Subject: [PATCH] Build bootstrap image for arm64
5 For now the arch is hardcoded for simplicity. We should detect this
6 but how? If we're multi-arch then one bootstrap image should be built
7 per supported arch. This requires Fuel refactoring.
9 build/bootstrap_admin_node.sh.patch | 17 +++++++++++++++++
10 1 file changed, 17 insertions(+)
12 diff --git a/build/patch-repos/0010-bootstrap_admin_node.sh.patch b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
13 --- a/build/patch-repos/0010-bootstrap_admin_node.sh.patch
14 +++ b/build/patch-repos/0010-bootstrap_admin_node.sh.patch
17 systemctl enable iptables.service
20 + echo ${bs_progress_message} >&2
21 + set_ui_bootstrap_error "${bs_progress_message}" >&2
22 +- if fuel-bootstrap -v --debug build --activate >>"$bs_build_log" 2>&1; then
23 ++ if fuel-bootstrap -v --debug build --target_arch arm64 --activate >>"$bs_build_log" 2>&1; then
25 + fuel notify --topic "done" --send "${bs_done_message}"
27 @@ -532,6 +545,16 @@ systemctl start ntpd