mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-20 17:33:18 +00:00
Merge pull request #2173 from balena-io/klutchell/qemu-v5.2.0
build/deploy: Update QEMU to speed up emulated builds
This commit is contained in:
commit
a05dcf08b8
@ -19,7 +19,7 @@ import type * as Dockerode from 'dockerode';
|
||||
import { getBalenaSdk, stripIndent } from './lazy';
|
||||
import Logger = require('./logger');
|
||||
|
||||
export const QEMU_VERSION = 'v4.0.0+balena2';
|
||||
export const QEMU_VERSION = 'v5.2.0+balena1';
|
||||
export const QEMU_BIN_NAME = 'qemu-execve';
|
||||
|
||||
export function qemuPathInContext(context: string) {
|
||||
@ -96,7 +96,7 @@ export function installQemu(arch: string) {
|
||||
const installStream = fs.createWriteStream(qemuPath);
|
||||
|
||||
const qemuArch = balenaArchToQemuArch(arch);
|
||||
const fileVersion = QEMU_VERSION.replace(/^v/, '').replace('+', '.');
|
||||
const fileVersion = QEMU_VERSION.replace('+', '.');
|
||||
const urlFile = encodeURIComponent(
|
||||
`qemu-${fileVersion}-${qemuArch}.tar.gz`,
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user