Emulate ALL the rPI

Well, perhaps not all of it. However, the following is extremely useful if you’re working with Raspberry Pi in any way. In my case, I’m using it in conjunction with the rPI / OpenStack work I’ve been doing (here and here). That is, I am using it to test changes to the packages / repositories so that I don’t have to rebuild the rPI itself over and over again.

To get started emulating an rPI, install Vagrant, Virtualbox, and git. Then follow the steps here:

https://github.com/nickhutchinson/raspberry-devbox

To run commands within the emulated rPI, use the sb2 command as such:

$ sb2 -eR apt-get update
Hit http://archive.raspbian.org wheezy Release.gpg
Hit http://archive.raspbian.org wheezy Release
Hit http://archive.raspbian.org wheezy/main Sources
Hit http://archive.raspbian.org wheezy/contrib Sources
Hit http://archive.raspbian.org wheezy/non-free Sources
Hit http://archive.raspbian.org wheezy/rpi Sources
Hit http://archive.raspbian.org wheezy/main armhf Packages
Hit http://archive.raspbian.org wheezy/contrib armhf Packages
Hit http://archive.raspbian.org wheezy/non-free armhf Packages
Hit http://archive.raspbian.org wheezy/rpi armhf Packages
Ign http://archive.raspbian.org wheezy/contrib Translation-en
Ign http://archive.raspbian.org wheezy/main Translation-en
Ign http://archive.raspbian.org wheezy/non-free Translation-en
Ign http://archive.raspbian.org wheezy/rpi Translation-en
Reading package lists... Done

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.