diff options
author | Hans-Christoph Steiner <hans@eds.org> | 2016-09-06 11:03:26 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-09-06 12:18:15 +0200 |
commit | 54dd6fb9179f19acdf70447992cc1e9346345f67 (patch) | |
tree | e1b9c8893de1951d20556297051c3809bb3efd8a /bin | |
parent | cdd8c84f4781a73697ff83de756a99d3c61b7bf0 (diff) | |
download | jenkins.debian.net-54dd6fb9179f19acdf70447992cc1e9346345f67.tar.xz |
reproducible fdroid: VM debug logging to troubleshoot VM in VM
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_setup_fdroid_build_environment.sh | 10 |
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 |