summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2016-09-06 11:03:26 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-06 12:18:15 +0200
commit54dd6fb9179f19acdf70447992cc1e9346345f67 (patch)
treee1b9c8893de1951d20556297051c3809bb3efd8a /bin
parentcdd8c84f4781a73697ff83de756a99d3c61b7bf0 (diff)
downloadjenkins.debian.net-54dd6fb9179f19acdf70447992cc1e9346345f67.tar.xz
reproducible fdroid: VM debug logging to troubleshoot VM in VM
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_setup_fdroid_build_environment.sh10
1 files changed, 10 insertions, 0 deletions
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