From 15b0ab855d4d4ffc2ef1ce2ece529c03e8cf238d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 7 Mar 2017 19:04:13 +0100 Subject: reproducible fdroid: delete old libvirt instances until fdroid tools can The fdroid tools should be managing these old copies of the buildserver images. But until we get that sorted, we can just force delete them here to get the more important parts running. Signed-off-by: Holger Levsen --- bin/reproducible_setup_fdroid_build_environment.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin/reproducible_setup_fdroid_build_environment.sh') diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh index c4a07fc2..584abdfa 100755 --- a/bin/reproducible_setup_fdroid_build_environment.sh +++ b/bin/reproducible_setup_fdroid_build_environment.sh @@ -43,6 +43,10 @@ ls -lR ~/.vagrant.d/ || echo no access virsh --connect qemu:///system list --all || echo cannot virsh list cat /etc/issue +# delete old libvirt instances, until the fdroid tools do it reliably +virsh --connect qemu:///system undefine builder_default || echo nothing to undefine +virsh --connect qemu:///system vol-delete /var/lib/libvirt/images/builder_default.img || echo nothing to delete + # 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