rename hooks, update docs on backupboot example

Closes #45.
This commit is contained in:
Wes Barnett 2021-05-09 16:48:41 -04:00
parent 2f39f46ac0
commit f38f7aa9e6
No known key found for this signature in database
GPG key ID: 1070BCC98C18BD66
4 changed files with 5 additions and 0 deletions

View file

@ -22,6 +22,11 @@ No, but you can add a hook that does it for you. It would be something like the
When = PreTransaction
Exec = /usr/bin/rsync -avzq --delete /boot /.bootbackup
Note that you will probably want to name the file with a numbered prefix less than
``05`` so that it is run before the snap-pac pre snapshot takes place. That will ensure
that the snapshot taken will have the boot partition back-up corresponding with the
state of the system. For example, you could name it ``04-backupboot.hook``.
**How do I link old kernel modules automatically when the kernel is upgraded?**