Skip to content

Commit

Permalink
flashrom build fix: incorrect tag name (sonic-net#21473)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
bradh352 authored Jan 21, 2025
1 parent fbdd7d7 commit 327de70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flashrom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 327de70

Please sign in to comment.