This is now the fix, which I tested using a loop device.
Also works with a /boot/efi partition.

https://github.com/faiproject/fai/commit/d120c26c788b13b83f60f3bd1f3f5feb65cc7a55

Example:

disk_config disk1  disklabel:gpt  fstabkey:uuid  align-at:1M

primary   /boot 64M     vfat       rw
primary   /             40-    ext4       defaults
primary   swap          10      swap       sw


---
# disk_var.sh as YAML
ESP_DEVICE: /dev/loop0p1
SWAPLIST: /dev/loop0p3
ROOT_PARTITION: UUID=cd6aa710-56d4-439a-bf4d-0baa29cc15d8
BOOT_PARTITION: /dev/loop0p1
BOOT_DEVICE: /dev/loop0

-- 
regards Thomas

Reply via email to