Skip to content

Commit

Permalink
Switch qemu source to rancher-sandbox/rancher-desktop-qemu
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Dubois <jan.dubois@suse.com>
  • Loading branch information
jandubois committed Nov 2, 2024
1 parent 540fa7a commit 7706cb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/dependencies/lima.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ export class Lima implements Dependency, GitHubDependency {

export class Qemu implements Dependency, GitHubDependency {
name = 'qemu';
githubOwner = 'mook-as';
githubRepo = 'qemu-packaging';
githubOwner = 'rancher-sandbox';
githubRepo = 'rancher-desktop-qemu';

async download(context: DownloadContext): Promise<void> {
const baseUrl = `https://github.com/${ this.githubOwner }/${ this.githubRepo }/releases/download`;
const arch = context.isM1 ? 'aarch64' : 'x86_64';

const url = `${ baseUrl }/v${ context.versions.qemu }/qemu-${ context.platform }-${ arch }.tar.gz`;
const url = `${ baseUrl }/v${ context.versions.qemu }/qemu-${ context.versions.qemu }-${ context.platform }-${ arch }.tar.gz`;
const expectedChecksum = (await getResource(`${ url }.sha512sum`)).split(/\s+/)[0];
const limaDir = path.join(context.resourcesDir, context.platform, 'lima');
const tarPath = path.join(context.resourcesDir, context.platform, `qemu.v${ context.versions.qemu }.tgz`);
Expand Down

0 comments on commit 7706cb2

Please sign in to comment.