Closed rsaeks closed 2 years ago
I'd already accounted for this with the LoomArchPicker
processor, but didn't use an input variable which would be inherited by a recipe override. Updated the recipe to fix this. 06c5ababb371d0e1f44c56c243738480bcc2a505
autopkg repo-update nstrauss-recipes
autopkg make-override Loom.pkg.recipe
LOOM_ARCH
input key to arm64 or x86 as necessary.I don't know if this is the best approach, but Loom should eventually ship a universal package. Since I am not currently using Loom, you or someone else may need to push on them to move that direction. No plans to update the processor to detect arch of the Mac running autopkg since it has no bearing on arch to which it's deployed.
It is possible to have two overrides - one for each arch. Simply rename one to something like Loom-arm64.pkg.recipe and set LOOM_ARCH
. Then create another leaving the default x86 option in place.
When running the Loom Download or pkg recipes on an M1 machine the x86 package is downloaded instead of arm64.