Repository navigation
pve-klp 0.1.1
Fixes from the first run on a real Proxmox VE 9.2 host with kernel
7.3.5-1-pve. There, build, Gate A, signing, setup, apply, revert and
the reload after a reboot worked after manual workarounds; this release
removes the need for them. The new QEMU stage has not run on real hardware
yet.
Fixed
- Agent: the first
applyafter boot failed with "kernel gained taint flags
O" on hosts without ZFS loaded. klp-build modules are out-of-tree, so the
module's ownO(withKandE) is now expected; other new flags still
fail. - Agent:
statusreturns 20 while the boot reload is in progress (it
returned 0). Text and--jsonoutput share one exit code, covered by
tests for every state. - Builder image: real base image digest,
httpsnapshot sources (no CA
certificates yet at that point), the Debian security snapshot,
trixie-backports on its own snapshot for the kernel's rustc/LLVM pair,
the Proxmox repository for the shipped kernel packages, andgawkfor
klp-build. build.sh: no more doubled release suffix (7.3.5-1-pve-1-pve+); a stale
localversion-pvefrom 0.1.0 is removed.build.sh: the patched functions are read from klp-build'sdiff.log
(they were always empty before, so Gate A skipped the check silently). An
empty list stops the build.lint: an emptypsa,mitigationorfixed_in_pvemeans "none".
Added
- Gate A and
manifestrequire the module's patched functions to equal the
reviewedfunctionsof the catalog entries, in both directions.
functionsis now required for livepatchable entries. builder/qemu-test.sh: boots the shipped kernel in QEMU, loads, replaces,
unloads and reloads the module, compares functions and build-id, and
writesqemu.ok.sign-manifest.shrefuses to sign without it.builder/run.shandmake builder-image: build and test a module with one
command; the builder image id is recorded in the manifest.docs/toolchains.md: compiler and snapshot values per kernel release.- Release workflow dry run (
workflow_dispatch).
Install
wget https://github.com/prepaid-host/pve-klp/releases/download/v0.1.1/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