|
'make_dualboot_image'
'make_dualboot_image' creates a new raw image file:
- creating one vfat partition covering whole size
- formating partition with vfat
- provision GRUB boot-code (expecting 'grub' folder on vfat partition)
- copy custom files to vfat partition
using image file handling via NBD (updated imagetool.sh).
The custom files are sourced from two sdcard diskimages folder
generated with our pi-gen branch:
- raspi arm64
- debian amd64
Simply copied both content into one merge folder,
passed as last argument 'provisioning-dir' to this script.
+++
Grub file handling takes care of both boot-code image locations,
446 bytes in MBR and the MBR gap from [512 bytes - partition-start[
|