From 459c8c95c76cf442debee5bed516a746c24a4aca Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 19 May 2024 12:13:55 +0200 Subject: [PATCH] configs/orangepi_r1_defconfig: add hashes for Linux/headers/u-boot And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES. With this, we can now drop the defconfig from .checkpackageignore. Signed-off-by: Peter Korsgaard Signed-off-by: Romain Naour --- .checkpackageignore | 1 - .../orangepi-r1/patches/linux-headers/linux-headers.hash | 1 + board/orangepi/orangepi-r1/patches/linux/linux.hash | 2 ++ board/orangepi/orangepi-r1/patches/uboot/uboot.hash | 2 ++ configs/orangepi_r1_defconfig | 2 ++ 5 files changed, 7 insertions(+), 1 deletion(-) create mode 120000 board/orangepi/orangepi-r1/patches/linux-headers/linux-headers.hash create mode 100644 board/orangepi/orangepi-r1/patches/linux/linux.hash create mode 100644 board/orangepi/orangepi-r1/patches/uboot/uboot.hash diff --git a/.checkpackageignore b/.checkpackageignore index 3fcb842dff..798dc33978 100644 --- a/.checkpackageignore +++ b/.checkpackageignore @@ -270,7 +270,6 @@ configs/orangepi_one_plus_defconfig lib_defconfig.ForceCheckHash configs/orangepi_pc2_defconfig lib_defconfig.ForceCheckHash configs/orangepi_pc_defconfig lib_defconfig.ForceCheckHash configs/orangepi_pc_plus_defconfig lib_defconfig.ForceCheckHash -configs/orangepi_r1_defconfig lib_defconfig.ForceCheckHash configs/orangepi_zero3_defconfig lib_defconfig.ForceCheckHash configs/orangepi_zero_defconfig lib_defconfig.ForceCheckHash configs/orangepi_zero_plus2_defconfig lib_defconfig.ForceCheckHash diff --git a/board/orangepi/orangepi-r1/patches/linux-headers/linux-headers.hash b/board/orangepi/orangepi-r1/patches/linux-headers/linux-headers.hash new file mode 120000 index 0000000000..5808d92afe --- /dev/null +++ b/board/orangepi/orangepi-r1/patches/linux-headers/linux-headers.hash @@ -0,0 +1 @@ +../linux/linux.hash \ No newline at end of file diff --git a/board/orangepi/orangepi-r1/patches/linux/linux.hash b/board/orangepi/orangepi-r1/patches/linux/linux.hash new file mode 100644 index 0000000000..2ec07fd81b --- /dev/null +++ b/board/orangepi/orangepi-r1/patches/linux/linux.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 d6ecff966f8c95ec4cb3bb303904f757b7de6a6bcfef0d0771cb852158e61c20 linux-6.6.31.tar.xz diff --git a/board/orangepi/orangepi-r1/patches/uboot/uboot.hash b/board/orangepi/orangepi-r1/patches/uboot/uboot.hash new file mode 100644 index 0000000000..bc999536af --- /dev/null +++ b/board/orangepi/orangepi-r1/patches/uboot/uboot.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2 diff --git a/configs/orangepi_r1_defconfig b/configs/orangepi_r1_defconfig index 80f88a168f..b48e6d0015 100644 --- a/configs/orangepi_r1_defconfig +++ b/configs/orangepi_r1_defconfig @@ -2,6 +2,8 @@ BR2_arm=y BR2_cortex_a7=y BR2_ARM_FPU_VFPV4=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y +BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-r1/patches" +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y BR2_TARGET_GENERIC_HOSTNAME="OrangePi_R1" BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi R1" BR2_SYSTEM_DHCP="eth0"