diff mbox series

[2/2,kteam-tools] cranky/docs: add documentation for new chroot update subcommand

Message ID 20220110145627.14921-3-zachary.tahenakos@canonical.com
State New
Headers show
Series cranky: chroot: Add new update subcommand | expand

Commit Message

Zachary Tahenakos Jan. 10, 2022, 2:56 p.m. UTC
Signed-off-by: Zachary Tahenakos <zachary.tahenakos@canonical.com>
---
 cranky/docs/cranking-the-kernel.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
diff mbox series

Patch

diff --git a/cranky/docs/cranking-the-kernel.md b/cranky/docs/cranking-the-kernel.md
index 7c0f54bf..52e0ae5e 100644
--- a/cranky/docs/cranking-the-kernel.md
+++ b/cranky/docs/cranking-the-kernel.md
@@ -63,6 +63,21 @@  cranky chroot create-base xenial:linux
 cranky chroot create-session configs xenial:linux
 ```
 
+# Updating the chroot
+<!--cheatsheet-->
+```
+cranky chroot update RELEASE:linux
+```
+<!--/cheatsheet-->
+
+For a chroot that already exists, ensure that it is up to date by running cranky chroot update before performing the crank.
+
+Example:
+```
+cranky chroot update xenial:linux
+```
+
+
 ## Build
 
 ### Update the kteam-tools repo