How to set to armv6l properly
Closed this issue · 1 comments
jayofelony commented
I am trying to get the plugin to use armv6l
architecture with this command, as per docs:
cd builder && sudo /usr/bin/packer init raspberrypi32.json.pkr.hcl && QEMU_CPU=arm1176 sudo $(UNSHARE) /usr/bin/packer build ...
But it still reverts to the default armv7l
.
Hopefully you have any ideas as to why it will not switch to armv6l.
jayofelony commented
sudo doesnt preserve environment variables. Should've known. sudo -E
did the trick.