This is an experimental appliance image for running the
fabrica snap build service on a pi4
There are two types of images you can choose from:
- A single image for SD cards where everything runs from the SD card.
This image will be the easiest to deply but all your builds will run
with the I/O speed of the SD card. If you are not concerned about I/O
speed, download pi4-fabrica.img.xz and write it to an SD card.
- A split image that effectively consists of two img files, an SD card one
that contains the boot files to boot Ubuntu Core, and an USB one that
contains the root filesystem. If you want to use this image, you want to
download pi4-fabrica-combined-usb.tgz and unpack it.
The tarball contains two img files: pi4-system-boot.img that you write
to the SD card and pi4-usb-writable.img that should be written to a
USB 3.1 SSD or to a USB 3.1 USB key. Boot your pi4 with SD and USB
plugged in.
Setting Up the image:
Attach either a serial cable or a monitor and keyboard to your Pi
If the boot is finished you will see a "Press enter to configure" message.
Press enter to configure the network (note that you will currently not be
able to configure a user due to [1]). At the end of the process the system
will show you its new IP.
After setting up the network, point your browser to the IP the system showed
to you on port 8000 ... i.e. http://192.168.2.55:8000/
You should see the fabrica UI now ... just add any cloneable git tree and
watch snaps being magically built (the scheduler looks for new commits every 5 minutes).
Notes:
The snaps used to build the images are in the snaps subdir, the model assertion is in
the model-assertion subdir.
Due to [2] curretly a kernel with extra config options is required for the USB image
Both images are built from the edge channel !
Everything is still experimental !!!!
[1] https://bugs.launchpad.net/bugs/1881588
[2] https://bugs.launchpad.net/bugs/1881623