From 54dd6fb9179f19acdf70447992cc1e9346345f67 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 6 Sep 2016 11:03:26 +0200 Subject: reproducible fdroid: VM debug logging to troubleshoot VM in VM --- bin/reproducible_setup_fdroid_build_environment.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh index 9536238a..975bd74b 100755 --- a/bin/reproducible_setup_fdroid_build_environment.sh +++ b/bin/reproducible_setup_fdroid_build_environment.sh @@ -28,6 +28,16 @@ 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 +if systemd-detect-virt -q ; then + echo "Virtualization is used:" `systemd-detect-virt` +else + echo "No virtualization is used." +fi +cat /etc/issue + # the way we handle jenkins slaves doesn't copy the workspace to the slaves # so we need to "manually" clone the git repo hereā€¦ cd $WORKSPACE -- cgit v1.2.3-54-g00ecf