How do I use pacman on a loop-mounted Arch image?

view full story

http://unix.stackexchange.com – I would like to install some packages on an ARM image before flashing it to an SD card. So far, I have loop mounted the image sudo mount -o loop,offset=99614720 archlinuxarm-13-06-2012.img /mnt and added the ARM mirrors to my /etc/pacman.d/mirrorlist. I've then tried to run sudo pacman --root /mnt --arch arm --conf /mnt/etc/pacman.conf -S curl But it fails with the following output... warning: curl-7.26.0-1 is up to date -- reinstalling resolving dependencies... looking for inter-conflicts... Targets (1): curl-7.26.0-1 Total Download Size: 0.48 MiB Total Installed Size: 1.50 MiB (HowTos)