mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
snap: Build vanilla kernel for all arches
There's no need to build an experimental kernel for x86_64 as all the bits which were part of the experimental one (SGX only, really) are now part of the vanilla one. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
27de212fe1
commit
32e7845d31
@ -204,14 +204,7 @@ parts:
|
|||||||
kernel_dir_prefix="kata-linux-"
|
kernel_dir_prefix="kata-linux-"
|
||||||
|
|
||||||
# Setup and build kernel
|
# Setup and build kernel
|
||||||
if [ "$(uname -m)" = "x86_64" ]; then
|
|
||||||
kernel_version="$(${yq} r $versions_file assets.kernel-experimental.tag)"
|
|
||||||
kernel_version=${kernel_version#v}
|
|
||||||
kernel_dir_prefix="kata-linux-experimental-"
|
|
||||||
./build-kernel.sh -e -v ${kernel_version} -d setup
|
|
||||||
else
|
|
||||||
./build-kernel.sh -v ${kernel_version} -d setup
|
./build-kernel.sh -v ${kernel_version} -d setup
|
||||||
fi
|
|
||||||
cd ${kernel_dir_prefix}*
|
cd ${kernel_dir_prefix}*
|
||||||
make -j $(($(nproc)-1)) EXTRAVERSION=".container"
|
make -j $(($(nproc)-1)) EXTRAVERSION=".container"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user