I need to write a script which will install some arm debian packages onto a debian sd-card. The script must run on an x86_64 debian desktop PC.
Can dpkg install packages, that are for a different architecture, onto a target filesystem?
What's the best way of doing this? A chroot, or something else?