mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
grub-bootconf: switch to image-uefi.conf
Use variables from image-uefi.conf instead of hardcoding them in the recipe. (From OE-Core rev: b5a97272ba201537a766598d9c9a97c8cbc9ea1d) Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin-solenikov@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f6fa0f4384
commit
b59c427720
@@ -9,6 +9,8 @@ RPROVIDES_${PN} += "virtual/grub-bootconf"
|
||||
|
||||
inherit grub-efi-cfg
|
||||
|
||||
require conf/image-uefi.conf
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
GRUB_CFG = "${S}/grub-bootconf"
|
||||
@@ -23,10 +25,8 @@ python do_configure() {
|
||||
do_configure[vardeps] += "APPEND ROOT"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/boot
|
||||
install -d ${D}/boot/EFI
|
||||
install -d ${D}/boot/EFI/BOOT
|
||||
install grub-bootconf ${D}/boot/EFI/BOOT/grub.cfg
|
||||
install -d ${D}${EFI_FILES_PATH}
|
||||
install grub-bootconf ${D}${EFI_FILES_PATH}/grub.cfg
|
||||
}
|
||||
|
||||
FILES_${PN} = "/boot/EFI/BOOT/grub.cfg"
|
||||
FILES_${PN} = "${EFI_FILES_PATH}/grub.cfg"
|
||||
|
||||
Reference in New Issue
Block a user