Skip to content
Snippets Groups Projects
Commit e994d4c7 authored by Andrea Bolognani's avatar Andrea Bolognani
Browse files

control: Introduce ARCHES_DMIDECODE

This was made a Recommends to cope with the fact that dmidecode
is not available on all architectures. A better solution is to
make it a Depends only on the architectures where libvirt would
actually use it, which as it happens are also the ones where the
package gets built.
parent d9fb1b09
No related branches found
No related tags found
1 merge request!237Several fixes and improvements to dependencies
Pipeline #762401 passed
......@@ -4,6 +4,7 @@ ARCHES_QEMU = amd64 arm64 armel armhf i386 loong64 mips64el mipsel powerpc ppc64
ARCHES_LXC = alpha amd64 arm64 armel armhf hppa i386 loong64 m68k mips64el mipsel powerpc ppc64 ppc64el riscv64 s390x sh4 sparc64 x32
ARCHES_XEN = amd64 arm64 armhf
ARCHES_VBOX = amd64 i386
ARCHES_DMIDECODE = amd64 arm64 armhf i386 riscv64 loong64 x32
# Keep this list empty until we have AppArmor support
ARCHES_NBDKIT =
......@@ -194,6 +194,7 @@ Section: admin
Architecture: linux-any
Depends:
adduser,
dmidecode [amd64 arm64 armhf i386 riscv64 loong64 x32],
gettext-base,
iproute2,
libvirt-common (= ${binary:Version}),
......@@ -203,7 +204,6 @@ Depends:
${misc:Depends},
${shlibs:Depends},
Recommends:
dmidecode,
netcat-openbsd,
Suggests:
apparmor,
......
......@@ -194,6 +194,7 @@ Section: admin
Architecture: linux-any
Depends:
adduser,
dmidecode [${ARCHES_DMIDECODE}],
gettext-base,
iproute2,
libvirt-common (= ${binary:Version}),
......@@ -203,7 +204,6 @@ Depends:
${misc:Depends},
${shlibs:Depends},
Recommends:
dmidecode,
netcat-openbsd,
Suggests:
apparmor,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment