I just made my own raspbian based environment with debootstrap: http://wiki.debian.org/EmDebian/CrossDe ... p_approach
You just need to slightly alter the debootstrap arguments:
Code: Select all
debootstrap --foreign --no-check-gpg --arch=armhf wheezy piroot-raspbian/ http://archive.raspbian.org/raspbian
- bootstrap a foreign architecture
- ignore package signatures, I had an issue with them which you may not have now
- hard-float architecture
- debian release
- target directory
- primary raspbian mirror, you can choose your own from here http://www.raspbian.org/RaspbianMirrors
This command will likely fail because it tries to configure packets not meant for your host architecture, this is normal - just keep following the steps.
Before copying everything to your SD card you may need to prepare the system a bit further by chroot'ing into it (automatically activates qemu to do binary translation, if you followed the CrossDebootstrap guide) and installing a few packages like dhcpclient, openssh-server, wget, mc and the likes.
Let me know if it worked for you or if you have any problems.