Skip to content

Commit 649d647

Browse files
committed
Patch yarnInstall for openvscode-release
Tool: gitpod/catfood.gitpod.cloud
1 parent c669331 commit 649d647

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

build/checksums/vscode-sysroot.txt

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
3baac81a39b69e0929e4700f4f78f022adefc515010054ec393565657c4fff32 aarch64-linux-gnu-glibc-2.28-gcc-10.5.0.tar.gz
2-
b4fb7a62ee7a474cfb11d5fb2b73accd6a8c875a559db81d6dfccd0b4a3da442 aarch64-linux-gnu-glibc-2.28-gcc-8.5.0.tar.gz
3-
633e88658561ab4643bc5998c88e565a26553b0e97fd07672cb452afb4d9b276 aarch64-linux-musl-gcc-10.3.0.tar.gz
4-
6e251200607ac4c4709ebd08b2dc0d9a353ddcfdb47f43a10c2b4cc4b49920c0 arm-rpi-linux-gnueabihf-glibc-2.28-gcc-10.5.0.tar.gz
5-
f82c8dacbb9dd85819e4801909eb4e842ac12c899632aa75b4839383a18c7501 arm-rpi-linux-gnueabihf-glibc-2.28-gcc-8.5.0.tar.gz
6-
3122af49c493c5c767c2b0772a41119cbdc9803125a705683445b4066dc88b82 x86_64-linux-gnu-glibc-2.28-gcc-10.5.0.tar.gz
7-
84acc5a15566c98ddf80631731d672e0ce9febcf3f2e969101e0dfd7ef2405e3 x86_64-linux-gnu-glibc-2.28-gcc-8.5.0.tar.gz
1+
4aa30f61adde7839ca5616e23cb44625a16b4dd77e5ce38df214d8dfbf4d3596 aarch64-linux-gnu-glibc-2.17.tar.gz
2+
4a00f87f0d109f66698244cf2bca4c237ff5bb84be4953bd2e624df7d46a4ccb aarch64-linux-gnu-glibc-2.28.tar.gz
3+
76226b2a2be87c1d6cbd60371df30b2794d7c9595794786e1be34318be201948 arm-rpi-linux-gnueabihf-glibc-2.17.tar.gz
4+
3625f8b5e36a42615f904fa3c222dcf35e37d4a46c2ea52f81cad36af5d1c07a arm-rpi-linux-gnueabihf-glibc-2.28.tar.gz
5+
2ab8ad5a09270df7562ff79662f07c23d857ca19fa34dbe63999feabf4375bbb x86_64-linux-gnu-glibc-2.17.tar.gz
6+
e655175b6143145f5d5f7d84a894f405e0df597b811a507dced6ead03f773bcb x86_64-linux-gnu-glibc-2.28.tar.gz

build/linux/debian/install-sysroot.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/linux/debian/install-sysroot.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ async function fetchUrl(options: IFetchOptions, retries = 10, retryDelay = 1000)
8181
const timeout = setTimeout(() => controller.abort(), 30 * 1000);
8282
const version = '20250407-330404';
8383
try {
84-
const response = await fetch(`https://api.github.com/repos/Microsoft/vscode-linux-build-agent/releases/tags/v${version}`, {
84+
const response = await fetch(`https://api.github.com/repos/gitpod-io/vscode-linux-build-agent/releases/tags/v${version}`, {
8585
headers: ghApiHeaders,
8686
signal: controller.signal as any /* Typings issue with lib.dom.d.ts */
8787
});
@@ -90,7 +90,7 @@ async function fetchUrl(options: IFetchOptions, retries = 10, retryDelay = 1000)
9090
const contents = Buffer.from(await response.arrayBuffer());
9191
const asset = JSON.parse(contents.toString()).assets.find((a: { name: string }) => a.name === options.assetName);
9292
if (!asset) {
93-
throw new Error(`Could not find asset in release of Microsoft/vscode-linux-build-agent @ ${version}`);
93+
throw new Error(`Could not find asset in release of gitpod-io/vscode-linux-build-agent @ ${version}`);
9494
}
9595
console.log(`Found asset ${options.assetName} @ ${asset.url}.`);
9696
const assetResponse = await fetch(asset.url, {

build/npm/postinstall.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function npmInstall(dir, opts) {
5656
if (process.env['npm_config_arch'] === 'arm64') {
5757
run('sudo', ['docker', 'run', '--rm', '--privileged', 'multiarch/qemu-user-static', '--reset', '-p', 'yes'], opts);
5858
}
59-
run('sudo', ['docker', 'run', '-e', 'GITHUB_TOKEN', '-v', `${process.env['VSCODE_HOST_MOUNT']}:/root/vscode`, '-v', `${process.env['VSCODE_HOST_MOUNT']}/.build/.netrc:/root/.netrc`, '-w', path.resolve('/root/vscode', dir), process.env['VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'], 'sh', '-c', `\"chown -R root:root ${path.resolve('/root/vscode', dir)} && npm i -g node-gyp-build && npm ci\"`], opts);
59+
run('sudo', ['docker', 'run', '-e', 'GITHUB_TOKEN', '-v', `${process.env['VSCODE_HOST_MOUNT']}:/root/vscode`, /* '-v', `${process.env['VSCODE_HOST_MOUNT']}/.build/.netrc:/root/.netrc`, */'-w', path.resolve('/root/vscode', dir), process.env['VSCODE_REMOTE_DEPENDENCIES_CONTAINER_NAME'], 'sh', '-c', `\"chown -R root:root ${path.resolve('/root/vscode', dir)} && npm i -g node-gyp-build && npm ci\"`], opts);
6060
run('sudo', ['chown', '-R', `${userinfo.uid}:${userinfo.gid}`, `${path.resolve(root, dir)}`], opts);
6161
} else {
6262
log(dir, 'Installing dependencies...');

0 commit comments

Comments
 (0)