APPLIED[L]: [L/linux][K/linux][J/linux][PATCH v2] UBUNTU: [Packaging] Copy expoline.o only when produced by the build

Andrea Righi andrea.righi at canonical.com
Fri Mar 31 05:36:39 UTC 2023


On Thu, Mar 30, 2023 at 03:32:06PM +0100, Andrei Gherzan wrote:
> BugLink: https://bugs.launchpad.net/bugs/2013209
> 
> CONFIG_EXPOLINE_EXTERN has been enabled for s390x [LP:#2013209]. While
> this works as expected on the base kernels, it might not work on some
> derivatives: for example focal:hwe-5.15 (derived from Jammy). On Focal,
> this config can't be enabled due to the GCC version it comes with.
> CONFIG_EXPOLINE_EXTERN requires >= 110200 while Focal comes with 90400.
> 
> This change adds a check on the existence of the expoline object file(s)
> that are packaged later. This also makes the code more robust generally.
> 
> Signed-off-by: Andrei Gherzan <andrei.gherzan at canonical.com>
> ---

Looks good and safe to me. Applied to lunar/linux and also:

Acked-by: Andrea Righi <andrea.righi at canonical.com>

Thanks!



More information about the kernel-team mailing list