Repository navigation
hvpatch 0.2.0
Changed
-
Renamed from pve-klp to hvpatch. "pve" is the prefix of Proxmox's own
packages, and a third-party tool should not look like one. Everything
follows the new name:Before Now pve-klp,pve-klp-toolhvpatch,hvpatch-tool/etc/pve-klp/pve-klp.toml/etc/hvpatch/hvpatch.toml/var/lib/pve-klp/var/lib/hvpatchpve-klp-boot.service,pve-klp-auto.timerhvpatch-boot.service,hvpatch-auto.timerPVE_KLP_*(hooks,PVE_KLP_CONFIG)HVPATCH_*metrics pve_klp_*,pve_klp.promhvpatch_*,hvpatch.prommodules klp_pve_<kernel>_p<N>klp_hvp_<kernel>_p<N>builder image pve-klp-builderhvpatch-buildergithub.com/prepaid-host/pve-klp github.com/prepaid-host/hvpatch (old URLs redirect)
Upgrading from pve-klp
- The
hvpatchpackage conflicts with and replacespve-klp. Installing it
removespve-klpand copies, once, the configuration (paths rewritten),
trusted keys, hooks, module certificate, state (including the
anti-rollback history) and module cache. An enabled auto timer stays
enabled. CI runs this takeover on every change. - A livepatch loaded by pve-klp (
klp_pve_*) stays active and counts as
hvpatch's own:statusshows it, and the next level replaces it without
--replace-foreign. - Manifest keys generated by
pve-klp-tool keygenkeep working. - Update monitoring (metric names, textfile name) and Ansible (package,
command and unit names). - The builder's build identity changes to
hvpatch@hvpatch-builder, so the
first build per kernel rebuilds the cached original once.
Install
wget https://github.com/prepaid-host/hvpatch/releases/download/v0.2.0/hvpatch_amd64.deb
apt install ./hvpatch_amd64.deb
hvpatch setup --repository <your repository> --key <manifest key>Verify
sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify hvpatch_amd64.deb --repo prepaid-host/hvpatch