Description
Some scripts are still x64-specific and set incorrect variables for arm64 images.
For example, install-java-tools.sh still sets JAVA_HOME_*_X64 1 for all architectures, which is incorrect for arm64 images. It also creates an x64.complete file for tool caching 2.
Is this expected behavior, or should the scripts be updated to use the correct architecture?
cc @shamil-mubarakshin
Platforms affected
Runner images affected
Image version and build link
Any Ubuntu arm64 images
Is it regression?
Yes
Expected behavior
arm64 images should be built with correct variables (such as JAVA_HOME_*_ARM64) or tool caching files arm64.complete
Actual behavior
For example, install-java-tools.sh still sets JAVA_HOME_*_X64 1 for all architectures, which is incorrect for arm64 images. It also creates an x64.complete file for tool caching 2.
Repro steps
You can search for x64 in ubuntu build scripts
Description
Some scripts are still x64-specific and set incorrect variables for arm64 images.
For example,
install-java-tools.shstill setsJAVA_HOME_*_X641 for all architectures, which is incorrect for arm64 images. It also creates anx64.completefile for tool caching 2.Is this expected behavior, or should the scripts be updated to use the correct architecture?
cc @shamil-mubarakshin
Platforms affected
Runner images affected
Image version and build link
Any Ubuntu arm64 images
Is it regression?
Yes
Expected behavior
arm64 images should be built with correct variables (such as
JAVA_HOME_*_ARM64) or tool caching filesarm64.completeActual behavior
For example,
install-java-tools.shstill setsJAVA_HOME_*_X641 for all architectures, which is incorrect for arm64 images. It also creates anx64.completefile for tool caching 2.Repro steps
You can search for x64 in ubuntu build scripts