Vmdb2 script for building a Debian disc image for Raspberry Pi with PeachCloud pre-installed.
Go to file
notplants d4b158b179 Merge pull request 'Change changepassword to change-password' (#14) from change-password into main
Reviewed-on: #14
2022-07-07 08:48:49 +00:00
debos debos: Add firmware-brcm80211 package needed for wifi 2020-03-10 17:56:11 -04:00
rootfs Merge branch 'update-rpi-set-sysconf-location' into 'master' 2020-11-13 01:28:00 +00:00
templates Update release_index.html to reference go-sbot 2022-04-14 16:16:31 -04:00
.gitignore Use dev branch of peach-config 2021-02-11 15:09:04 +01:00
.gitmodules The images build with Buster's vmdb2 - no need to include it as a submodule anymore 2019-07-18 12:57:20 -03:00
LICENSE Initial commit 2017-10-08 22:48:29 +02:00
Makefile All packages needed for RPi4 are now in buster/backports, stop bringing unstable in 2020-11-05 11:35:58 -06:00
README.md Add new peach packages 2021-06-08 10:53:20 -04:00
build.sh Add publish_img.py script 2021-03-16 12:30:01 +01:00
build_debian_base.sh Update peach-config to new package name 2021-07-23 23:23:04 -04:00
original-readme.md Update Readme and cleanup raspi_master.yaml 2021-02-03 11:48:55 +01:00
publish_img.py Remove print statement 2021-03-16 13:02:42 +01:00
raspi_base.yayml Update peach-config to new package name 2021-07-23 23:23:04 -04:00
raspi_master.yaml Change changepassword to change-password 2022-07-07 10:43:34 +02:00

README.md

This is a fork of the vmdb2 script for building a debian image for raspberry pi, which uses vmdb2 to build a disc image for PeachCloud for the Raspberry pi with all configuration and peach microservices pre-installed.

This vmdb2 script creates a working Debian image, adds apt.peachcloud.org as an apt source, and then uses peach-config to install all PeachCloud microservices.

Installing vmdb2

Run,

sudo apt install -y dosfstools qemu-user-static binfmt-support time kpartx

This script requires the latest version of vmdb2 which is not currently available via apt. After installing the above, clone the vmdb2 repository and add it to your path.

git clone https://gitlab.com/larswirzenius/vmdb2.git
cd vmdb2; ln -s ${PWD}/vmdb2 /usr/local/bin/vmdb2

To Build A New Image

Run,

make raspi_3.img

Theoretically, you could also use this script to build images for other pi versions, by running the same command with raspi_0w.img or raspi_2.img or raspi_3.img

Installing The Image

This image can then be flashed to an SD card using dd or etcher.

Publishing The Image

To build a new peach image, and copy the output image and log to the releases directory, run:

./build.sh

PeachCloud images are versioned and published for release at http://releases.peachcloud.org/

What's Different In This Fork?

the only file that is edited from the original is raspi_master.yaml

Image Size

Note that the alloted disc image size in the original image was 1500M. This is not large enough to allow for the whole peach installation, so this image is currently at 2000M.

On first boot, the image resizes to take up the whole size of the SD card it is installed on.