ODROID-C2: fix to build with recent packages

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I2ff9d8b90483f529080f4e8c761372c465464473
This commit is contained in:
Dongjin Kim
2021-05-23 17:04:31 +09:00
parent 102f5b822b
commit 44ac27ba0e

View File

@@ -3,11 +3,11 @@ get_machine_name() {
}
get_kernel_package() {
echo "linux-image-odroid-upstream"
echo "linux-image-generic"
}
get_bootscript_package() {
echo ""
echo "bootscript-odroidc4"
}
get_reserved_sectors() {
@@ -15,5 +15,8 @@ get_reserved_sectors() {
}
download_uboot() {
return false
url="https://api.github.com/repos/hardkernel/u-boot/releases"
curl -s ${url} | grep browser_download_url | cut -d'"' -f 4 \
| grep u-boot-odroidc2 | head -1 \
| wget -O ${1} -qi -
}