From 509bd1e21845509abe37c0f7d83065b1b2165922 Mon Sep 17 00:00:00 2001 From: Brad House Date: Sun, 19 Jan 2025 12:49:49 -0500 Subject: [PATCH] flashrom build fix: incorrect tag name flashrom recently started failing to build with the below error: ``` Cloning into 'flashrom-0.9.7'... /sonic/src/flashrom/flashrom-0.9.7 /sonic/src/flashrom fatal: 'tags/0.9.7' is not a commit and a branch 'flashrom-src' cannot be created from it ``` Nothing in sonic-buildimage has changed in relation to this so presumably flashrom upstream renamed their tags. This commit just fixes the formatting of the tag name to use the new format. Signed-off-by: Brad House (@bradh352) --- src/flashrom/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flashrom/Makefile b/src/flashrom/Makefile index 1ebc6363e946..70365d648f41 100644 --- a/src/flashrom/Makefile +++ b/src/flashrom/Makefile @@ -12,7 +12,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% : pushd ./flashrom-$(FLASHROM_VERSION_FULL) # Check out tag: tags/0.9.7 - git checkout -b flashrom-src tags/$(FLASHROM_VERSION_FULL) + git checkout -b flashrom-src v$(FLASHROM_VERSION_FULL) # Apply patch series stg init