Skip to content

Commit

Permalink
Manually create RPM cache directory (#595)
Browse files Browse the repository at this point in the history
* Manually create the rpm cache directory before pkg download

* Append bug to release notes
  • Loading branch information
ipetrov117 authored Oct 25, 2024
1 parent f55f087 commit 9390374
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

## Bug Fixes

* [#594](https://github.com/suse-edge/edge-image-builder/issues/594) - Package install breaks package resolution if packages is already installed on root OS

---

# v1.1.0
Expand Down
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 9390374

Please sign in to comment.