abroot: update page (#10666)

pull/23/head
K.B.Dharun Krishna 2023-09-08 19:35:40 +05:30 committed by GitHub
parent df770e83a0
commit b5631f6bab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 16 deletions

View File

@ -1,33 +1,37 @@
# abroot # abroot
> ABRoot utility provides full immutability and atomicity by transacting between 2 root partition states (A⟺B). > Utility providing full immutability and atomicity by transacting between 2 root partition states (A⟺B).
> It also allows on-demand transactions via a transactional shell. > Updates are performed using OCI images, to ensure that the system is always in a consistent state.
> More information: <https://github.com/Vanilla-OS/ABRoot>. > More information: <https://github.com/Vanilla-OS/ABRoot>.
- 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: - Display help:
`abroot --help` `abroot --help`
- Display version:
`abroot --version`