Skip to content

Commit

Permalink
Use "make menuconfig ARCH=x86_64"
Browse files Browse the repository at this point in the history
  • Loading branch information
petuhovskiy committed Dec 9, 2024
1 parent f1b73f5 commit 1d5064f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neonvm-kernel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!
```
Expand Down

0 comments on commit 1d5064f

Please sign in to comment.