From 1d5064fe8539ca4c333cbae2a0f499a382d244bb Mon Sep 17 00:00:00 2001 From: Arthur Petukhovsky Date: Mon, 9 Dec 2024 16:46:43 +0100 Subject: [PATCH] Use "make menuconfig ARCH=x86_64" --- neonvm-kernel/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neonvm-kernel/README.md b/neonvm-kernel/README.md index 237297b69..a45d8e651 100644 --- a/neonvm-kernel/README.md +++ b/neonvm-kernel/README.md @@ -23,14 +23,14 @@ with the following sequence of actions: 1. On the host, run: ```sh cd neonvm-kernel # this directory - docker build --build-arg KERNEL_VERSION=$NEW_VERSION --platform linux/x86_64 --target build-deps -t kernel-build-deps -f Dockerfile.kernel-builder . + docker build --build-arg KERNEL_VERSION=$NEW_VERSION --target build-deps -t kernel-build-deps -f Dockerfile.kernel-builder . docker run --rm -v $PWD:/host --name kernel-build -it kernel-build-deps bash ``` 2. Then, inside the container, run: ```sh cd linux-$NEW_VERSION cp /host/linux-config-amd64-6.1.92 .config # Copy current config in - make menuconfig + make menuconfig ARCH=x86_64 # do nothing; just save and exit, overwriting .config cp .config /host/linux-config-amd64-$NEW_VERSION # NOTE: Different from existing! ```