Package Details: zectl-pacman-hook 0.1.3-1

Git Clone URL: https://aur.archlinux.org/zectl-pacman-hook.git (read-only, click to copy)
Package Base: zectl-pacman-hook
Description: Automate boot environment creation and rotation before kernel upgrade
Upstream URL: https://github.com/eoli3n/zectl-pacman-hook
Licenses: Unlicense
Submitter: eoli3n
Maintainer: eoli3n
Last Packager: eoli3n
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-11 10:01 (UTC)
Last Updated: 2020-08-15 09:54 (UTC)

Dependencies (1)

Required by (0)

Sources (3)

Latest Comments

eoli3n commented on 2020-11-08 11:59 (UTC)

Read zectl documentation : https://github.com/johnramsden/zectl/blob/master/docs/plugins/systemdboot.md This automates zectl BE creation. You need to setup zectl first and as you say zectl needs a separate /boot outside of the pool for systemd-boot.

NateR100 commented on 2020-11-07 00:29 (UTC)

I'm assuming this doesn't work if /boot isn't on a ZFS pool right? Because I originally saw Zectl only works with Systemd, but Systemd can't read /boot off of a ZFS partition. So what is the proper setup for this?

dedeaux commented on 2020-05-23 15:45 (UTC)

I found I had a typo in my loader.conf file. It is indeed functioning as expected. My mistake! Thanks for pointing out where to look.

eoli3n commented on 2020-05-23 14:32 (UTC) (edited on 2020-05-23 14:34 (UTC) by eoli3n)

It should boot the default: create /efi/loader/loader.conf with

default org.zectl-default.conf
timeout 3

dedeaux commented on 2020-05-23 14:23 (UTC)

Great addition to zectl for Archlinux! For me, this hook works well in that it creates a new boot environment at kernel upgrade. Reboot presents options: boot default and pacmanhook-<timestamp>, with the newly created pacmanhook- entry as default. So, with no interaction, this will boot into the pre-upgrade boot environment (pacmanhook-). Should it be booting into the new boot environment with the new kernel by default?