ACK/Cmnt: [PATCH 1/1][SRU][focal:linux-riscv-5.8] UBUNTU: [Packaging] Use gcc-10 for riscv 5.8 kernel build

Stefan Bader stefan.bader at canonical.com
Mon Feb 1 08:19:07 UTC 2021


On 30.01.21 11:51, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1913864
> 
> 5.8 RISC-V really requires gcc-10 for a bootable build, so
> enable this.
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
Acked-by: Stefan Bader <stefan.bader at canonical.com>
> ---

Adjusted bug report and subject a little to match what we would normally use.
Normally I would use critical only for issues which put data in production
environments at risk.

-Stefan

>  debian.master/control.stub.in | 2 +-
>  debian/rules                  | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in
> index 9c1e956092bf..3b920328caff 100644
> --- a/debian.master/control.stub.in
> +++ b/debian.master/control.stub.in
> @@ -68,7 +68,7 @@ Section: devel
>  Priority: optional
>  Provides: linux-source
>  Depends: ${misc:Depends}, binutils, bzip2, coreutils
> -Recommends: libc-dev, gcc, make
> +Recommends: libc-dev, gcc-10, make
>  Suggests: libncurses-dev | ncurses-dev, kernel-package, libqt3-dev
>  Description: Linux kernel source for version PKGVER with Ubuntu patches
>   This package provides the source code for the Linux kernel version
> diff --git a/debian/rules b/debian/rules
> index 627ca3cb968f..425d33b35fde 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -8,6 +8,7 @@
>  #
>  
>  DEBIAN=$(shell awk -F= '($$1 == "DEBIAN") { print $$2 }' <debian/debian.env)
> +gcc=gcc-10
>  
>  # dpkg-buildpackage passes options that are incomptatible
>  # with the kernel build.
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20210201/2c4e7a78/attachment.sig>


More information about the kernel-team mailing list