mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +00:00
Developer-Guide: Update kernel installation doc
evged is required to make Kata work with NEMU. Apply the kernel patch when building kernel. Fixes: #268 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
This commit is contained in:
@@ -338,6 +338,7 @@ $ tar -xf ${kernel_tar_file}
|
|||||||
$ mv .config "linux-${kernel_version}"
|
$ mv .config "linux-${kernel_version}"
|
||||||
$ pushd "linux-${kernel_version}"
|
$ pushd "linux-${kernel_version}"
|
||||||
$ curl -L https://raw.githubusercontent.com/kata-containers/packaging/master/kernel/patches/0001-NO-UPSTREAM-9P-always-use-cached-inode-to-fill-in-v9.patch | patch -p1
|
$ curl -L https://raw.githubusercontent.com/kata-containers/packaging/master/kernel/patches/0001-NO-UPSTREAM-9P-always-use-cached-inode-to-fill-in-v9.patch | patch -p1
|
||||||
|
$ curl -L https://raw.githubusercontent.com/kata-containers/packaging/master/kernel/patches/0002-Compile-in-evged-always.patch | patch -p1
|
||||||
$ make ARCH=${kernel_dir} -j$(nproc)
|
$ make ARCH=${kernel_dir} -j$(nproc)
|
||||||
$ kata_kernel_dir="/usr/share/kata-containers"
|
$ kata_kernel_dir="/usr/share/kata-containers"
|
||||||
$ kata_vmlinuz="${kata_kernel_dir}/kata-vmlinuz-${kernel_version}.container"
|
$ kata_vmlinuz="${kata_kernel_dir}/kata-vmlinuz-${kernel_version}.container"
|
||||||
|
Reference in New Issue
Block a user