Merge pull request #2250 from Jakob-Naucke/remove-qemu-snap

snap: Remove QEMU before clone
This commit is contained in:
Jakob Naucke
2021-07-20 11:28:32 +02:00
committed by GitHub

View File

@@ -270,6 +270,7 @@ parts:
# download source
qemu_dir=${SNAPCRAFT_STAGE}/qemu
rm -rf "${qemu_dir}"
git clone --branch ${branch} --single-branch ${url} "${qemu_dir}"
cd ${qemu_dir}
[ -z "${commit}" ] || git checkout ${commit}