Skip to content

Conversation

@hgreebe
Copy link
Contributor

@hgreebe hgreebe commented Feb 5, 2025

Description of changes

  • Download http-parser from s3
  • Modify patching script for ADC to patch al2023

Tests

  • Build image for al2023 in ADC

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@hgreebe hgreebe force-pushed the release-3.12 branch 3 times, most recently from 2181442 to 8e631c5 Compare February 5, 2025 13:44
@hgreebe hgreebe marked this pull request as ready for review February 5, 2025 13:59
@hgreebe hgreebe requested review from a team as code owners February 5, 2025 13:59
REPO_DEFINITION

yum --disablerepo="*" --enablerepo="amzn2-iso" install -y "*-${REGION}"
yum --disablerepo="*" --enablerepo="${OS}-iso" install -y "*-${REGION}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this command only necessary on amzn2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because for amzn2023 we do dnf install -y amazon-linux-repo-iso ca-certificates-isob which is what is in the documentation. But I kept what we do for amzn2 the same, so that is why they install the region-specific packages differently

Comment on lines -52 to +79
for user in "${USERS[@]}"; do
echo "[INFO] Setting CA bundle ${CA_BUNDLE} for user ${user}"
sudo mkhomedir_helper $user
sudo -u $user aws configure set ca_bundle "$CA_BUNDLE"
done
sudo aws configure set ca_bundle "$CA_BUNDLE"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because setting the system wide environment variables make them apply for each user, so it is unneccessary to loop through each user

@hgreebe hgreebe merged commit 00f5fec into aws:release-3.12 Feb 5, 2025
31 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants