mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-21 21:18:54 +00:00
scripts: Disable a few options to reduce qemu binary size on generic architectures
This disables a few configure options on generic arches to reduce qemu binary size. Fixes #926 Signed-off-by: Jia He <justin.he@arm.com>
This commit is contained in:
parent
711eae642c
commit
3670074392
@ -313,6 +313,21 @@ generate_qemu_options() {
|
||||
# Don't build the qemu-io, qemu-nbd and qemu-image tools
|
||||
qemu_options+=(size:--disable-tools)
|
||||
|
||||
# Don't build linux-user bsd-user
|
||||
qemu_options+=(size:--disable-bsd-user)
|
||||
qemu_options+=(size:--disable-linux-user)
|
||||
|
||||
# Don't build sparse check tool
|
||||
qemu_options+=(size:--disable-sparse)
|
||||
|
||||
# Don't build VDE networking backend
|
||||
qemu_options+=(size:--disable-vde)
|
||||
|
||||
# Don't build other options which can't be depent on build server.
|
||||
qemu_options+=(size:--disable-xfsctl)
|
||||
qemu_options+=(size:--disable-libxml2)
|
||||
qemu_options+=(size:--disable-nettle)
|
||||
|
||||
# Disable XEN driver
|
||||
qemu_options+=(size:--disable-xen)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user