Rebase: p/opnfv-fuel: Allow Fuel commit override.
[armband.git] / patches / opnfv-fuel / 0004-Build-bootstrap-image-for-arm64.patch
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
4
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.
8 ---
9  build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh | 2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
13 index b096a78..744f352 100755
14 --- a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
15 +++ b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
16 @@ -325,7 +325,7 @@ build_ubuntu_bootstrap () {
17          local ret=1
18          echo ${bs_progress_message} >&2
19          set_ui_bootstrap_error "${bs_progress_message}" >&2
20 -        if fuel-bootstrap -v --debug build --activate >>"$bs_build_log" 2>&1; then
21 +        if fuel-bootstrap -v --debug build --target_arch arm64 --activate >>"$bs_build_log" 2>&1; then
22            ret=0
23            fuel notify --topic "done" --send "${bs_done_message}"
24          else