Repository navigation
pve-klp 0.1.2
Second round from the real-host test (PVE 9.2, 7.3.5-1-pve). That test
confirmed the 0.1.1 fixes, the QEMU stage (7 s with KVM, including the
replacement of the previous level), atomic replace of level 1 by level 2,
restore of level 1 after a failing hook, anti-rollback after revert,
hooks, and 10 revert/apply cycles under full CPU load without kernel
warnings.
Fixed
build.sh: a level-2 build reusing the cached original build failed with
"changed data: linux_banner", because the banner contains the random
container host name. Build user and host are now fixed
(pve-klp@pve-klp-builder), and the cache carries a stamp of config,
toolchain and build identity; a cache without a matching stamp is rebuilt
once.build.sh: fetches the shipped packages again when any artifact the later
stages need is missing, not only the config (workdirs from 0.1.0 lacked
vmlinuz).status: right after a reboot, before the boot unit has reloaded the
livepatch, the phase ispendinginstead of the storedactive.
Changed
- On hold after
revert, the timer returns immediately without contacting
the repository. An explicitapplystill evaluates it. - Docs: hooks run after
applyand the boot reload, not afterrevert;
systemd's LSB names for the exit codes; the module's ownOtaint.
Install
wget https://github.com/prepaid-host/pve-klp/releases/download/v0.1.2/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