diaspberry
Host diaspora* conveniently on your Raspberry Pi
Build steps
-
Install packages on the build host
-
Clone Poky
$ git clone [email protected]:diaspberry/poky.git
-
Clone Raspberry Pi Meta Layer
$ cd poky $ git clone [email protected]:diaspberry/meta-raspberrypi.git
-
Clone Diaspberry Meta Layer
$ git clone [email protected]:diaspberry/meta-diaspberry.git
-
Checkout Yocto release branch
$ git checkout -b krogoth origin/krogoth
-
Initialize the Build Environment
$ source oe-init-build-env build
-
Adjust the build cofiguration
$ vim conf/local.conf --- 8< --- BB_NUMBER_THREADS = "9" PARALLEL_MAKE = "-j 9" MACHINE ?= "raspberrypi" GPU_MEM = "16" --- >8 ---
-
Adjust the Bit Bake Layers configuration
$ vim conf/bblayers.conf BBLAYERS ?= " \ /workspace/diaspberry/poky/meta \ /workspace/diaspberry/poky/meta-yocto \ /workspace/diaspberry/poky/meta-yocto-bsp \ /workspace/diaspberry/poky/meta-raspberrypi \ /workspace/diaspberry/poky/meta-diaspberry \ "
-
Build the Basic image, this takes some time (~1 hour on fast machines)
$ bitbake rpi-basic-image
-
Copy the image on a sd card. ATTENTION: Choose the right device for the SD Card carefully!
$ sudo dd if=tmp/deploy/images/rpi-basic-image-raspberrypi.rpi-sdimg of=</dev/sdcard> bs=1M
Done. You can now put the SD Card into your Pi and boot Diaspberry.
Configuration
TODO: Write some instructions regarding the Setup Wizard.