mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
ci: fix arm arch config for sysroot
This commit is contained in:
@@ -45,7 +45,8 @@ export async function getSysroot(arch: ArchString): Promise<string> {
|
||||
throw new Error('Cannot retrieve sysroots.json. Stderr:\n' + result.stderr);
|
||||
}
|
||||
const sysrootInfo = require(sysrootDictLocation);
|
||||
const sysrootDict: SysrootDictEntry = sysrootInfo[`bullseye_${arch}`];
|
||||
const sysrootArch = arch === 'armhf' ? 'bullseye_arm' : `bullseye_${arch}`;
|
||||
const sysrootDict: SysrootDictEntry = sysrootInfo[sysrootArch];
|
||||
const tarballFilename = sysrootDict['Tarball'];
|
||||
const tarballSha = sysrootDict['Sha1Sum'];
|
||||
const sysroot = path.join(tmpdir(), sysrootDict['SysrootDir']);
|
||||
|
||||
Reference in New Issue
Block a user