Skip to content
Snippets Groups Projects
Verified Commit 921f42c7 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>
parent 4041626e
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !250. Comments created here will be created in the context of that merge request.
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
# #
# We don't want to have a duplicate file but there's no support for relative # We don't want to have a duplicate file but there's no support for relative
# paths so use a symbolic link instead. # 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} 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} ${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