Description of changes:
It seems that PRETTY_NAME in /etc/os-release for Amazon Linux 2023 has changed to having minor version information in it now. This causes the build to think you're not on AL2023 when you really are. This is because the old string expected to end in a double quote directly after 2023 but now the full string is PRETTY_NAME="Amazon Linux 2023.3.20240304"
It seems like using NAME and VERSION will be more reliable than PRETTY_NAME.
Below is the output from a newly created AL2 ARM EC2 instance:
Description of changes: It seems that
PRETTY_NAME
in/etc/os-release
for Amazon Linux 2023 has changed to having minor version information in it now. This causes the build to think you're not on AL2023 when you really are. This is because the old string expected to end in a double quote directly after2023
but now the full string isPRETTY_NAME="Amazon Linux 2023.3.20240304"
It seems like using
NAME
andVERSION
will be more reliable thanPRETTY_NAME
.Below is the output from a newly created AL2 ARM EC2 instance:
Below is the output from a newly created AL2023 ARM EC2 instance:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.