From fb6ed6961a749caf2fd3123a196e019f79cef200 Mon Sep 17 00:00:00 2001 From: Nitesh Konkar Date: Tue, 7 Aug 2018 17:55:41 +0530 Subject: [PATCH] Dev-guide: Kernel build fails on ppc64le The kernel config file name prefix changed from ppc64le to powerpc. This change broke the kernel build on ppc64le. Fix the kernel build steps accordingly. Fixes: #207 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com --- Developer-Guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Developer-Guide.md b/Developer-Guide.md index 5d8536a5c3..c3f6e46fb2 100644 --- a/Developer-Guide.md +++ b/Developer-Guide.md @@ -276,7 +276,7 @@ $ kernel_arch="$(./kata-arch.sh)" $ kernel_dir="$(./kata-arch.sh --kernel)" $ tmpdir="$(mktemp -d)" $ pushd "$tmpdir" -$ curl -L https://raw.githubusercontent.com/kata-containers/packaging/master/kernel/configs/${kernel_arch}_kata_kvm_4.14.x -o .config +$ curl -L https://raw.githubusercontent.com/kata-containers/packaging/master/kernel/configs/${kernel_dir}_kata_kvm_4.14.x -o .config $ kernel_version=$(grep "Linux/[${kernel_arch}]*" .config | cut -d' ' -f3 | tail -1) $ kernel_tar_file="linux-${kernel_version}.tar.xz" $ kernel_url="https://cdn.kernel.org/pub/linux/kernel/v$(echo $kernel_version | cut -f1 -d.).x/${kernel_tar_file}"