Closed gevans closed 8 years ago
I already stated my feelings regarding the 'X' prefix in the string comparison (I don't see any reason not to have it).
But otherwise looks good to me. Nice work :+1:
IwilI try to test it later on tonight.
Thanks for looking it over. Let me know if you run into any issues. :)
I still think that prefixing in bash scripts is more of a bad habit than a code style but I'll let @tokland make the final judgment on that.
working. good job :+1:
after looking at the file as a whole (not only the online diff in github), I agree with your inversion of conditions in the 'if' statement, it is more readable. I think it deserves it's own commit, though.
p.s. what about aarch64? unfortunately, the static arm qemu from the ubuntu repo does not support it well (illegal instruction - core dump). I saw it also needed an additional package: nettle. probably a missing dependency of pacman or something. anyway... maybe in the future.
Thanks for testing it out. I'll reverse those if-statements in a separate commit later tonight.
@tokland: This pull request is ready for you to review and merge.
Merged, thanks guys!
$ARCH
comparisons now check for strings beginning witharm
. This allows bootstrapping with specific ARM architectures in mind:Previously, this would have failed due to the use of the wrong repository mirror and non-existent qemu-user-static binary.