Skip to content

Feature/kernel initrd plugin merge#6255

Open
dilyn-corner wants to merge 139 commits into
canonical:feature/kernel-initrd-pluginfrom
dilyn-corner:feature/kernel-initrd-plugin-merge
Open

Feature/kernel initrd plugin merge#6255
dilyn-corner wants to merge 139 commits into
canonical:feature/kernel-initrd-pluginfrom
dilyn-corner:feature/kernel-initrd-plugin-merge

Conversation

@dilyn-corner
Copy link
Copy Markdown

@dilyn-corner dilyn-corner commented May 22, 2026

This merges main into the feature branch. Requires #6254.


  • I've followed the contribution guidelines.
  • I've signed the CLA.
  • I've successfully run make lint && make test.
  • I've added or updated any relevant documentation.
  • In documents I changed, I added a meta description if one was missing.
  • I've updated the relevant release notes.

bepri and others added 30 commits March 20, 2026 07:54
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michał Sawicz <michal@sawicz.net>
Co-authored-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Co-authored-by: Michael DuBelko <michael.dubelko@gmail.com>
Signed-off-by: Michael DuBelko <michael.dubelko@gmail.com>
Co-authored-by: Michael DuBelko <michael.dubelko@gmail.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Bumps [requests](https://github.com/psf/requests) from 2.32.5 to 2.33.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.32.5...v2.33.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.33.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
…5.8 (canonical#6134)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.5 to 46.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@46.0.5...46.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
The snapcraft.yaml reference incorrectly suggested using `craftctl` to start services.
Runtime service management is done with `snapctl` (often from hooks). Update text and link.

Fixes canonical#5738

---------

Signed-off-by: Amanuel Lemma Dessalegn <amanlem24@gmail.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Signed-off-by: Michael DuBelko <michael.dubelko@gmail.com>
Co-authored-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Co-authored-by: Michael DuBelko <michael.dubelko@canonical.com>
Co-authored-by: Michael DuBelko <michael.dubelko@gmail.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
canonical#5732

---------

Signed-off-by: Michael DuBelko <michael.dubelko@gmail.com>
Co-authored-by: Michael DuBelko <michael.dubelko@gmail.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
…onical#6124)

Co-authored-by: Michael DuBelko <michael.dubelko@canonical.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Michał Sawicz <michal@sawicz.net>
Signed-off-by: Imani Pelton <imani.pelton@canonical.com>
Co-authored-by: Callahan Kovacs <callahan.kovacs@canonical.com>
Co-authored-by: Imani Pelton <imani.pelton@canonical.com>
Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
dilyn-corner and others added 26 commits May 17, 2026 03:22
Should be easier to grok for the general reader.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Extend the behavior of building debian package kernels to suppor the more
general use-cases commonly used by those building kernel debian packages.
The upshot is supporting DKMS packages.

Also resolves some small bugs or inconsistencies.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Leverages the flexibility PartsErrors allows us and give suggestions to
the user for what to do instead.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
run() can be difficult to follow if you're not familiar with all the
moving parts. Include some explanation of how various options impact the
logical flow of each plugin.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Reflects current state of changes.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
We always want to blow away any debs in this context.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
We need to make sure that older artifacts aren't lingering around as they can conflict
with builds or outputs at various stages.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
The build only commences properly if all the relevant variables are exported.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
The order of these steps matters. updateconfigs may overwrite some relevant files.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
The annotations file we construct is more properly an entire config fragment than a
small annotations modification. Properly update annotations.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Test the new option for building kernels via dpkg methods.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
There's a logical separation between two of the keys associated with the kernel plugin
which act as sort of drivers in how the rest of the plugin's options can/should come
together, so their usage (or lackthereof) should be emphasized.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Remove the need for users to specify a firmware/ prefix for files to be added to the
initrd. The path is known and relative.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
defconfig is a make target.

Also, use KERNEL_SRC over CRAFT_PART_SRC. Consistency and correctness.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Rely on make install, should do the right thing now "usually".
Leave it on the user to know whether or not their tool's makefile respects make; make install.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Includes broad changes to bring up-to-date with current plugin behavior and
expectations.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Not single-quoting the value passed to kernel_build.sh results in quotes being stripped
from the values, but quotes are meaningful to the kernel's Kconfig system.

Signed-off-by: Dilyn Corner <dilyn.corner@canonical.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.