efi_loader: simplify running helloworld.efi
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 12 Jan 2021 16:44:08 +0000 (17:44 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 13 Jan 2021 01:38:00 +0000 (02:38 +0100)
commitbb33c79e47e6ae4b538702b8f3d9a8ffc4b637ea
treed297cb8a04274b50b758dd2c96f7eee663ffb6a6
parent4961ceefbf4e7c572537a752c6d36103520d5f19
efi_loader: simplify running helloworld.efi

Currently when executing 'bootefi hello' we copy helloworld.efi to the
address identified by environment variable loadaddr. This is unexected
behavior for a user. There is no need to copy helloworld.efi before
executing it after relocation.

Remove the copy action.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/bootefi.c