All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Romain Naour <romain.naour@smile.fr>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 7/7] configs/arcturus_ucp1020: specify Linux license file
Date: Fri, 12 Jun 2026 13:37:13 +0200	[thread overview]
Message-ID: <20260612113713.251665-1-thomas.perale@mind.be> (raw)
In-Reply-To: <20260606225120.409046-7-romain.naour@smile.fr>

In reply of:
> The used Linux kernel (4.4.144) does not contain the default license
> files as those were only added in 4.16 with commit e00a844aca
> ("LICENSES: Add Linux syscall note exception"), so specify the correct
> license file to fix:
> 
> make legal-info
> ..
> cp: cannot stat '/path/to/output/build/linux-headers-custom/LICENSES/preferred/GPL-2.0': No such file or directory
> 
> And add the sha256sum to the .hash file.
> Enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.
> 
> Fixes:
> https://gitlab.com/buildroot.org/buildroot/-/jobs/14728913808 (arcturus_ucp1020_defconfig)
> 
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> Cc: Michael Durrant <mdurrant@ArcturusNetworks.com>

Applied to 2026.02.x. Thanks

> ---
> Note: This defconfig still use a vendor 4.4.144 kernel
> (linux-v20190618.tar.gz), a vendor 2019.07-rc4 uboot
> (uboot-v20190618.tar.gz) and a gcc based toolchain since
> the support for ppc SPE has been removed from gcc.
> How long should we keep this defconfig?
> See commits:
> 531b2a10cda6bae78ecc141c9fe48f2024f71dbc (2021)
> 96e80ad214ced86c802d561946fa7da88c1595eb (2020)
> ---
>  .../ppc-ucp1020/patches/linux-headers/linux-headers.hash       | 1 +
>  board/arcturus/ppc-ucp1020/patches/linux/linux.hash            | 2 ++
>  board/arcturus/ppc-ucp1020/patches/uboot/uboot.hash            | 2 ++
>  configs/arcturus_ucp1020_defconfig                             | 3 +++
>  4 files changed, 8 insertions(+)
>  create mode 120000 board/arcturus/ppc-ucp1020/patches/linux-headers/linux-headers.hash
>  create mode 100644 board/arcturus/ppc-ucp1020/patches/linux/linux.hash
>  create mode 100644 board/arcturus/ppc-ucp1020/patches/uboot/uboot.hash
> 
> diff --git a/board/arcturus/ppc-ucp1020/patches/linux-headers/linux-headers.hash b/board/arcturus/ppc-ucp1020/patches/linux-headers/linux-headers.hash
> new file mode 120000
> index 0000000000..5808d92afe
> --- /dev/null
> +++ b/board/arcturus/ppc-ucp1020/patches/linux-headers/linux-headers.hash
> @@ -0,0 +1 @@
> +../linux/linux.hash
> \ No newline at end of file
> diff --git a/board/arcturus/ppc-ucp1020/patches/linux/linux.hash b/board/arcturus/ppc-ucp1020/patches/linux/linux.hash
> new file mode 100644
> index 0000000000..eafb86d8cb
> --- /dev/null
> +++ b/board/arcturus/ppc-ucp1020/patches/linux/linux.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256  5ad0192e5cd10eca5f9fabb3234f2bfcbafba3382a9577139cc66be629e5bafa  linux-v20190618.tar.gz
> diff --git a/board/arcturus/ppc-ucp1020/patches/uboot/uboot.hash b/board/arcturus/ppc-ucp1020/patches/uboot/uboot.hash
> new file mode 100644
> index 0000000000..eb9744043c
> --- /dev/null
> +++ b/board/arcturus/ppc-ucp1020/patches/uboot/uboot.hash
> @@ -0,0 +1,2 @@
> +# Locally calculated
> +sha256  eba8aaf634affec7c27a55b899c404a85a0c219c3f814d576793e3c21b711b05  uboot-v20190618.tar.gz
> diff --git a/configs/arcturus_ucp1020_defconfig b/configs/arcturus_ucp1020_defconfig
> index 8e489f7f19..c0423032bc 100644
> --- a/configs/arcturus_ucp1020_defconfig
> +++ b/configs/arcturus_ucp1020_defconfig
> @@ -1,6 +1,8 @@
>  BR2_powerpc=y
>  BR2_powerpc_8548=y
>  BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
> +BR2_GLOBAL_PATCH_DIR="board/arcturus/ppc-ucp1020/patches"
> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
>  BR2_TARGET_GENERIC_HOSTNAME="UCP1020"
>  BR2_TARGET_GENERIC_ISSUE="Welcome to Arcturus uCP1020 System on Module"
>  BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
> @@ -8,6 +10,7 @@ BR2_SYSTEM_DHCP="eth0"
>  BR2_LINUX_KERNEL=y
>  BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
>  BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,ArcturusNetworks,uCP1020-kernel,v20190618)/linux-v20190618.tar.gz"
> +BR2_LINUX_KERNEL_LICENSE_FILES="COPYING"
>  BR2_LINUX_KERNEL_DEFCONFIG="ucp1020"
>  BR2_LINUX_KERNEL_DTS_SUPPORT=y
>  BR2_LINUX_KERNEL_INTREE_DTS_NAME="ucp1020"
> -- 
> 2.54.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2026-06-12 11:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-06 22:51 [Buildroot] [PATCH 1/7] configs/s6lx9_microboard_defconfig: remove defconfig Romain Naour via buildroot
2026-06-06 22:51 ` [Buildroot] [PATCH 2/7] configs/ts4900_defconfig: " Romain Naour via buildroot
2026-08-14 14:10   ` Titouan Christophe via buildroot
2026-06-06 22:51 ` [Buildroot] [PATCH 3/7] package/ts4900-fpga: remove package Romain Naour via buildroot
2026-08-14 14:10   ` Titouan Christophe via buildroot
2026-06-06 22:51 ` [Buildroot] [PATCH 4/7] configs/ts5500_defconfig: remove defconfig Romain Naour via buildroot
2026-08-14 14:10   ` Titouan Christophe via buildroot
2026-06-06 22:51 ` [Buildroot] [PATCH 5/7] configs/acmesystems_aria_g25_{128mb, 256mb}_defconfig: " Romain Naour via buildroot
2026-08-14 14:11   ` Titouan Christophe via buildroot
2026-06-06 22:51 ` [Buildroot] [PATCH 6/7] configs/acmesystems_arietta_g25_{128mb, " Romain Naour via buildroot
2026-08-14 14:11   ` Titouan Christophe via buildroot
2026-06-06 22:51 ` [Buildroot] [PATCH 7/7] configs/arcturus_ucp1020: specify Linux license file Romain Naour via buildroot
2026-06-07 20:16   ` Julien Olivain via buildroot
2026-06-12 11:37   ` Thomas Perale via buildroot [this message]
2026-08-04 20:01 ` [Buildroot] [PATCH 1/7] configs/s6lx9_microboard_defconfig: remove defconfig Julien Olivain via buildroot
2026-08-14 14:09 ` Titouan Christophe via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260612113713.251665-1-thomas.perale@mind.be \
    --to=buildroot@buildroot.org \
    --cc=romain.naour@smile.fr \
    --cc=thomas.perale@mind.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.