From abf1beb9995cbf379409817532a5b164091cc826 Mon Sep 17 00:00:00 2001 From: Bobby The Builder Date: Wed, 12 May 2021 09:55:10 -0400 Subject: [PATCH] temp/u-boot-pinephone: automatic upgrade with checksum validation (MR 2155) --- temp/u-boot-pinephone/APKBUILD | 4 ++-- temp/u-boot-pinephone/u-boot-pinephone.post-upgrade | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 temp/u-boot-pinephone/u-boot-pinephone.post-upgrade diff --git a/temp/u-boot-pinephone/APKBUILD b/temp/u-boot-pinephone/APKBUILD index cf6d9ea00..942e26892 100644 --- a/temp/u-boot-pinephone/APKBUILD +++ b/temp/u-boot-pinephone/APKBUILD @@ -1,7 +1,7 @@ # U-boot with patches to make the PinePhone boot faster and have control over the ddr clock speed pkgname=u-boot-pinephone pkgver=2021.01_git20201228 -pkgrel=1 +pkgrel=2 # Last commit from "crust" branch, as used in "crust-meta": # https://gitlab.com/pine64-org/crust-meta/-/blob/8886bcc829179bf77216fade71f0ede9bd014e67/Makefile#L78 _commit="7492749fec31b1086bc8933bf113a766aea021aa" @@ -17,7 +17,7 @@ source="https://gitlab.com/pine64-org/u-boot/-/archive/$_commit/u-boot-$_commit. update-u-boot " builddir="$srcdir/u-boot-$_commit" - +install="$pkgname.post-upgrade" frequencies='528 552 624' build() { diff --git a/temp/u-boot-pinephone/u-boot-pinephone.post-upgrade b/temp/u-boot-pinephone/u-boot-pinephone.post-upgrade new file mode 100644 index 000000000..07137aeae --- /dev/null +++ b/temp/u-boot-pinephone/u-boot-pinephone.post-upgrade @@ -0,0 +1,3 @@ +#!/bin/sh + +update-u-boot -s