mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-21 14:34:25 +01: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:
committed by
Samuel Ortiz
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
|
./build-kernel.sh -v ${kernel_version} -d setup
|
||||||
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
|
|
||||||
fi
|
|
||||||
cd ${kernel_dir_prefix}*
|
cd ${kernel_dir_prefix}*
|
||||||
make -j $(($(nproc)-1)) EXTRAVERSION=".container"
|
make -j $(($(nproc)-1)) EXTRAVERSION=".container"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user