diff --git a/pages/linux/abroot.md b/pages/linux/abroot.md index 8c97add8d..99cf30997 100644 --- a/pages/linux/abroot.md +++ b/pages/linux/abroot.md @@ -1,33 +1,37 @@ # 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. +> Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺B). +> Updates are performed using OCI images, to ensure that the system is always in a consistent state. > More information: . -- Output the current or future root partition state: +- Add packages to the local image (Note: after executing this command, you need to apply these changes.): -`sudo abroot get {{present|future}}` +`sudo abroot pkg add {{package}}` -- Enter the transactional shell in the future root partition and switch root on the next boot: +- Remove packages from the local image (Note: after executing this command, you need to apply these changes.): -`sudo abroot shell` +`sudo abroot pkg remove {{package}}` -- Execute a specific command in the transactional shell in the future root partition and switch to it on the next boot: +- List packages in the local image: -`sudo abroot exec "{{command}}"` +`sudo abroot pkg list` -- Install specific packages in the host inside the transactional shell in the future root partition and switch to it on the next boot: +- Apply changes in the local image (Note: you need to reboot your system for these changes to be applied): -`sudo abroot exec apt install {{package1 package2 ...}}` +`sudo abroot pkg apply` -- Update the boot partition (for advanced users only): +- Rollback your system to previous state: -`sudo abroot _update-boot` +`sudo abroot rollback` + +- Edit/View kernel parameters: + +`sudo abroot kargs {{edit|show}}` + +- Display status: + +`sudo abroot status` - Display help: `abroot --help` - -- Display version: - -`abroot --version`