-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2491 from joshcooper/drop_rawhide
Use F36 repos instead of rawhide
- Loading branch information
Showing
1 changed file
with
2 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
platform 'fedora-36-x86_64' do |plat| | ||
plat.servicedir '/usr/lib/systemd/system' | ||
plat.defaultdir '/etc/sysconfig' | ||
plat.servicetype 'systemd' | ||
plat.dist 'fc36' | ||
plat.inherit_from_default | ||
|
||
# There's an issue with the version of binutils (2.37) in Fedora 36's repos | ||
# We temporarily use a newer version from rawhide. See PA-4448 | ||
plat.provision_with('/usr/bin/dnf install -y fedora-repos-rawhide') | ||
plat.provision_with('/usr/bin/dnf install -y --enablerepo rawhide binutils') | ||
|
||
packages = %w[ | ||
autoconf automake bzip2-devel gcc gcc-c++ libselinux-devel | ||
libsepol libsepol-devel make cmake pkgconfig readline-devel | ||
rpmdevtools rsync swig zlib-devel systemtap-sdt-devel | ||
perl-lib perl-FindBin | ||
] | ||
packages = %w[binutils] | ||
plat.provision_with("/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}") | ||
|
||
plat.install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing' | ||
plat.vmpooler_template 'fedora-36-x86_64' | ||
end |