Skip to content

Commit

Permalink
fixes and improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
muink committed Jan 14, 2025
1 parent b49c738 commit 62271f8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/buildimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,12 +173,11 @@ jobs:
curl -Lo keys/${k,,} "https://github.com/$GITHUB_REPOSITORY/raw/$CONFBRANCH/keys/usign/${k^^}.pub"
done
# core feed
sed -i "/\/targets\/${{ inputs.board }}\/${{ inputs.subtarget}}\/packages/{ \
s|$MIRROR_URL/releases/$OP_VERSION|file://$GITHUB_WORKSPACE| \
sed -Ei "/\/targets\/${{ inputs.board }}\/${{ inputs.subtarget}}\/packages/{ \
s,https?://.*/(releases/$OP_VERSION|snapshots),file://$GITHUB_WORKSPACE, \
}" repositories.conf
# SNAPSHOT
if [ -n "$SNAPSHOTS" ]; then
sed -i "/\/targets\/${{ inputs.board }}\/${{ inputs.subtarget}}\/kmods/d" repositories.conf
sed -i "s|releases/$OP_VERSION|snapshots|" repositories.conf
fi
# fantastic feeds
Expand Down

0 comments on commit 62271f8

Please sign in to comment.