diff mbox series

[5/5] configs/orangepi_pc_defconfig: add hashes for Linux/headers/u-boot

Message ID 20240520111730.1231889-5-peter@korsgaard.com
State Superseded
Headers show
Series [1/5] configs/orangepi_pc_defconfig: bump U-boot to v2024.01 to fix compatibility with setuptools >= 69 | expand

Commit Message

Peter Korsgaard May 20, 2024, 11:17 a.m. UTC
And enable BR2_DOWNLOAD_FORCE_CHECK_HASHES.  With this, we can now drop the
defconfig from .checkpackageignore.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 .checkpackageignore                                             | 1 -
 .../orangepi-pc/patches/linux-headers/linux-headers.hash        | 1 +
 board/orangepi/orangepi-pc/patches/linux/linux.hash             | 2 ++
 board/orangepi/orangepi-pc/patches/uboot/uboot.hash             | 2 ++
 configs/orangepi_pc_defconfig                                   | 2 ++
 5 files changed, 7 insertions(+), 1 deletion(-)
 create mode 120000 board/orangepi/orangepi-pc/patches/linux-headers/linux-headers.hash
 create mode 100644 board/orangepi/orangepi-pc/patches/linux/linux.hash
 create mode 100644 board/orangepi/orangepi-pc/patches/uboot/uboot.hash
diff mbox series

Patch

diff --git a/.checkpackageignore b/.checkpackageignore
index 070b97116a..fd46182d4c 100644
--- a/.checkpackageignore
+++ b/.checkpackageignore
@@ -270,7 +270,6 @@  configs/orangepi_lite_defconfig lib_defconfig.ForceCheckHash
 configs/orangepi_one_defconfig lib_defconfig.ForceCheckHash
 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
diff --git a/board/orangepi/orangepi-pc/patches/linux-headers/linux-headers.hash b/board/orangepi/orangepi-pc/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/orangepi/orangepi-pc/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@ 
+../linux/linux.hash
\ No newline at end of file
diff --git a/board/orangepi/orangepi-pc/patches/linux/linux.hash b/board/orangepi/orangepi-pc/patches/linux/linux.hash
new file mode 100644
index 0000000000..b763fc947a
--- /dev/null
+++ b/board/orangepi/orangepi-pc/patches/linux/linux.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  880ace63ca2291b8b639e9bd862cc828649d3e1e00ccfee5861473debd2e4dec  linux-6.1.91.tar.xz
diff --git a/board/orangepi/orangepi-pc/patches/uboot/uboot.hash b/board/orangepi/orangepi-pc/patches/uboot/uboot.hash
new file mode 100644
index 0000000000..bc999536af
--- /dev/null
+++ b/board/orangepi/orangepi-pc/patches/uboot/uboot.hash
@@ -0,0 +1,2 @@ 
+# Locally calculated
+sha256  b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3  u-boot-2024.01.tar.bz2
diff --git a/configs/orangepi_pc_defconfig b/configs/orangepi_pc_defconfig
index 731f5fdfcc..1713fc609f 100644
--- a/configs/orangepi_pc_defconfig
+++ b/configs/orangepi_pc_defconfig
@@ -2,6 +2,8 @@  BR2_arm=y
 BR2_cortex_a7=y
 BR2_ARM_FPU_VFPV4=y
 BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
+BR2_GLOBAL_PATCH_DIR="board/orangepi/orangepi-pc/patches"
+BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
 BR2_TARGET_GENERIC_HOSTNAME="OrangePi_PC"
 BR2_TARGET_GENERIC_ISSUE="Welcome to Buildroot for the Orange Pi PC"
 BR2_SYSTEM_DHCP="eth0"