Armbian bootsplash generator, extracted from armbian build tools
Install the linux headers for your platform using armbian-config
.
Clone the repo:
git clone https://github.com/mtgrosser/armbian-bootsplash.git
cd armbian-bootsplash
Then place your image in the repo dir as logo.png
.
Make the bootsplash-packer
executable:
make
Build the bootsplash.armbian splash file:
./makebootsplash.sh
Install the bootsplash:
mkdir -p /usr/local/lib/firmware
cp bootsplash.armbian /usr/local/lib/firmware
Modify the bootsplash initramfs hook, updating the splashfile
variable:
#!/bin/sh
# Copy splash file to initrd
#
mkdir -p "${DESTDIR}"/lib/firmware
splashfile=/usr/local/lib/firmware/bootsplash.armbian
if [ -f "${splashfile}" ]; then
cp "${splashfile}" "${DESTDIR}"/lib/firmware
fi
exit 0
Update the initramfs:
update-initramfs -v -u