diff --git a/hack/kata-containers.spec b/hack/kata-containers.spec index 50968b5ab8059a4f03ae18d214e114ccc78fa29c..65113b7d3011706bcb9893d5a4d40c56ab1b3eb6 100644 --- a/hack/kata-containers.spec +++ b/hack/kata-containers.spec @@ -42,7 +42,7 @@ This is core component of Kata Container, to make it work, you need a docker eng %setup -q -c -a 5 -n kernel cd %{_builddir}/kernel -mkdir ./linux && tar -xzf linux-*.tar.gz -C ./linux --strip-components 1 +mv kernel linux if ls patches.tar.* >/dev/null 2>&1;then tar -xf patches.tar.* fi