Skip to content

Commit

Permalink
Merge pull request #2491 from joshcooper/drop_rawhide
Browse files Browse the repository at this point in the history
Use F36 repos instead of rawhide
  • Loading branch information
mhashizume authored Feb 16, 2024
2 parents d455cc7 + 35e8342 commit 7a15196
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions configs/platforms/fedora-36-x86_64.rb
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

0 comments on commit 7a15196

Please sign in to comment.