From 740caf0ee73ba96510d2e2c70f78992d2e10bd98 Mon Sep 17 00:00:00 2001 From: mssonicbld <79238446+mssonicbld@users.noreply.github.com> Date: Wed, 5 Mar 2025 14:57:28 +0800 Subject: [PATCH] flashrom build fix: incorrect tag name (#21535) #### Why I did it 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. ##### Work item tracking #### How I did it This commit just fixes the formatting of the tag name to use the new format. #### How to verify it Build sonic from scratch with no cached packages. #### Which release branch to backport (provide reason below if selected) - [x] 202411 #### Tested branch (Please provide the tested image version) master as of 20250119 #### Description for the changelog flashrom build fix: incorrect tag name #### Link to config_db schema for YANG module changes #### A picture of a cute animal (not mandatory but encouraged) Signed-off-by: Brad House (@bradh352) 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 1ebc6363e9..70365d648f 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