mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
docs: book: update ChromeOS kernel branch to 6.1
This is what we are shipping with Crostini, so update the docs to match. Also fix a debootstrab -> debootstrap typo. BUG=b:299353857 TEST=(cd docs/book; mdbook build) Change-Id: Icf2f967e8bd44e2aabc8f74cd96c89811ac3352a Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4578299 Auto-Submit: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Zihan Chen <zihanchen@google.com> Reviewed-by: Zihan Chen <zihanchen@google.com>
This commit is contained in:
parent
09d3fb31e7
commit
6db7340bca
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# Custom Kernel / Rootfs
|
||||
|
||||
This document explains how to build a custom kernel and use debootstrab to build a rootfs for
|
||||
This document explains how to build a custom kernel and use debootstrap to build a rootfs for
|
||||
running crosvm.
|
||||
|
||||
For an easier way to get started with prebuilt images, see [Example Usage](./example_usage.md)
|
||||
|
@ -15,12 +15,13 @@ If you are using the chroot for ChromiumOS development, you already have the ker
|
|||
Otherwise, you can clone it:
|
||||
|
||||
```bash
|
||||
git clone --depth 1 -b chromeos-5.10 https://chromium.googlesource.com/chromiumos/third_party/kernel
|
||||
git clone --depth 1 -b chromeos-6.1 https://chromium.googlesource.com/chromiumos/third_party/kernel
|
||||
```
|
||||
|
||||
Either way that you get the kernel, the next steps are to configure and build the bzImage:
|
||||
|
||||
```bash
|
||||
cd kernel
|
||||
CHROMEOS_KERNEL_FAMILY=termina ./chromeos/scripts/prepareconfig container-vm-x86_64
|
||||
make olddefconfig
|
||||
make -j$(nproc) bzImage
|
||||
|
|
Loading…
Reference in a new issue