From e7ff7e1c44df828bc208aa18bac6bf25800e2a57 Mon Sep 17 00:00:00 2001 From: Julio Montes Date: Fri, 25 Jan 2019 07:38:23 -0600 Subject: [PATCH] snap: fix qemu command name set qemu-system instead of qemu-lite as default qemu command Signed-off-by: Julio Montes --- snap/snapcraft.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a391cf6343..345e829c72 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -49,11 +49,13 @@ parts: # build and install make \ PREFIX=/snap/${SNAPCRAFT_PROJECT_NAME}/current/usr \ - SKIP_GO_VERSION_CHECK=1 + SKIP_GO_VERSION_CHECK=1 \ + QEMUCMD=qemu-system-$(arch) make install \ PREFIX=/usr \ DESTDIR=${SNAPCRAFT_PART_INSTALL} \ - SKIP_GO_VERSION_CHECK=1 + SKIP_GO_VERSION_CHECK=1 \ + QEMUCMD=qemu-system-$(arch) # A snap is read-only squashfs, unfourtunately it's not possible to use the rootfs image with DAX # since rw access is required therefore initrd image must be used instead.