Skip to content

Commit

Permalink
Fix build on armv7l or aarch64 that still need qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Jul 24, 2023
1 parent 3143f2c commit 9a5e180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/custompios
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a5e180

Please sign in to comment.