mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 23:11:57 +00:00
Merge pull request #3003 from Amulyam24/snap_ppc
qemu: fix snap build on ppc64le
This commit is contained in:
commit
bdde8beb52
@ -310,6 +310,11 @@ generate_qemu_options() {
|
||||
qemu_options+=(size:--disable-qom-cast-debug)
|
||||
qemu_options+=(size:--disable-tcmalloc)
|
||||
|
||||
# Disable libudev for static build
|
||||
if gt_eq "${qemu_version}" "5.2.0" ; then
|
||||
[ "${static}" == "true" ] && qemu_options+=(size:--disable-libudev)
|
||||
fi
|
||||
|
||||
# Disallow network downloads
|
||||
qemu_options+=(security:--disable-curl)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user