[PATCH 0/7] qemu: Use 'flat' version of query-named-block-nodes
by Peter Krempa
Don't request the recursive output since we don't use it.
Peter Krempa (7):
tests: qemucapabilities: Update capabilities of qemu-5.0.0 on x86_64
qemu: monitor: Remove leftovers from password callback
qemu: capabilities: Add capability for the 'flat' argument of
'query-named-block-nodes'
qemu: monitor: Refactor variable cleanup in
qemuMonitorJSONQueryNamedBlockNodes
qemuCheckpointDiscardBitmaps: Use qemuBlockGetNamedNodeData
qemu: monitor: Add 'flat' parameter for
qemuMonitorJSONQueryNamedBlockNodes
qemu: Don't request nested entries in qemuBlockGetNamedNodeData
src/qemu/qemu_block.c | 4 +-
src/qemu/qemu_capabilities.c | 4 +
src/qemu/qemu_capabilities.h | 3 +
src/qemu/qemu_checkpoint.c | 4 +-
src/qemu/qemu_monitor.c | 9 +-
src/qemu/qemu_monitor.h | 12 +-
src/qemu/qemu_monitor_json.c | 31 +-
src/qemu/qemu_monitor_json.h | 6 +-
.../caps_5.0.0.x86_64.replies | 6185 +++++++++--------
.../caps_5.0.0.x86_64.xml | 3 +-
10 files changed, 3388 insertions(+), 2873 deletions(-)
--
2.24.1
4 years, 10 months
[libvirt PATCHv4 00/15] add virtiofs support (virtio-fs epopee)
by Ján Tomko
For:
https://bugzilla.redhat.com/show_bug.cgi?id=1694166
v3:
https://www.redhat.com/archives/libvir-list/2020-January/msg01401.html
v4:
* place virtiofsd into the emulator cgroup
* do not leak the log file descriptor
* better validation of the path existence and shared memory support
* run as root:root explicitly
* correctly use listification in RST document
bonus:
15/15 wip for SELinux integration
Avaliable on my repo (except for the bonus round)
git fetch https://repo.or.cz/libvirt/jtomko.git virtiofs-v4
TODO:
* a bug against selinux-policy
* address the inconsistency of some downstreams wrt placing the json
files into /usr/share/qemu vs. /usr/share/qemu-kvm:
https://bugzilla.redhat.com/show_bug.cgi?id=1804196
Daniel P. Berrangé (1):
docs: reduce excessive spacing in ToC for RST files
Ján Tomko (14):
schema: wrap fsDriver in a choice group
qemuExtDevicesStart: pass logManager
qemu: add QEMU_CAPS_VHOST_USER_FS
docs: add virtiofs kbase
conf: qemu: add virtiofs fsdriver type
conf: add virtiofs-related elements and attributes
qemu: add virtiofsd_debug to qemu.conf
qemu: validate virtiofs filesystems
qemu: forbid migration with vhost-user-fs device
qemu: add code for handling virtiofsd
qemu: put virtiofsd in the emulator cgroup
qemu: use the vhost-user schemas to find binary
qemu: build vhost-user-fs device command line
wip: SELinux integration for virtiofsd
docs/formatdomain.html.in | 35 +-
docs/kbase.html.in | 3 +
docs/kbase/virtiofs.rst | 152 ++++++++
docs/libvirt.css | 4 +
docs/schemas/domaincommon.rng | 88 ++++-
po/POTFILES.in | 1 +
src/conf/domain_conf.c | 108 +++++-
src/conf/domain_conf.h | 16 +
src/libvirt_private.syms | 2 +
src/qemu/Makefile.inc.am | 2 +
src/qemu/libvirtd_qemu.aug | 1 +
src/qemu/qemu.conf | 7 +
src/qemu/qemu_capabilities.c | 4 +
src/qemu/qemu_capabilities.h | 3 +
src/qemu/qemu_command.c | 47 ++-
src/qemu/qemu_conf.c | 2 +
src/qemu/qemu_conf.h | 1 +
src/qemu/qemu_domain.c | 66 +++-
src/qemu/qemu_domain.h | 2 +-
src/qemu/qemu_domain_address.c | 4 +
src/qemu/qemu_extdevice.c | 43 +++
src/qemu/qemu_extdevice.h | 1 +
src/qemu/qemu_migration.c | 10 +
src/qemu/qemu_process.c | 4 +-
src/qemu/qemu_security.c | 40 ++
src/qemu/qemu_security.h | 7 +
src/qemu/qemu_vhost_user.c | 40 ++
src/qemu/qemu_vhost_user.h | 4 +
src/qemu/qemu_virtiofs.c | 341 ++++++++++++++++++
src/qemu/qemu_virtiofs.h | 48 +++
src/qemu/test_libvirtd_qemu.aug.in | 1 +
src/security/security_dac.c | 20 +
src/security/security_driver.h | 2 +
src/security/security_manager.c | 12 +
src/security/security_manager.h | 4 +
src/security/security_nop.c | 1 +
src/security/security_selinux.c | 69 ++++
src/security/security_stack.c | 19 +
.../caps_4.2.0.aarch64.xml | 1 +
.../qemucapabilitiesdata/caps_4.2.0.s390x.xml | 1 +
.../caps_4.2.0.x86_64.xml | 1 +
.../caps_5.0.0.aarch64.xml | 1 +
.../caps_5.0.0.x86_64.xml | 1 +
...vhost-user-fs-fd-memory.x86_64-latest.args | 39 ++
.../vhost-user-fs-fd-memory.xml | 43 +++
...vhost-user-fs-hugepages.x86_64-latest.args | 47 +++
.../vhost-user-fs-hugepages.xml | 75 ++++
tests/qemuxml2argvtest.c | 14 +
.../vhost-user-fs-fd-memory.x86_64-latest.xml | 1 +
.../vhost-user-fs-hugepages.x86_64-latest.xml | 1 +
tests/qemuxml2xmltest.c | 3 +
51 files changed, 1420 insertions(+), 22 deletions(-)
create mode 100644 docs/kbase/virtiofs.rst
create mode 100644 src/qemu/qemu_virtiofs.c
create mode 100644 src/qemu/qemu_virtiofs.h
create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-fd-memory.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-fd-memory.xml
create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-hugepages.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/vhost-user-fs-hugepages.xml
create mode 120000 tests/qemuxml2xmloutdata/vhost-user-fs-fd-memory.x86_64-latest.xml
create mode 120000 tests/qemuxml2xmloutdata/vhost-user-fs-hugepages.x86_64-latest.xml
--
2.24.1
4 years, 10 months
[PATCH] network: bridge_driver: Use new helpers for storing libvirt errors
by Gaurav Agrawal
From: GAURAV AGRAWAL <agrawalgaurav(a)gnome.org>
Signed-off-by: Gaurav Agrawal <agrawalgaurav(a)gnome.org>
---
src/network/bridge_driver_linux.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/network/bridge_driver_linux.c b/src/network/bridge_driver_linux.c
index 7bbde5c6a9..fde33b5d38 100644
--- a/src/network/bridge_driver_linux.c
+++ b/src/network/bridge_driver_linux.c
@@ -22,6 +22,7 @@
#include <config.h>
#include "viralloc.h"
+#include "virerror.h"
#include "virfile.h"
#include "viriptables.h"
#include "virstring.h"
@@ -53,7 +54,7 @@ static void networkSetupPrivateChains(void)
if (rc < 0) {
VIR_DEBUG("Failed to create global IPv4 chains: %s",
virGetLastErrorMessage());
- errInitV4 = virSaveLastError();
+ virErrorPreserveLast(&errInitV4);
virResetLastError();
} else {
virFreeError(errInitV4);
@@ -70,7 +71,7 @@ static void networkSetupPrivateChains(void)
if (rc < 0) {
VIR_DEBUG("Failed to create global IPv6 chains: %s",
virGetLastErrorMessage());
- errInitV6 = virSaveLastError();
+ virErrorPreserveLast(&errInitV6);
virResetLastError();
} else {
virFreeError(errInitV6);
--
2.24.1
4 years, 10 months
[libvirt PATCH 0/8] Include networkportdef.h in domain_conf.h
by Ján Tomko
The netdev_bandwidth_conf module contains
XML parsing and formatting functions operating
on types from util/virnetdevbandwidth.h
as well as helper functions using types
from domain_conf.h and network_conf.h
It does not, however, introduce any new types,
so there's no need to include its header in
other header files.
Move its inclusion in networkportdef.h to the
corresponding networkportdef.c file, where it's
used, which clears the path for networkportdef.h
inclusion in domain_conf.h.
Patch 1 is unrelated;
Patch 5 was intended to help remove the dependency
of the header file on network_conf.h (by passing int
instead of enum) and patch 6 would lessen the
dependency from domain_conf.h to virconftypes.h,
but later I realized this might not be necessary.
(Thanks, Pavel!)
Ján Tomko (8):
conf: virnwfilterbindingdef: include virxml.h
bridge: include netdev_bandwidth_conf.h
conf: virnetworkportdef: include virnetdevmacvlan
conf: rename virNetDevSupportBandwidth to virNetDevSupportsBandwidth
conf: virNetDevSupportsBandwidth: move into the C file
conf: do not pass vm object to virDomainClearNetBandwidth
conf: reduce includes in virnetworkportdef.h
conf: include virnetworkportdef.h in domain_conf.h
src/conf/domain_conf.h | 6 +-----
src/conf/netdev_bandwidth_conf.c | 35 ++++++++++++++++++++++++++------
src/conf/netdev_bandwidth_conf.h | 26 ++----------------------
src/conf/virnetworkportdef.c | 5 +++++
src/conf/virnetworkportdef.h | 3 ---
src/conf/virnwfilterbindingdef.h | 1 +
src/libvirt_private.syms | 1 +
src/lxc/lxc_driver.c | 4 ++--
src/lxc/lxc_process.c | 2 +-
src/network/bridge_driver.c | 2 ++
src/qemu/qemu_command.c | 2 +-
src/qemu/qemu_driver.c | 4 ++--
src/qemu/qemu_hotplug.c | 4 ++--
src/qemu/qemu_process.c | 2 +-
14 files changed, 50 insertions(+), 47 deletions(-)
--
2.24.1
4 years, 10 months
[libvirt PATCH] qemu: Do not set default CPU for archs without CPU driver
by Jiri Denemark
Whenever there is a guest CPU configured in domain XML, we will call
some CPU driver APIs to validate the CPU definition and check its
compatibility with the hypervisor. Thus domains with guest CPU
specification can only be started if the guest architecture is supported
by the CPU driver. But we would add a default CPU to any domain as long
as QEMU reports it causing failures to start any domain on affected
architectures.
https://bugzilla.redhat.com/show_bug.cgi?id=1805755
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/cpu/cpu.c | 24 ++++++++++++++++++++++++
src/cpu/cpu.h | 3 +++
src/libvirt_private.syms | 1 +
src/qemu/qemu_domain.c | 3 +++
4 files changed, 31 insertions(+)
diff --git a/src/cpu/cpu.c b/src/cpu/cpu.c
index ae3a0acc10..6d6191fe4e 100644
--- a/src/cpu/cpu.c
+++ b/src/cpu/cpu.c
@@ -1096,3 +1096,27 @@ virCPUDataAddFeature(virCPUDataPtr cpuData,
return driver->dataAddFeature(cpuData, name);
}
+
+
+/**
+ * virCPUArchIsSupported:
+ *
+ * @arch: CPU architecture
+ *
+ * Returns true if the architecture is supported by any CPU driver.
+ */
+bool
+virCPUArchIsSupported(virArch arch)
+{
+ size_t i;
+ size_t j;
+
+ for (i = 0; i < G_N_ELEMENTS(drivers); i++) {
+ for (j = 0; j < drivers[i]->narch; j++) {
+ if (arch == drivers[i]->arch[j])
+ return true;
+ }
+ }
+
+ return false;
+}
diff --git a/src/cpu/cpu.h b/src/cpu/cpu.h
index 2e8b8923ae..f779d2be17 100644
--- a/src/cpu/cpu.h
+++ b/src/cpu/cpu.h
@@ -265,6 +265,9 @@ int
virCPUDataAddFeature(virCPUDataPtr cpuData,
const char *name);
+bool
+virCPUArchIsSupported(virArch arch);
+
/* virCPUDataFormat and virCPUDataParse are implemented for unit tests only and
* have no real-life usage
*/
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 9d172d3bd0..e27b6f29bc 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -1309,6 +1309,7 @@ virStoragePoolObjVolumeListExport;
# cpu/cpu.h
cpuDecode;
cpuEncode;
+virCPUArchIsSupported;
virCPUBaseline;
virCPUCheckFeature;
virCPUCompare;
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 446a517df9..7d274a4fa5 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -4576,6 +4576,9 @@ qemuDomainDefSetDefaultCPU(virDomainDefPtr def,
def->cpu->model))
return 0;
+ if (!virCPUArchIsSupported(def->os.arch))
+ return 0;
+
/* Default CPU model info from QEMU is usable for TCG only except for
* x86, s390, and ppc64. */
if (!ARCH_IS_X86(def->os.arch) &&
--
2.25.1
4 years, 10 months
[PATCH] virt-aa-helper: Fix build by including virutil.h
by Jim Fehlig
Commit fb01e1a44d missed including virutil.h, causing the following
compilation error
../../src/security/virt-aa-helper.c:1055:43: error: implicit declaration of
function 'virHostGetDRMRenderNode' [-Werror=implicit-function-declaration]
1055 | char *defaultRenderNode = virHostGetDRMRenderNode();
Signed-off-by: Jim Fehlig <jfehlig(a)suse.com>
---
Pushing under the build-breaker rule.
src/security/virt-aa-helper.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
index 6f36652c7c..b6f58efdea 100644
--- a/src/security/virt-aa-helper.c
+++ b/src/security/virt-aa-helper.c
@@ -41,6 +41,7 @@
#include "virxml.h"
#include "viruuid.h"
#include "virusb.h"
+#include "virutil.h"
#include "virpci.h"
#include "virfile.h"
#include "configmake.h"
--
2.25.0
4 years, 10 months
[libvirt PATCH] tests: fix missing test data for network port XML
by Daniel P. Berrangé
The network port XML files were not including any usage of vlan
tags or port options, and one of the files was not even processed.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
tests/virnetworkportxml2xmldata/plug-network.xml | 5 +++++
tests/virnetworkportxml2xmltest.c | 1 +
2 files changed, 6 insertions(+)
diff --git a/tests/virnetworkportxml2xmldata/plug-network.xml b/tests/virnetworkportxml2xmldata/plug-network.xml
index a3a8899148..8e7fc6d010 100644
--- a/tests/virnetworkportxml2xmldata/plug-network.xml
+++ b/tests/virnetworkportxml2xmldata/plug-network.xml
@@ -10,6 +10,11 @@
<inbound average='1000' peak='4000' floor='2000' burst='1024'/>
<outbound average='128' peak='256' burst='32768'/>
</bandwidth>
+ <vlan trunk='yes'>
+ <tag id='2'/>
+ <tag id='1729'/>
+ </vlan>
+ <port isolated='yes'/>
<rxfilters trustGuest='yes'/>
<plug type='network' bridge='virbr0'/>
</networkport>
diff --git a/tests/virnetworkportxml2xmltest.c b/tests/virnetworkportxml2xmltest.c
index 1b2175dd9d..039da96490 100644
--- a/tests/virnetworkportxml2xmltest.c
+++ b/tests/virnetworkportxml2xmltest.c
@@ -94,6 +94,7 @@ mymain(void)
DO_TEST("plug-bridge-mactbl");
DO_TEST("plug-direct");
DO_TEST("plug-hostdev-pci");
+ DO_TEST("plug-network");
return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;
}
--
2.24.1
4 years, 10 months
[libvirt-dockerfiles PATCH] Refresh after changes to cross-building environments
by Andrea Bolognani
The new configurations are simpler and more reliable.
The corresponding libvirt-jenkins-ci commit is 483dfc62c86f.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
As usual, this is merely the plain-text representation of a
binary patch.
Pushed under the Dockerfile update rule.
...denv-libosinfo-fedora-30-cross-mingw32.zip | Bin 687 -> 629 bytes
...denv-libosinfo-fedora-30-cross-mingw64.zip | Bin 689 -> 631 bytes
buildenv-libvirt-debian-10-cross-aarch64.zip | Bin 1021 -> 982 bytes
buildenv-libvirt-debian-10-cross-armv6l.zip | Bin 1014 -> 974 bytes
buildenv-libvirt-debian-10-cross-armv7l.zip | Bin 1019 -> 983 bytes
buildenv-libvirt-debian-10-cross-i686.zip | Bin 1016 -> 981 bytes
buildenv-libvirt-debian-10-cross-mips.zip | Bin 1011 -> 974 bytes
buildenv-libvirt-debian-10-cross-mips64el.zip | Bin 1022 -> 985 bytes
buildenv-libvirt-debian-10-cross-mipsel.zip | Bin 1016 -> 982 bytes
buildenv-libvirt-debian-10-cross-ppc64le.zip | Bin 1024 -> 985 bytes
buildenv-libvirt-debian-10-cross-s390x.zip | Bin 1011 -> 977 bytes
buildenv-libvirt-debian-9-cross-aarch64.zip | Bin 1053 -> 1018 bytes
buildenv-libvirt-debian-9-cross-armv6l.zip | Bin 1045 -> 1009 bytes
buildenv-libvirt-debian-9-cross-armv7l.zip | Bin 1050 -> 1014 bytes
buildenv-libvirt-debian-9-cross-mips.zip | Bin 1044 -> 1010 bytes
buildenv-libvirt-debian-9-cross-mips64el.zip | Bin 1056 -> 1021 bytes
buildenv-libvirt-debian-9-cross-mipsel.zip | Bin 1048 -> 1014 bytes
buildenv-libvirt-debian-9-cross-ppc64le.zip | Bin 1057 -> 1017 bytes
buildenv-libvirt-debian-9-cross-s390x.zip | Bin 1045 -> 1013 bytes
buildenv-libvirt-debian-sid-cross-aarch64.zip | Bin 1020 -> 986 bytes
buildenv-libvirt-debian-sid-cross-armv6l.zip | Bin 1013 -> 978 bytes
buildenv-libvirt-debian-sid-cross-armv7l.zip | Bin 1019 -> 982 bytes
buildenv-libvirt-debian-sid-cross-i686.zip | Bin 1016 -> 981 bytes
...denv-libvirt-debian-sid-cross-mips64el.zip | Bin 1022 -> 985 bytes
buildenv-libvirt-debian-sid-cross-mipsel.zip | Bin 1013 -> 974 bytes
buildenv-libvirt-debian-sid-cross-ppc64le.zip | Bin 1023 -> 986 bytes
buildenv-libvirt-debian-sid-cross-s390x.zip | Bin 1011 -> 977 bytes
buildenv-libvirt-fedora-30-cross-mingw32.zip | Bin 958 -> 897 bytes
buildenv-libvirt-fedora-30-cross-mingw64.zip | Bin 960 -> 899 bytes
29 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/buildenv-libosinfo-fedora-30-cross-mingw32.zip b/buildenv-libosinfo-fedora-30-cross-mingw32.zip
index f70be8d..ff8776c 100644
--- a/buildenv-libosinfo-fedora-30-cross-mingw32.zip
+++ b/buildenv-libosinfo-fedora-30-cross-mingw32.zip
@@ -65,6 +65,4 @@ RUN dnf install -y \
ENV LANG "en_US.UTF-8"
ENV ABI "i686-w64-mingw32"
-ENV CONFIGURE_OPTS "--host=i686-w64-mingw32 \
- --target=i686-w64-mingw32"
-ENV PKG_CONFIG_LIBDIR "/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig:/usr/i686-w64-mingw32/sys-root/mingw/share/pkgconfig"
+ENV CONFIGURE_OPTS "--host=i686-w64-mingw32"
diff --git a/buildenv-libosinfo-fedora-30-cross-mingw64.zip b/buildenv-libosinfo-fedora-30-cross-mingw64.zip
index 7f75981..24f38bc 100644
--- a/buildenv-libosinfo-fedora-30-cross-mingw64.zip
+++ b/buildenv-libosinfo-fedora-30-cross-mingw64.zip
@@ -65,6 +65,4 @@ RUN dnf install -y \
ENV LANG "en_US.UTF-8"
ENV ABI "x86_64-w64-mingw32"
-ENV CONFIGURE_OPTS "--host=x86_64-w64-mingw32 \
- --target=x86_64-w64-mingw32"
-ENV PKG_CONFIG_LIBDIR "/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig:/usr/x86_64-w64-mingw32/sys-root/mingw/share/pkgconfig"
+ENV CONFIGURE_OPTS "--host=x86_64-w64-mingw32"
diff --git a/buildenv-libvirt-debian-10-cross-aarch64.zip b/buildenv-libvirt-debian-10-cross-aarch64.zip
index 6ae4014..9bdfe9c 100644
--- a/buildenv-libvirt-debian-10-cross-aarch64.zip
+++ b/buildenv-libvirt-debian-10-cross-aarch64.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture arm64 && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-aarch64-linux-gnu \
libacl1-dev:arm64 \
@@ -108,6 +109,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "aarch64-linux-gnu"
-ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu \
- --target=aarch64-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/aarch64-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu"
diff --git a/buildenv-libvirt-debian-10-cross-armv6l.zip b/buildenv-libvirt-debian-10-cross-armv6l.zip
index bc4512a..84df535 100644
--- a/buildenv-libvirt-debian-10-cross-armv6l.zip
+++ b/buildenv-libvirt-debian-10-cross-armv6l.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture armel && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-arm-linux-gnueabi \
libacl1-dev:armel \
@@ -106,6 +107,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "arm-linux-gnueabi"
-ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi \
- --target=arm-linux-gnueabi"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabi/pkgconfig"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi"
diff --git a/buildenv-libvirt-debian-10-cross-armv7l.zip b/buildenv-libvirt-debian-10-cross-armv7l.zip
index ad30527..fa1b9ce 100644
--- a/buildenv-libvirt-debian-10-cross-armv7l.zip
+++ b/buildenv-libvirt-debian-10-cross-armv7l.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture armhf && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-arm-linux-gnueabihf \
libacl1-dev:armhf \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "arm-linux-gnueabihf"
-ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf \
- --target=arm-linux-gnueabihf"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabihf/pkgconfig"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf"
diff --git a/buildenv-libvirt-debian-10-cross-i686.zip b/buildenv-libvirt-debian-10-cross-i686.zip
index 9cd596a..22903cf 100644
--- a/buildenv-libvirt-debian-10-cross-i686.zip
+++ b/buildenv-libvirt-debian-10-cross-i686.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture i386 && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-i686-linux-gnu \
libacl1-dev:i386 \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "i686-linux-gnu"
-ENV CONFIGURE_OPTS "--host=i686-linux-gnu \
- --target=i686-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/i386-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=i686-linux-gnu"
diff --git a/buildenv-libvirt-debian-10-cross-mips.zip b/buildenv-libvirt-debian-10-cross-mips.zip
index 2258a26..2beba75 100644
--- a/buildenv-libvirt-debian-10-cross-mips.zip
+++ b/buildenv-libvirt-debian-10-cross-mips.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mips && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-mips-linux-gnu \
libacl1-dev:mips \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "mips-linux-gnu"
-ENV CONFIGURE_OPTS "--host=mips-linux-gnu \
- --target=mips-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/mips-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=mips-linux-gnu"
diff --git a/buildenv-libvirt-debian-10-cross-mips64el.zip b/buildenv-libvirt-debian-10-cross-mips64el.zip
index 14e5cec..c900d7a 100644
--- a/buildenv-libvirt-debian-10-cross-mips64el.zip
+++ b/buildenv-libvirt-debian-10-cross-mips64el.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mips64el && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-mips64el-linux-gnuabi64 \
libacl1-dev:mips64el \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "mips64el-linux-gnuabi64"
-ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64 \
- --target=mips64el-linux-gnuabi64"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/mips64el-linux-gnuabi64/pkgconfig"
+ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64"
diff --git a/buildenv-libvirt-debian-10-cross-mipsel.zip b/buildenv-libvirt-debian-10-cross-mipsel.zip
index 4d666fc..ae436b6 100644
--- a/buildenv-libvirt-debian-10-cross-mipsel.zip
+++ b/buildenv-libvirt-debian-10-cross-mipsel.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mipsel && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-mipsel-linux-gnu \
libacl1-dev:mipsel \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "mipsel-linux-gnu"
-ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu \
- --target=mipsel-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/mipsel-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu"
diff --git a/buildenv-libvirt-debian-10-cross-ppc64le.zip b/buildenv-libvirt-debian-10-cross-ppc64le.zip
index 03ff6a3..475681a 100644
--- a/buildenv-libvirt-debian-10-cross-ppc64le.zip
+++ b/buildenv-libvirt-debian-10-cross-ppc64le.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture ppc64el && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-powerpc64le-linux-gnu \
libacl1-dev:ppc64el \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "powerpc64le-linux-gnu"
-ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu \
- --target=powerpc64le-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/powerpc64le-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu"
diff --git a/buildenv-libvirt-debian-10-cross-s390x.zip b/buildenv-libvirt-debian-10-cross-s390x.zip
index c64bc88..6e88d47 100644
--- a/buildenv-libvirt-debian-10-cross-s390x.zip
+++ b/buildenv-libvirt-debian-10-cross-s390x.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture s390x && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-s390x-linux-gnu \
libacl1-dev:s390x \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "s390x-linux-gnu"
-ENV CONFIGURE_OPTS "--host=s390x-linux-gnu \
- --target=s390x-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/s390x-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=s390x-linux-gnu"
diff --git a/buildenv-libvirt-debian-9-cross-aarch64.zip b/buildenv-libvirt-debian-9-cross-aarch64.zip
index ba2709a..37752fc 100644
--- a/buildenv-libvirt-debian-9-cross-aarch64.zip
+++ b/buildenv-libvirt-debian-9-cross-aarch64.zip
@@ -65,6 +65,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture arm64 && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-aarch64-linux-gnu \
glusterfs-common:arm64 \
@@ -112,6 +113,4 @@ RUN pip3 install \
ENV LANG "en_US.UTF-8"
ENV ABI "aarch64-linux-gnu"
-ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu \
- --target=aarch64-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/aarch64-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu"
diff --git a/buildenv-libvirt-debian-9-cross-armv6l.zip b/buildenv-libvirt-debian-9-cross-armv6l.zip
index d5f8f13..66c50ae 100644
--- a/buildenv-libvirt-debian-9-cross-armv6l.zip
+++ b/buildenv-libvirt-debian-9-cross-armv6l.zip
@@ -65,6 +65,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture armel && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-arm-linux-gnueabi \
glusterfs-common:armel \
@@ -110,6 +111,4 @@ RUN pip3 install \
ENV LANG "en_US.UTF-8"
ENV ABI "arm-linux-gnueabi"
-ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi \
- --target=arm-linux-gnueabi"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabi/pkgconfig"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi"
diff --git a/buildenv-libvirt-debian-9-cross-armv7l.zip b/buildenv-libvirt-debian-9-cross-armv7l.zip
index 995d558..8102db9 100644
--- a/buildenv-libvirt-debian-9-cross-armv7l.zip
+++ b/buildenv-libvirt-debian-9-cross-armv7l.zip
@@ -65,6 +65,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture armhf && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-arm-linux-gnueabihf \
glusterfs-common:armhf \
@@ -111,6 +112,4 @@ RUN pip3 install \
ENV LANG "en_US.UTF-8"
ENV ABI "arm-linux-gnueabihf"
-ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf \
- --target=arm-linux-gnueabihf"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabihf/pkgconfig"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf"
diff --git a/buildenv-libvirt-debian-9-cross-mips.zip b/buildenv-libvirt-debian-9-cross-mips.zip
index cf69157..739fc5e 100644
--- a/buildenv-libvirt-debian-9-cross-mips.zip
+++ b/buildenv-libvirt-debian-9-cross-mips.zip
@@ -65,6 +65,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mips && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-mips-linux-gnu \
glusterfs-common:mips \
@@ -111,6 +112,4 @@ RUN pip3 install \
ENV LANG "en_US.UTF-8"
ENV ABI "mips-linux-gnu"
-ENV CONFIGURE_OPTS "--host=mips-linux-gnu \
- --target=mips-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/mips-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=mips-linux-gnu"
diff --git a/buildenv-libvirt-debian-9-cross-mips64el.zip b/buildenv-libvirt-debian-9-cross-mips64el.zip
index 7f5b029..3d38e7c 100644
--- a/buildenv-libvirt-debian-9-cross-mips64el.zip
+++ b/buildenv-libvirt-debian-9-cross-mips64el.zip
@@ -65,6 +65,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mips64el && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-mips64el-linux-gnuabi64 \
glusterfs-common:mips64el \
@@ -111,6 +112,4 @@ RUN pip3 install \
ENV LANG "en_US.UTF-8"
ENV ABI "mips64el-linux-gnuabi64"
-ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64 \
- --target=mips64el-linux-gnuabi64"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/mips64el-linux-gnuabi64/pkgconfig"
+ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64"
diff --git a/buildenv-libvirt-debian-9-cross-mipsel.zip b/buildenv-libvirt-debian-9-cross-mipsel.zip
index 300eaed..d8af5f5 100644
--- a/buildenv-libvirt-debian-9-cross-mipsel.zip
+++ b/buildenv-libvirt-debian-9-cross-mipsel.zip
@@ -65,6 +65,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mipsel && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-mipsel-linux-gnu \
glusterfs-common:mipsel \
@@ -111,6 +112,4 @@ RUN pip3 install \
ENV LANG "en_US.UTF-8"
ENV ABI "mipsel-linux-gnu"
-ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu \
- --target=mipsel-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/mipsel-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu"
diff --git a/buildenv-libvirt-debian-9-cross-ppc64le.zip b/buildenv-libvirt-debian-9-cross-ppc64le.zip
index d889960..b53581c 100644
--- a/buildenv-libvirt-debian-9-cross-ppc64le.zip
+++ b/buildenv-libvirt-debian-9-cross-ppc64le.zip
@@ -65,6 +65,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture ppc64el && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-powerpc64le-linux-gnu \
glusterfs-common:ppc64el \
@@ -111,6 +112,4 @@ RUN pip3 install \
ENV LANG "en_US.UTF-8"
ENV ABI "powerpc64le-linux-gnu"
-ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu \
- --target=powerpc64le-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/powerpc64le-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu"
diff --git a/buildenv-libvirt-debian-9-cross-s390x.zip b/buildenv-libvirt-debian-9-cross-s390x.zip
index 0c80277..2c9273f 100644
--- a/buildenv-libvirt-debian-9-cross-s390x.zip
+++ b/buildenv-libvirt-debian-9-cross-s390x.zip
@@ -65,6 +65,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture s390x && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-s390x-linux-gnu \
glusterfs-common:s390x \
@@ -111,6 +112,4 @@ RUN pip3 install \
ENV LANG "en_US.UTF-8"
ENV ABI "s390x-linux-gnu"
-ENV CONFIGURE_OPTS "--host=s390x-linux-gnu \
- --target=s390x-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/s390x-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=s390x-linux-gnu"
diff --git a/buildenv-libvirt-debian-sid-cross-aarch64.zip b/buildenv-libvirt-debian-sid-cross-aarch64.zip
index b1c152a..79262a1 100644
--- a/buildenv-libvirt-debian-sid-cross-aarch64.zip
+++ b/buildenv-libvirt-debian-sid-cross-aarch64.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture arm64 && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-aarch64-linux-gnu \
libacl1-dev:arm64 \
@@ -108,6 +109,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "aarch64-linux-gnu"
-ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu \
- --target=aarch64-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/aarch64-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=aarch64-linux-gnu"
diff --git a/buildenv-libvirt-debian-sid-cross-armv6l.zip b/buildenv-libvirt-debian-sid-cross-armv6l.zip
index 92921d9..682334f 100644
--- a/buildenv-libvirt-debian-sid-cross-armv6l.zip
+++ b/buildenv-libvirt-debian-sid-cross-armv6l.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture armel && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-arm-linux-gnueabi \
libacl1-dev:armel \
@@ -106,6 +107,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "arm-linux-gnueabi"
-ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi \
- --target=arm-linux-gnueabi"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabi/pkgconfig"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabi"
diff --git a/buildenv-libvirt-debian-sid-cross-armv7l.zip b/buildenv-libvirt-debian-sid-cross-armv7l.zip
index 2929d4a..529676e 100644
--- a/buildenv-libvirt-debian-sid-cross-armv7l.zip
+++ b/buildenv-libvirt-debian-sid-cross-armv7l.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture armhf && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-arm-linux-gnueabihf \
libacl1-dev:armhf \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "arm-linux-gnueabihf"
-ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf \
- --target=arm-linux-gnueabihf"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/arm-linux-gnueabihf/pkgconfig"
+ENV CONFIGURE_OPTS "--host=arm-linux-gnueabihf"
diff --git a/buildenv-libvirt-debian-sid-cross-i686.zip b/buildenv-libvirt-debian-sid-cross-i686.zip
index 67d620d..46abb22 100644
--- a/buildenv-libvirt-debian-sid-cross-i686.zip
+++ b/buildenv-libvirt-debian-sid-cross-i686.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture i386 && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-i686-linux-gnu \
libacl1-dev:i386 \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "i686-linux-gnu"
-ENV CONFIGURE_OPTS "--host=i686-linux-gnu \
- --target=i686-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/i386-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=i686-linux-gnu"
diff --git a/buildenv-libvirt-debian-sid-cross-mips64el.zip b/buildenv-libvirt-debian-sid-cross-mips64el.zip
index 3aa0305..799c6f1 100644
--- a/buildenv-libvirt-debian-sid-cross-mips64el.zip
+++ b/buildenv-libvirt-debian-sid-cross-mips64el.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mips64el && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-mips64el-linux-gnuabi64 \
libacl1-dev:mips64el \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "mips64el-linux-gnuabi64"
-ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64 \
- --target=mips64el-linux-gnuabi64"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/mips64el-linux-gnuabi64/pkgconfig"
+ENV CONFIGURE_OPTS "--host=mips64el-linux-gnuabi64"
diff --git a/buildenv-libvirt-debian-sid-cross-mipsel.zip b/buildenv-libvirt-debian-sid-cross-mipsel.zip
index 815772b..2cfbe46 100644
--- a/buildenv-libvirt-debian-sid-cross-mipsel.zip
+++ b/buildenv-libvirt-debian-sid-cross-mipsel.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture mipsel && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-mipsel-linux-gnu \
libacl1-dev:mipsel \
@@ -106,6 +107,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "mipsel-linux-gnu"
-ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu \
- --target=mipsel-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/mipsel-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=mipsel-linux-gnu"
diff --git a/buildenv-libvirt-debian-sid-cross-ppc64le.zip b/buildenv-libvirt-debian-sid-cross-ppc64le.zip
index 28f0a94..da70b99 100644
--- a/buildenv-libvirt-debian-sid-cross-ppc64le.zip
+++ b/buildenv-libvirt-debian-sid-cross-ppc64le.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture ppc64el && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-powerpc64le-linux-gnu \
libacl1-dev:ppc64el \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "powerpc64le-linux-gnu"
-ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu \
- --target=powerpc64le-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/powerpc64le-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=powerpc64le-linux-gnu"
diff --git a/buildenv-libvirt-debian-sid-cross-s390x.zip b/buildenv-libvirt-debian-sid-cross-s390x.zip
index 7ef7862..d5b1174 100644
--- a/buildenv-libvirt-debian-sid-cross-s390x.zip
+++ b/buildenv-libvirt-debian-sid-cross-s390x.zip
@@ -64,6 +64,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
dpkg --add-architecture s390x && \
apt-get update && \
apt-get dist-upgrade -y && \
+ apt-get install --no-install-recommends -y dpkg-dev && \
apt-get install --no-install-recommends -y \
gcc-s390x-linux-gnu \
libacl1-dev:s390x \
@@ -107,6 +108,4 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
ENV LANG "en_US.UTF-8"
ENV ABI "s390x-linux-gnu"
-ENV CONFIGURE_OPTS "--host=s390x-linux-gnu \
- --target=s390x-linux-gnu"
-ENV PKG_CONFIG_LIBDIR "/usr/lib/s390x-linux-gnu/pkgconfig"
+ENV CONFIGURE_OPTS "--host=s390x-linux-gnu"
diff --git a/buildenv-libvirt-fedora-30-cross-mingw32.zip b/buildenv-libvirt-fedora-30-cross-mingw32.zip
index b933ad3..df8f7a7 100644
--- a/buildenv-libvirt-fedora-30-cross-mingw32.zip
+++ b/buildenv-libvirt-fedora-30-cross-mingw32.zip
@@ -115,6 +115,4 @@ RUN dnf install -y \
ENV LANG "en_US.UTF-8"
ENV ABI "i686-w64-mingw32"
-ENV CONFIGURE_OPTS "--host=i686-w64-mingw32 \
- --target=i686-w64-mingw32"
-ENV PKG_CONFIG_LIBDIR "/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig:/usr/i686-w64-mingw32/sys-root/mingw/share/pkgconfig"
+ENV CONFIGURE_OPTS "--host=i686-w64-mingw32"
diff --git a/buildenv-libvirt-fedora-30-cross-mingw64.zip b/buildenv-libvirt-fedora-30-cross-mingw64.zip
index 13ebb52..d2b79b8 100644
--- a/buildenv-libvirt-fedora-30-cross-mingw64.zip
+++ b/buildenv-libvirt-fedora-30-cross-mingw64.zip
@@ -115,6 +115,4 @@ RUN dnf install -y \
ENV LANG "en_US.UTF-8"
ENV ABI "x86_64-w64-mingw32"
-ENV CONFIGURE_OPTS "--host=x86_64-w64-mingw32 \
- --target=x86_64-w64-mingw32"
-ENV PKG_CONFIG_LIBDIR "/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig:/usr/x86_64-w64-mingw32/sys-root/mingw/share/pkgconfig"
+ENV CONFIGURE_OPTS "--host=x86_64-w64-mingw32"
--
2.24.1
4 years, 10 months
[PATCH v2 0/3] Re-think stance towards image format probing
by Peter Krempa
We decided that use of qemu-img would not be possible for this case. I'm
thus re-sending the patch with fixes to docs and the ISO image format
probe.
This approach is the simplest and most straightforward and deals with
most cases. Specifically we don't have to fix half of blockjob code by
doing this as opposed if we wanted to have qemu open the image itself by
looking into the overlay's metadata.
Peter Krempa (3):
qemu: domain: Convert detected 'iso' image format into 'raw'
virStorageFileGetMetadataRecurse: Allow format probing under special
circumstances
kbase: backing_chains: Clarify some aspects of image probing
docs/kbase/backing_chains.rst | 16 +++++++++--
src/qemu/qemu_domain.c | 4 +++
src/util/virstoragefile.c | 52 ++++++++++++++++++++---------------
3 files changed, 48 insertions(+), 24 deletions(-)
--
2.24.1
4 years, 10 months