From 6db7340bcad989d036111e26ae7780d326a7905e Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Wed, 31 May 2023 16:43:05 -0700 Subject: [PATCH] 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 Commit-Queue: Zihan Chen Reviewed-by: Zihan Chen --- docs/book/src/running_crosvm/custom_kernel_rootfs.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/book/src/running_crosvm/custom_kernel_rootfs.md b/docs/book/src/running_crosvm/custom_kernel_rootfs.md index 2d779c418a..11e59bc562 100644 --- a/docs/book/src/running_crosvm/custom_kernel_rootfs.md +++ b/docs/book/src/running_crosvm/custom_kernel_rootfs.md @@ -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