Repository navigation
pve-klp 0.1.4
Fourth round from the real-host test, which also ran a guest VM under load
during 10 revert/apply cycles, a patched module object that is loaded only
after the boot reload, and anti-rollback across kernel releases and wrong
build-ids.
Upgrade note
Nodes that ran pve-klp setup on 0.1.3 or earlier may be stuck in a
half-configured state ("iU") after a non-interactive upgrade to 0.1.3. Run
once:
dpkg --force-confold --configure pve-klp
and then upgrade to 0.1.4. From 0.1.4 on, upgrades never prompt.
Fixed
- Upgrades prompted (and failed without a TTY) on every node that ran
setup, because/etc/pve-klp/pve-klp.tomlwas a dpkg conffile that
setupedits. The package now ships the template as
/usr/share/pve-klp/pve-klp.tomland creates the config only when it is
missing; existing configs are kept. CI installs 0.1.3, runssetupand
upgrades without a TTY on every change. - Running
setupagain without--ringreset the ring tostable. Options
that are not given now keep the configured value;setupprints each
value and whether it changed.--repositoryis only required the first
time.
Changed
checkandmok enrollrecognize a pending MOK enrollment ("confirm in
MokManager on the next boot") instead of saying "not enrolled".statusonly asks for a reboot when a transition could neither complete
nor be reversed. After a cleanly backed-out apply it suggests running
pve-klp applyagain; the exit code stays 20.sign-manifest.shruns the newpve-klp-tool check-manifest, which
compares the manifest with the module, the resolved catalog and
qemu.ok(kernel, module hash, build-id) and refuses to sign an edited
manifest.
Install
wget https://github.com/prepaid-host/pve-klp/releases/download/v0.1.4/pve-klp_amd64.deb
apt install ./pve-klp_amd64.deb
pve-klp setup --repository <your repository> --key <manifest key>Verify
sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify pve-klp_amd64.deb --repo prepaid-host/pve-klp