Cutting the Gordian Knot of Kernel Packaging: A Refactoring Proposal
summary
Proposes splitting the monolithic kernel RPM into modular specs so userland components like perf and bpftool build independently via dynamic spec generation, with Koji-driven parallel builds to cut cycle time. Shows standalone perf (263 lines, 2–3 minutes) and yl (140 lines, 1 minute) versus the current 20,000-line kernel spec that yields ~1 hr on Intel / ~2 hr on ARM; documents a libbpf/bpftool logic bug that blocks CentOS Stream 9 builds (615–618), so the refactor targets faster iteration and simpler debugging.
AI-written summary · about
chapters (11)
- 0:00Introduction and speakers
- 1:48Why kernel packaging is hard
- 3:16Current kernel packaging issues
- 5:03The cake is always a lie
- 6:29Dynamic spec generation proposal
- 8:39Parallelizing kernel builds
- 9:21Standalone packaging examples
- 11:04BPF tool build failures
- 13:13To-do list and improvements
- 14:38Modernizing RPM spec files
- 16:00Q&A with the audience
