While testing some new signing packages I have found a couple of bugs
that need fixing across the board. Firstly we are dropping out of the
version search after the first record unconditionally which means if the
kernel we are looking for is not the newest version it will fail.
Secondly (as we have noticed before) we can only build correctly for
kernels in main. This is because the signing bits always drop into main
in dists regardless of where the source is; hard wire this.
This patch is applicable to any modern signed kernel using raw-signing
(rather than raw-efi) custom uploads, which does not already have this
patch.
Proposing for SRU to everywhere.
Signed-off-by: Andy Whitcroft <email address hidden>
Acked-by: Seth Forshee <email address hidden>
Acked-by: Kleber Sacilotto de Souza <email address hidden>
Signed-off-by: Kleber Sacilotto de Souza <email address hidden>