From 9a5e1802abdce11f00db524dbcfb98dfeb7831ff Mon Sep 17 00:00:00 2001 From: Guy Sheffer Date: Mon, 24 Jul 2023 18:02:52 +0300 Subject: [PATCH] Fix build on armv7l or aarch64 that still need qemu --- src/custompios | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/custompios b/src/custompios index ed58934c..fc68bc16 100755 --- a/src/custompios +++ b/src/custompios @@ -27,7 +27,7 @@ function execute_chroot_script() { #black magic of qemu-arm-static # cp `which qemu-arm-static` usr/bin - if [ "$(uname -m)" != "armv7l" ] && [ "$(uname -m)" != "aarch64" ] ; then + if [ "$(uname -m)" != "armv7l" ] || [ "$(uname -m)" != "aarch64" ] ; then if [ "$BASE_ARCH" == "armv7l" ]; then if (grep -q gentoo /etc/os-release);then ROOT="`realpath .`" emerge --usepkgonly --oneshot --nodeps qemu