diff --git a/meta-oniro-core/wic/x-gpt-efi-disk.wks.in b/meta-oniro-core/wic/x-gpt-efi-disk.wks.in index 7bdb8e9b0d6e1c2cb048fdb43339acbdeb65d68c..086202b46f1dcbebfc2a88bb37c0287b1bb825e2 100644 --- a/meta-oniro-core/wic/x-gpt-efi-disk.wks.in +++ b/meta-oniro-core/wic/x-gpt-efi-disk.wks.in @@ -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}