I'd like to share an image I've built for Raspberry Pi 3 B / B+:
Lubuntu 18.04.2
Just flash and resize the partition with Gparted
An OEM config tool will promt to setup your session
How I did it:
Build the Gadget tree:
Code: Select all
git clone -b classic https://github.com/CanonicalLtd/pi3-gadget.git
cd pi3-gadget
sed -i '/1 multiverse/d' Makefile
echo " - boot.scr" >> snapcraft.yaml
sudo snapcraft prime --target-arch=arm64
cd ../
Code: Select all
cp /usr/share/livecd-rootfs/live-build/auto ./
Code: Select all
IMAGEFORMAT='ext4'
Code: Select all
#!/bin/sh -ex
echo "/dev/mmcblk0p2 / ext4 defaults,noatime 0 1" > /etc/fstab
echo "/dev/mmcblk0p1 /boot/firmware vfat defaults 0 2" >> /etc/fstab
echo -n "#" >> /etc/fstab
oem-config-prepare
rm -rf /boot/firmware/*
Code: Select all
export UBUNTU_IMAGE_LIVECD_ROOTFS_AUTO_PATH=auto
sudo ubuntu-image classic -p lubuntu -s bionic -a arm64 --subarch raspi3 -d pi3-gadget/prime