tldr/pages/linux/abroot.md

38 lines
974 B
Markdown
Raw Normal View History

# abroot
2023-09-08 15:05:40 +01:00
> 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>.
2023-09-08 15:05:40 +01:00
- Add packages to the local image (Note: after executing this command, you need to apply these changes.):
2023-09-08 15:05:40 +01:00
`sudo abroot pkg add {{package}}`
2023-09-08 15:05:40 +01:00
- Remove packages from the local image (Note: after executing this command, you need to apply these changes.):
2023-09-08 15:05:40 +01:00
`sudo abroot pkg remove {{package}}`
2023-09-08 15:05:40 +01:00
- List packages in the local image:
2023-09-08 15:05:40 +01:00
`sudo abroot pkg list`
2023-09-08 15:05:40 +01:00
- Apply changes in the local image (Note: you need to reboot your system for these changes to be applied):
2023-09-08 15:05:40 +01:00
`sudo abroot pkg apply`
2023-09-08 15:05:40 +01:00
- Rollback your system to previous state:
2023-09-08 15:05:40 +01:00
`sudo abroot rollback`
2023-09-08 15:05:40 +01:00
- Edit/View kernel parameters:
2023-09-08 15:05:40 +01:00
`sudo abroot kargs {{edit|show}}`
- Display status:
2023-09-08 15:05:40 +01:00
`sudo abroot status`
2023-09-08 15:05:40 +01:00
- Display help:
`abroot --help`