From fc8a176a1a5c305461dc3079d31a072fae728042 Mon Sep 17 00:00:00 2001 From: James Page Date: Mon, 5 Nov 2018 14:35:33 +0000 Subject: [PATCH] Make qemu part a bit smaller --- snapcraft.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/snapcraft.yaml b/snapcraft.yaml index c3d74c1..37f588c 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -576,6 +576,22 @@ parts: # runtime # * is not used to avoid directory merge conflicts snap/microstack/current/: ./ + filesets: + qemu: + - usr/lib/* + - lib/* + - usr/share/* + - on amd64: + - bin/qemu-system-x86 + - on i386: + - bin/qemu-system-x86 + - on armhf: + - bin/qemu-system-arm + - on arm64: + - bin/qemu-system-arm + stage: [$qemu] + prime: [$qemu] + kvm-support: plugin: nil