armv6l isnt used
jayofelony opened this issue · comments
Jayofelony commented
I run as such:
cd builder && sudo /usr/bin/packer init raspberrypi32.json.pkr.hcl && QEMU_CPU=arm1176 sudo $(UNSHARE) /usr/bin/packer build ...
But when I have a provisioner with uname -m
it still uses default armv7l
as architecture. While I require it to be armv6l
.
Any tips?
Jayofelony commented
sudo doesnt preserve environment variables. Should've known. sudo -E
did the trick.