2022-12-13 05:04:53 +00:00
|
|
|
# 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.
|
2022-12-13 05:04:53 +00:00
|
|
|
> 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.):
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
`sudo abroot pkg add {{package}}`
|
2022-12-13 05:04:53 +00:00
|
|
|
|
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.):
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
`sudo abroot pkg remove {{package}}`
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
- List packages in the local image:
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
`sudo abroot pkg list`
|
2022-12-13 05:04:53 +00:00
|
|
|
|
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):
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
`sudo abroot pkg apply`
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
- Rollback your system to previous state:
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
`sudo abroot rollback`
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
- Edit/View kernel parameters:
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
`sudo abroot kargs {{edit|show}}`
|
|
|
|
|
|
|
|
- Display status:
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
`sudo abroot status`
|
2022-12-13 05:04:53 +00:00
|
|
|
|
2023-09-08 15:05:40 +01:00
|
|
|
- Display help:
|
|
|
|
|
|
|
|
`abroot --help`
|