Add a architecture check for the DT kernel setup

This commit is contained in:
Peter Robinson 2017-11-04 12:17:35 +00:00
parent 9eb7b5cad1
commit 34cd2c20de
2 changed files with 34 additions and 29 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
# set -x
COMMAND="$1"
KERNEL_VERSION="$2"
#BOOT_DIR_ABS="$3"
@ -17,6 +19,8 @@ KERNEL_VERSION="$2"
# device progresses, it should never make backward incompatible changes.
# So it should always be safe to use a newer dtb with an older kernel.
if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then
list_dtb_versions() {
excluded_version="$1"
for dtbdir in /boot/dtb-*; do
@ -47,3 +51,4 @@ case "$COMMAND" in
;;
esac
exit $ret
fi

View File

@ -1 +1 @@
SHA512 (u-boot-2017.11-rc2.tar.bz2) = 881c53e2888a591046d033e06631a2011aef3afb9e809b3419653e2595ebc362b855c43efbb67813fb815673df1e7692f27ce11334353527cb0cb94bc2057672
SHA512 (u-boot-2017.11-rc3.tar.bz2) = 3bc05d9b9c65dac0be2945e2909556655a2b02bc3b720f67af8ae30c08f08a97c91d9da0e99596178190056ef2fe33a88223048a82125d9e2b539342d06dff0f