I’v uploaded appliance-tools to nethserver/arm-testing.
To create an new image you need approx 5-6 GB of free space (a fast sd card / hdd recommended) on the architecture you are targeting.
And get hold (clone) the content of this folder:
then as a privileged user run as an example:
sudo ./build-img.sh ks/Nethserver-7.7.1908-RC1-RaspberryPi.ks
And go drink a cup of coffee and wait for the result to appear in Nethserver-7.7.1908-RC1-RaspberryPi folder of the work space.
The image can directly be written to a SD-Card with
sudo dd if=Nethserver-7.7.1908-RC1-RaspberryPi-img.raw of=/dev/sdX bs=4M status=progress
Some tips inspect the image before writing to SD-Card
sudo losetup -f -P Nethserver-7.7.1908-RC1-RaspberryPi-img.raw
Find which loop device the image is attached to:
losetup -a
And you can mount the image (as an example):
sudo mount /dev/loop0p2 /mnt
sudo mount /dev/loop0p1 /mnt/boot/
Do not forget to umount and detach the loop device:
sudo umount -R /mnt
sudo losetup -d loop0
Happy hacking…