mirror of
https://github.com/rancher/os.git
synced 2025-06-22 13:07:04 +00:00
Need to source build.conf.${ARCH} file when we generate os-config.yml after the pr(https://github.com/rancher/os/pull/815) merged. this patch fix it. Signed-off-by: Wang Long <long.wanglong@huawei.com>
15 lines
199 B
Bash
Executable File
15 lines
199 B
Bash
Executable File
#!/bin/bash
|
|
set -ex
|
|
|
|
cd $(dirname $0)/..
|
|
|
|
set -a
|
|
. build.conf
|
|
. build.conf.${ARCH}
|
|
|
|
SUFFIX=""
|
|
[ "${ARCH}" == "amd64" ] || SUFFIX="_${ARCH}"
|
|
set +a
|
|
|
|
build/host_ros c generate < os-config.tpl.yml > $1
|