grub-efi-efi-secure-boot.inc: append do_deploy instead overriding it

Append do_deploy function instead of overriding it.

Signed-off-by: Sandra Tobajas <sandra.tobajas@savoirfairelinux.com>
This commit is contained in:
Sandra Tobajas
2020-01-14 13:29:08 -05:00
committed by Jia Zhang
parent b2eb24569b
commit 561800fe3f
@@ -177,8 +177,8 @@ fakeroot do_chownboot() {
}
addtask chownboot after do_deploy before do_package
# Override the do_deploy() in oe-core.
do_deploy_class-target() {
# Append the do_deploy() in oe-core.
do_deploy_append_class-target() {
install -m 0644 "${D}${EFI_BOOT_PATH}/${GRUB_IMAGE}" "${DEPLOYDIR}"
install -d "${DEPLOYDIR}/efi-unsigned"