Closed Niyakiy closed 3 years ago
Just another note, doesn't necessarily have to be addressed by this PR.
We're not currently testing use_upstream_repo
for most platforms, so this PR isn't actually being tested properly. Need to consider updating this block in the test pillar:
I'll try to run some tests when I get a chance. Let's not make this a blocker for this PR, if I don't report back soon.
@Niyakiy Please don't go out of your way to run these tests, what you've already provided is more than enough, thanks.
Thanks, @Niyakiy -- merged.
Out of interest, did you need to adjust the pkg_deps
to also install these packages?
pkgs_deps:
- libicu
- systemd-sysv
I had to do that to get PostgreSQL 13 installed on Amazon Linux 2:
:tada: This PR is included in version 0.41.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
@Niyakiy I've refactored this Amazon Linux 2 support in #315 -- feel free to comment on it there.
Fix improper pgdg repo file creation for Amazon Linux 2.
Description: Current formula implementation uses
baseurl: 'https://download.postgresql.org/pub/repos/yum/{{ repo.version }}/redhat/rhel-$releasever-$basearch'
setting $releasever to 2 for Amazon Linux 2 and making formula install fail due to missing rhel-2 packages.The fix makes a newly created formula repo file to use rhel-7 as the proper repository to use during install.