summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2016-09-06 13:14:24 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-06 14:35:49 +0200
commite373805eccf2333421515b9fec4894fd33be7af2 (patch)
tree41c127481b82964bea3a10d17a572b17810bb77f
parent54dd6fb9179f19acdf70447992cc1e9346345f67 (diff)
downloadjenkins.debian.net-e373805eccf2333421515b9fec4894fd33be7af2.tar.xz
reproducible fdroid: log kernel modules to see what's supported
There are some kernel modules needed for this setup, like 9p_virtio for virtual mounts in libvirt/kvm/qemu Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_setup_fdroid_build_environment.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh
index 975bd74b..b34037a1 100755
--- a/bin/reproducible_setup_fdroid_build_environment.sh
+++ b/bin/reproducible_setup_fdroid_build_environment.sh
@@ -29,8 +29,9 @@ cleanup_all() {
trap cleanup_all INT TERM EXIT
# report info about virtualization
-dmesg | grep -i -e hypervisor -e qemu -e kvm
-lspci | grep -i -e virtio -e virtualbox -e qemu -e kvm
+(dmesg | grep -i -e hypervisor -e qemu -e kvm) || true
+(lspci | grep -i -e virtio -e virtualbox -e qemu -e kvm) || true
+lsmod
if systemd-detect-virt -q ; then
echo "Virtualization is used:" `systemd-detect-virt`
else