Skip to content
Snippets Groups Projects
Commit 23e12f63 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

x-gpt-efi-disk.wks.in: Use the grub.cfg from deploy directory


The grub.cfg file is processed based on the machine configuration and
the final result is deployed in DEPLOY_DIR_IMAGE. Use that file as
opposed to letting wic finding it in the layer - and using the template
one.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: default avatarLuca Seritan <luca.seritan@huawei.com>
parent 41a288d5
No related branches found
No related tags found
1 merge request!250Add support for qemuarm/64 machines with EFI
......@@ -23,7 +23,7 @@
#
# We don't want to have a duplicate file but there's no support for relative
# paths so use a symbolic link instead.
bootloader --configfile=grub.cfg --ptable gpt --timeout=${WIC_BOOTLOADER_TIMEOUT} --append=" rootfstype=${ROOT_FSTYPE} "
bootloader --configfile="${DEPLOY_DIR_IMAGE}/grub.cfg" --ptable gpt --timeout=${WIC_BOOTLOADER_TIMEOUT} --append=" rootfstype=${ROOT_FSTYPE} "
part --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label ${BOOT_PARTITION_LABEL} --active --align 4096 --offset 4096 --fixed-size ${BOOT_PARTITION_SIZE}
${WIC_ROOTA_PARTITION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment