mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-18 17:33:02 +00:00
Merge pull request #2250 from Jakob-Naucke/remove-qemu-snap
snap: Remove QEMU before clone
This commit is contained in:
commit
67906b4876
@ -270,6 +270,7 @@ parts:
|
|||||||
|
|
||||||
# download source
|
# download source
|
||||||
qemu_dir=${SNAPCRAFT_STAGE}/qemu
|
qemu_dir=${SNAPCRAFT_STAGE}/qemu
|
||||||
|
rm -rf "${qemu_dir}"
|
||||||
git clone --branch ${branch} --single-branch ${url} "${qemu_dir}"
|
git clone --branch ${branch} --single-branch ${url} "${qemu_dir}"
|
||||||
cd ${qemu_dir}
|
cd ${qemu_dir}
|
||||||
[ -z "${commit}" ] || git checkout ${commit}
|
[ -z "${commit}" ] || git checkout ${commit}
|
||||||
|
Loading…
Reference in New Issue
Block a user