Skip to content

Commit 0b0d968

Browse files
committed
DONOTMERGE This is a temporary patch to unblock a user stuck with build-image failure due to openssl conflicts.
1 parent 625b2ab commit 0b0d968

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

cookbooks/aws-parallelcluster-platform/resources/install_packages/install_packages_amazon2.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,12 @@ def default_packages
6868
end
6969
end
7070
end
71+
72+
action :remove_packages do
73+
package 'openssl11-devel' do
74+
action 'remove'
75+
retries 10
76+
retry_delay 5
77+
flush_cache({ before: true })
78+
end
79+
end

cookbooks/aws-parallelcluster-platform/resources/install_packages/partial/_install_packages_common.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,12 @@
3838
# nothing
3939
end
4040

41+
action :remove_packages do
42+
# nothing
43+
end
44+
4145
action :setup do
46+
action_remove_packages
4247
action_install_extras
4348
action_install_kernel_source
4449
action_install_base_packages

0 commit comments

Comments
 (0)