← Back to issue list

kernel plugin: install .config as config-$kernelversion

View original Github issue

Metadata

Project
snapcraft
Number
#2207
Type
pull request
State
merged
Author
piso77
Labels
Created
Updated
Closed

Current evaluation

Kernel plugin now installs the build .config as config-$kernelversion in the snap root, matching Ubuntu classic behavior. Resolves Launchpad bug LP1786190. Merged following reviewer approval and successful CI checks.

Suggested action:

No scores available.

Issue body

In Ubuntu classic we ship the kernel config as config-$kernelversion in /boot, and the same we do for kernel snaps available in the store: they contain the kernel config file as config-$kernelversion in the root of the kernel snap. Unfortunately the kernel plugin never shipped the .config used to build the kernel, so fix it by installing it as config-$kernelversion in the root of the freshly generated kernel snap. This fixes [LP1786190](https://bugs.launchpad.net/snapcraft/+bug/1786190) Signed-off-by: Paolo Pisati <p.pisati@gmail.com> -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Kernel plugin now installs the build .config as config-$kernelversion in the snap root, matching Ubuntu classic behavior. Resolves Launchpad bug LP1786190. Merged following reviewer approval and successful CI checks.
qwen3.6-35b-a3b-mtp-q6 Merged into master. The kernel plugin now installs the build config as config-$kernelversion in the snap root, resolving LP1786190. The change achieved 100 percent diff coverage and increased overall coverage by 0.01 percent.
qwen3.6-35b-a3b-mtp-q6 Merged to master. The kernel plugin now installs the build .config as config-$kernelversion in the snap root, matching Ubuntu classic behavior and resolving Launchpad bug LP1786190. Patch achieved 100% diff coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1285 kernel plugin: learn how to assemble the ubuntu config using kconfigflavour snapcraft merged Merged. Replaces shell script wrappers in the snapcraft kernel plugin with direct extraction of Ubuntu kernel configs from debian config files using the kconfigflavour parameter. Approved by reviewers and merged after passing CI.
74%
#1786190 kernel plugin: install .config as config-$kernelversion snapcraft (launchpad) closed The kernel plugin enhancement to include the build .config file was closed without resolution. No pull request or fix was provided, and the request remains abandoned.
73%
#1115 kernel plugin: fix kernel snap layout snapcraft merged Merged fix correcting the kernel plugin snap layout for firmware and modules directories, updating required package lists, and addressing review feedback. Approved, passed CI, and merged after CLA verification.
71%