APPLIED: [PATCH v2] [SRU] [X-B/generic] snapcraft.yaml: copy retpoline-extract-one

Khaled Elmously khalid.elmously at canonical.com
Wed Jul 25 05:17:43 UTC 2018


Applied to x and b

On 2018-07-17 17:50:35 , Paolo Pisati wrote:
> BugLink: http://bugs.launchpad.net/bugs/1782116
> 
> The Ubuntu kernel source code depends on the presence of the
> retpoline-extract-one file in the script directory during build (see
> scripts/Makefile.build::cmd_ubuntu_retpoline) - such a file lives in the debian
> directory and is copied to scripts during the 'debian/rules clean' phase.
> 
> Snapcraft is oblivious to the debian details, and the clean target is never
> invoked, breaking the normal kernel build (make defconfig; make ...).
> 
> To workaround that, before starting the build, make snapcraft do the copy and
> fix the build.
> 
> Both Xenial and Bionic generic require this patch.
> 
> Paolo Pisati (1):
>   UBUNTU: snapcraft.yaml: copy retpoline-extract-one to scripts before
>     build
> 
>  snapcraft.yaml | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> -- 
> 2.7.4
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team




More information about the kernel-team mailing list