From f7fb8b8f0d819dad194b83a68c8cb68328250cb0 Mon Sep 17 00:00:00 2001 From: "K.B.Dharun Krishna" Date: Tue, 13 Dec 2022 10:34:53 +0530 Subject: [PATCH] abroot: add page (#9608) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * abroot: add page Closes #9606 Signed-off-by: K.B.Dharun Krishna * abroot: fix typo The `--version` and `--help` flags don't require Superuser (sudo) privileges. * Update abroot.md * Update abroot.md * Update pages/linux/abroot.md * Change symbol to ⟺ I updated the same on docs since it has better visibility * Update pages/linux/abroot.md * Update pages/linux/abroot.md * Update pages/linux/abroot.md Signed-off-by: K.B.Dharun Krishna --- pages/linux/abroot.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pages/linux/abroot.md diff --git a/pages/linux/abroot.md b/pages/linux/abroot.md new file mode 100644 index 0000000000..8c97add8d9 --- /dev/null +++ b/pages/linux/abroot.md @@ -0,0 +1,33 @@ +# abroot + +> ABRoot utility provides full immutability and atomicity by transacting between 2 root partition states (A⟺B). +> It also allows on-demand transactions via a transactional shell. +> More information: . + +- Output the current or future root partition state: + +`sudo abroot get {{present|future}}` + +- Enter the transactional shell in the future root partition and switch root on the next boot: + +`sudo abroot shell` + +- Execute a specific command in the transactional shell in the future root partition and switch to it on the next boot: + +`sudo abroot exec "{{command}}"` + +- Install specific packages in the host inside the transactional shell in the future root partition and switch to it on the next boot: + +`sudo abroot exec apt install {{package1 package2 ...}}` + +- Update the boot partition (for advanced users only): + +`sudo abroot _update-boot` + +- Display help: + +`abroot --help` + +- Display version: + +`abroot --version`