updated code to provide aarch64 for arm64 architecture for semeru

This commit is contained in:
mahabaleshwars 2024-08-27 17:32:48 +05:30
parent 6c3405c2ba
commit e206e742c5
2 changed files with 7 additions and 4 deletions

5
dist/setup/index.js vendored
View file

@ -124940,7 +124940,8 @@ class SemeruDistribution extends base_installer_1.JavaBase {
}
findPackageForDownload(version) {
return __awaiter(this, void 0, void 0, function* () {
if (!supportedArchitectures.includes(this.architecture)) {
const arch = this.distributionArchitecture();
if (!supportedArchitectures.includes(arch)) {
throw new Error(`Unsupported architecture: ${this.architecture} is not supported for IBM Semeru ${this.version} on your current OS version. Please refer to IBM Semeru documentation or support resources to verify compatibility with your OS.`);
}
if (!this.stable) {
@ -125000,7 +125001,7 @@ class SemeruDistribution extends base_installer_1.JavaBase {
getAvailableVersions() {
return __awaiter(this, void 0, void 0, function* () {
const platform = this.getPlatformOption();
const arch = this.architecture;
const arch = this.distributionArchitecture();
const imageType = this.packageType;
const versionRange = encodeURI('[1.0,100.0]'); // retrieve all available versions
const releaseType = this.stable ? 'ga' : 'ea';