diff options
| -rw-r--r-- | meta/recipes-bsp/grub/grub-bootconf_1.00.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/recipes-bsp/grub/grub-bootconf_1.00.bb b/meta/recipes-bsp/grub/grub-bootconf_1.00.bb index 9d5dab9aa8..572580313b 100644 --- a/meta/recipes-bsp/grub/grub-bootconf_1.00.bb +++ b/meta/recipes-bsp/grub/grub-bootconf_1.00.bb | |||
| @@ -9,6 +9,8 @@ RPROVIDES_${PN} += "virtual/grub-bootconf" | |||
| 9 | 9 | ||
| 10 | inherit grub-efi-cfg | 10 | inherit grub-efi-cfg |
| 11 | 11 | ||
| 12 | require conf/image-uefi.conf | ||
| 13 | |||
| 12 | S = "${WORKDIR}" | 14 | S = "${WORKDIR}" |
| 13 | 15 | ||
| 14 | GRUB_CFG = "${S}/grub-bootconf" | 16 | GRUB_CFG = "${S}/grub-bootconf" |
| @@ -23,10 +25,8 @@ python do_configure() { | |||
| 23 | do_configure[vardeps] += "APPEND ROOT" | 25 | do_configure[vardeps] += "APPEND ROOT" |
| 24 | 26 | ||
| 25 | do_install() { | 27 | do_install() { |
| 26 | install -d ${D}/boot | 28 | install -d ${D}${EFI_FILES_PATH} |
| 27 | install -d ${D}/boot/EFI | 29 | install grub-bootconf ${D}${EFI_FILES_PATH}/grub.cfg |
| 28 | install -d ${D}/boot/EFI/BOOT | ||
| 29 | install grub-bootconf ${D}/boot/EFI/BOOT/grub.cfg | ||
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | FILES_${PN} = "/boot/EFI/BOOT/grub.cfg" | 32 | FILES_${PN} = "${EFI_FILES_PATH}/grub.cfg" |
