kata_integration: modify spec to adapt kernel's repo change
Signed-off-by: Grooooot <isula@huawei.com>
This commit is contained in:
parent
0b57e67c37
commit
222454a871
@ -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
|
%setup -q -c -a 5 -n kernel
|
||||||
|
|
||||||
cd %{_builddir}/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
|
if ls patches.tar.* >/dev/null 2>&1;then
|
||||||
tar -xf patches.tar.*
|
tar -xf patches.tar.*
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user