mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
ci: fix arm arch config for sysroot
This commit is contained in:
@@ -37,7 +37,8 @@ async function getSysroot(arch) {
|
||||
throw new Error('Cannot retrieve sysroots.json. Stderr:\n' + result.stderr);
|
||||
}
|
||||
const sysrootInfo = require(sysrootDictLocation);
|
||||
const sysrootDict = sysrootInfo[`bullseye_${arch}`];
|
||||
const sysrootArch = arch === 'armhf' ? 'bullseye_arm' : `bullseye_${arch}`;
|
||||
const sysrootDict = sysrootInfo[sysrootArch];
|
||||
const tarballFilename = sysrootDict['Tarball'];
|
||||
const tarballSha = sysrootDict['Sha1Sum'];
|
||||
const sysroot = path.join((0, os_1.tmpdir)(), sysrootDict['SysrootDir']);
|
||||
|
||||
Reference in New Issue
Block a user