APPLIED/cmt[S]: Re: [SRU][S][RFC][PATCH 0/2] Enable incremental kernel package rebuilds
Paolo Pisati
paolo.pisati at canonical.com
Tue Sep 15 15:24:52 UTC 2026
On Wed, Jul 01, 2026 at 08:12:51PM +0200, Jose Ogando via kernel-team wrote:
> BugLink: RFC only, no Launchpad bug assigned yet.
>
> SRU Justification:
>
> [Impact]
>
> Iterating on Ubuntu kernel patch changes currently requires rebuilding
> more than is necessary after a successful flavour build. This slows down
> local development loops when the object tree can be safely reused and only
> the packaging/install stages need to be rerun.
>
> This RFC proposes an incremental rebuild workflow for developer use. The
> series adds a rebuild-% target that preserves the flavour object tree while
> invalidating the build/install stamps needed for package regeneration. It
> also adds optional no-BTF local rebuild support, test coverage for the
> workflow, and snapshotting of successful rebuild outputs into a hash-based
> directory so repeated iterations can keep unchanged package names without
> custom versioning.
>
> Potential use cases:
>
> * Iterating upstream stable patchsets
> * Iterating CVE patches
> * Future integration with CBD sessions
I manually removed the DEP-8 test (since we don't carry them anymore), while applying the rest.
--
bye,
p.
More information about the kernel-team
mailing list