diff options
author | Sean Rhodes <sean@starlabs.systems> | 2022-08-02 07:56:54 +0100 |
---|---|---|
committer | Martin Roth <martin.roth@amd.corp-partner.google.com> | 2022-08-14 21:20:06 +0000 |
commit | b02cc14367890661ca047ffe8c5d86a3e6bac95d (patch) | |
tree | 2bdf7a85f0b606d80b790f8f4cec35ae76c1e708 /payloads/external | |
parent | 2e8e0601fda4a5a1b2a3b1f18fd1c20608e423df (diff) |
payloads/edk2: Move the restoration of the logo
Logo.bmp is overwritten with a custom one from coreboot. This needs to
be restored before the branch is updated otherwise git will report that
the repository is dirty.
Move this to the update recipe so that will always be done for any
recipe that needs to update the branch.
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I85bf753a47d9e70d6555dec9a539e8ed7395bead
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66355
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'payloads/external')
-rw-r--r-- | payloads/external/edk2/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/external/edk2/Makefile b/payloads/external/edk2/Makefile index 68e48459a5..a03acbf406 100644 --- a/payloads/external/edk2/Makefile +++ b/payloads/external/edk2/Makefile @@ -106,6 +106,7 @@ update: $(project_dir) git clone $(CONFIG_EDK2_REPOSITORY) $(project_dir); \ fi cd $(project_dir); \ + git checkout MdeModulePkg/Logo/Logo.bmp > /dev/null 2>&1 || true; \ echo " Fetching new commits from $(CONFIG_EDK2_REPOSITORY)"; \ git fetch origin 2>/dev/null; \ if ! git rev-parse --verify -q $(CONFIG_EDK2_TAG_OR_REV) >/dev/null; then \ @@ -178,7 +179,6 @@ build: update print logo checktools build $(BUILD_STR); \ mkdir -p $(project_dir)/../output; \ mv $(project_dir)/Build/$(bootloader)*/*/FV/UEFIPAYLOAD.fd $(project_dir)/../output/UEFIPAYLOAD.fd; \ - git checkout MdeModulePkg/Logo/Logo.bmp > /dev/null 2>&1 || true clean: test -d $(project_dir) && (cd $(project_dir); rm -rf Build; rm -f Conf/tools_def.txt) || exit 0 |