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 authored and Jia Zhang committed 2020-01-16 08:35:40 +08:00
1 parent b2eb24569b
commit 561800fe3f
1 file changed
+2 -2
@@ -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"