[arch-general] btrfs/snapper hook for pacman 5.0?

Karol Babioch karol at babioch.de
Tue Feb 2 09:30:06 UTC 2016


Am 02.02.2016 um 10:16 schrieb Karol Babioch:
> When exactly and how often are the PreTransaction and
> PostTransaction actions executed? Are they executed for each and every
> package, or for each invocation of pacman itself, i.e. once per upgrade
> (of multiple packages)?

after having a play with this, I can answer my own question here: These
hooks are indeed only invoked once per upgrade and are therefore
perfectly suited for snapshotting.

What a great feature ;).

Best regards,
Karol Babioch

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-general/attachments/20160202/93392558/attachment.asc>

More information about the arch-general mailing list