commit: 6e7285018213303f3147227d464c544be204ec96 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Sun Apr 12 01:59:11 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Sun Apr 12 03:54:21 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=6e728501
targets: Test clst_hostarch, not clst_buildarch We care about what the host system is (the one the stage is going to run on), not the system that is building it. Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> targets/support/bootloader-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/targets/support/bootloader-setup.sh b/targets/support/bootloader-setup.sh index 2119e521..1564d74a 100755 --- a/targets/support/bootloader-setup.sh +++ b/targets/support/bootloader-setup.sh @@ -10,7 +10,7 @@ source ${clst_shdir}/support/filesystem-functions.sh if [ -n "${clst_cdtar}" ] then extract_cdtar $1 -elif [ "${clst_buildarch}" = "x86" ] || [ "${clst_buildarch}" = "amd64" ] +elif [ "${clst_hostarch}" = "x86" ] || [ "${clst_hostarch}" = "amd64" ] then #assume if there is no cdtar and we are on a supported arch that the user just wants us to handle this create_bootloader $1