Skip to content

pve-klp 0.1.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 14:15
· 32 commits to main since this release

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 apply after boot failed with "kernel gained taint flags
    O" on hosts without ZFS loaded. klp-build modules are out-of-tree, so the
    module's own O (with K and E) is now expected; other new flags still
    fail.
  • Agent: status returns 20 while the boot reload is in progress (it
    returned 0). Text and --json output share one exit code, covered by
    tests for every state.
  • Builder image: real base image digest, http snapshot 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, and gawk for
    klp-build.
  • build.sh: no more doubled release suffix (7.3.5-1-pve-1-pve+); a stale
    localversion-pve from 0.1.0 is removed.
  • build.sh: the patched functions are read from klp-build's diff.log
    (they were always empty before, so Gate A skipped the check silently). An
    empty list stops the build.
  • lint: an empty psa, mitigation or fixed_in_pve means "none".

Added

  • Gate A and manifest require the module's patched functions to equal the
    reviewed functions of the catalog entries, in both directions.
    functions is 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
    writes qemu.ok. sign-manifest.sh refuses to sign without it.
  • builder/run.sh and make 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