summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/image-bmap-installer.wks.in
blob: fdd35a0f23ae302597101c00b7337c661108031d (plain)
1
2
3
4
5
6
7
8
9
10
11
# create an bmap-tools compatible installer disk image
# populate content to install using IMAGE_BOOT_FILES (e.g. rootfs.img and rootfs.img.bmap)
#
# reuse install-efi/bootimg-efi
# This is a bit of a hack to avoid needing a new wic plugin or modifying grub-efi-cfg.bbclass

part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER},title=install,label=install-efi,initrd=${INITRD_IMAGE_LIVE}-${MACHINE}.${INITRAMFS_FSTYPES}" --ondisk sda --label install --active --align 1024 --use-uuid

part / --source bootimg-partition --ondisk sda --fstype=ext4 --label image --use-uuid --align 1024

bootloader --ptable gpt --timeout=5