Skip to content

Commit

Permalink
fix: install u-root from submodule not a git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Jul 9, 2024
1 parent dc3bbb7 commit 590fd9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion anda/system/submarine/submarine.spec
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ Submarine provides a minimal Linux environmemt that lives in a small partition
(or a different system if you're brave.)

%prep
go install github.com/u-root/[email protected]
git clone --recurse-submodules --shallow-submodules -b v%version %url .

pushd u-root
go install
popd

%build
export PATH=$PATH:$HOME/go/bin
%make_build %arch
Expand Down

0 comments on commit 590fd9a

Please sign in to comment.