Skip to content

Commit

Permalink
Merge pull request #692 from joshcooper/aix72_mktemp
Browse files Browse the repository at this point in the history
(PA-5637) Ensure mktemp is available without modifying PATH
  • Loading branch information
cthorn42 committed Jul 5, 2023
2 parents 9b48f75 + f6f29e9 commit 27c97b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configs/platforms/aix-7.2-ppc.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
platform "aix-7.2-ppc" do |plat|
# os_version = 7.2
plat.make "gmake"
plat.mktemp "/opt/freeware/bin/mktemp -d -p /var/tmp"
plat.patch "/opt/freeware/bin/patch"
plat.rpmbuild "/usr/bin/rpm"
plat.servicetype "aix"
Expand Down Expand Up @@ -40,6 +39,9 @@
# No upstream rsync packages
plat.provision_with "rpm -Uvh https://artifactory.delivery.puppetlabs.net/artifactory/rpm__remote_aix_linux_toolbox/RPMS/ppc/rsync/rsync-3.0.6-1.aix5.3.ppc.rpm"

# lots of things expect mktemp to be installed in the usual place, so link it
plat.provision_with "ln -sf /opt/freeware/bin/mktemp /usr/bin/mktemp"

plat.install_build_dependencies_with "yum install --assumeyes "
plat.vmpooler_template "aix-7.2-power"
end

0 comments on commit 27c97b3

Please sign in to comment.