update docs

This commit is contained in:
Wes Barnett 2021-04-25 11:50:15 -04:00
parent e913d70b95
commit 1159296a8a
No known key found for this signature in database
GPG key ID: 1070BCC98C18BD66
2 changed files with 13 additions and 4 deletions

View file

@ -5,10 +5,12 @@
## Synopsis
This is a set of pacman hooks and script that automatically causes snapper to
perform a pre and post snapshot before and after pacman transactions, similar to
how YaST does with OpenSuse. This provides a simple way to undo changes to a
system after a pacman transaction.
This is a set of [pacman](https://wiki.archlinux.org/index.php/Pacman) hooks and script
that automatically causes [snapper](http://snapper.io/) to perform a pre and post
snapshot before and after pacman transactions, similar to how YaST does with OpenSuse.
This provides a simple way to undo changes to a system after a pacman transaction.
For more information, [see the documentation](https://wesbarnett.github.io/).
## Installation

View file

@ -62,6 +62,13 @@ need to use a live USB to get into a chroot environment to do any of these thing
Snapper has a ``snapper rollback`` feature, but your setup has to be properly configured to
use it. The exact procedure depends on your specific setup. Be careful.
Note that the pre transaction hooks occur before the pacman transaction but after the
pacman database is synced, if applicable. In other words, if you run `pacman -Syu` and
roll back the upgrade according to the above instructions, you will not have rolled back
the pacman database to the previous state. Thus, if, after upgrading and rolling back
the upgrade, you then install a package, it will possibly be a partial upgrade, which is
unsupported.
.. toctree::
:maxdepth: 1