refactor(docs): Explain new important pkgs regex (#1)

This commit is contained in:
hygienic-books 2023-12-25 21:52:20 +01:00
parent 360c726326
commit 961649d252

View File

@ -44,10 +44,15 @@ zpool/root/archlinux
``` ```
If exactly one source returns that is the exact name of a ZFS dataset in an imported zpool we create a snapshot on it. If no source returns we silently exit. If more than one source returns we raise an error and halt the `pacman` transaction. If exactly one source returns that is the exact name of a ZFS dataset in an imported zpool we create a snapshot on it. If no source returns we silently exit. If more than one source returns we raise an error and halt the `pacman` transaction.
We retain two different snapshot chains, one for `pacman` transactions that only affect what we are calling _trivial_ packages and a separate chain for _important_ packages. By default only the exact regular expression package name match `^(linux|systemd|zfs-(dkms|utils))$` is considered important so in plain English any one of: We retain two different snapshot chains, one for `pacman` transactions that only affect what we are calling _trivial_ packages and a separate chain for _important_ packages. By default only the exact regular expression package name match `^(linux(-zen)?(-headers)?|systemd|zfs-(linux(-zen)?|dkms|utils))$` is considered important so in plain English any one of:
- `linux` - `linux`
- `linux-headers`
- `linux-zen`
- `linux-zen-headers`
- `systemd` - `systemd`
- `zfs-linux`
- `zfs-linux-zen`
- `zfs-dkms` - `zfs-dkms`
- `zfs-utils` - `zfs-utils`