update readme

This commit is contained in:
Adrian Wannenmacher 2022-10-01 22:15:59 +02:00
parent 4d4c2c7920
commit c666eb8e3f
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5
1 changed files with 10 additions and 13 deletions

View File

@ -13,20 +13,17 @@ required (though the name remains).
### Prerequisites ### Prerequisites
This tool expects that you already set up snapper. It also expects that each While not depending on it directly, this tool expects that you already set up
snapshots linux and initramfs files (`/boot/vmlinuz-linux` and snapper. It expects, that each snapshot contains its kernel
`/boot/initramfs-linux.img`) as well as a kernel command line file (`/boot/vmlinuz-linux`) and initramfs (`/boot/intitramfs-linux.img`), as well as
(`/etc/snap-pac-uki/kernel-cmd`) are available within each snapshot. a kernel command line file (`/etc/snap-pac-uki/kernel-cmd`).
The fallback initramfs (`/boot/initramfs-linux-fallback.img`) and fallback For generating the current and fallback UKIs, the kernel and initramfs files of
command line file (`/etc/snap-pac-uki/kernel-cmd-fallback`) are only required the currently running system are used. For a kernel cmd, it uses
on the current system. `/etc/snap-pac-uki/kernel-cmd-current` and `/etc/snap-pac-uki/kernel-cmd-fallback`.
Also the current command line file (`/etc/snap-pac-uki/kernel-cmd-current`) If you want to boot a UKI directly, use the `efibootmgr` command to create an
needs is only required on the current system. entry.
EFI boot options are only created for each snapshot. If you want the UKIs
created for the current system, you'll need to add boot entries yourself:
```bash ```bash
# template # template
@ -56,7 +53,7 @@ efibootmgr -c \
1. You can install the dependencies of this program with the following command: 1. You can install the dependencies of this program with the following command:
```bash ```bash
pacman -S fish efibootmgr jq ripgrep sbsigntools sed snapper pacman -S fish ripgrep sbsigntools sed
``` ```
2. Download the latest release from [here][releases] and unpack it. 2. Download the latest release from [here][releases] and unpack it.