docs: Fix paths to build kernel in SNP VMs documentation

This PR fixes the correct path to setup, build and install properly
the kernel for snp.

Fixes #8156

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
This commit is contained in:
Gabriela Cervantes 2023-10-06 18:22:21 +00:00
parent db37692f36
commit 2ef2b2a6dc

View File

@ -28,10 +28,10 @@ __Steps from the Developer Guide:__
__SNP-specific steps:__ __SNP-specific steps:__
- Build the SNP-specific kernel as shown below (see this [guide](../../tools/packaging/kernel/README.md#build-kata-containers-kernel) for more information) - Build the SNP-specific kernel as shown below (see this [guide](../../tools/packaging/kernel/README.md#build-kata-containers-kernel) for more information)
```bash ```bash
$ pushd kata-containers/tools/packaging/kernel/ $ pushd kata-containers/tools/packaging/
$ ./build-kernel.sh -a x86_64 -x snp setup $ ./kernel/build-kernel.sh -a x86_64 -x snp setup
$ ./build-kernel.sh -a x86_64 -x snp build $ ./kernel/build-kernel.sh -a x86_64 -x snp build
$ sudo -E PATH="${PATH}" ./build-kernel.sh -x snp install $ sudo -E PATH="${PATH}" ./kernel/build-kernel.sh -x snp install
$ popd $ popd
``` ```
- Build a current OVMF capable of SEV-SNP: - Build a current OVMF capable of SEV-SNP: