mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
abroot: update page (#10666)
This commit is contained in:
parent
df770e83a0
commit
b5631f6bab
1 changed files with 20 additions and 16 deletions
|
@ -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: <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:
|
||||
|
||||
`abroot --help`
|
||||
|
||||
- Display version:
|
||||
|
||||
`abroot --version`
|
||||
|
|
Loading…
Add table
Reference in a new issue