Skip to content

Commit

Permalink
Manually create the rpm cache directory before pkg download
Browse files Browse the repository at this point in the history
  • Loading branch information
ipetrov117 committed Oct 25, 2024
1 parent f55f087 commit a8a2a08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/rpm/resolver/templates/rpm-resolution.sh.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ rpm --import {{ .LocalGPGList }}
rpm -Kv {{ .LocalRPMList }}
{{ end -}}

mkdir -p {{.CacheDir}}

zypper \
--pkg-cache-dir {{.CacheDir}} \
--gpg-auto-import-keys \
Expand Down

0 comments on commit a8a2a08

Please sign in to comment.