firmware-odroid-xu4: fix bl1 filename for truncate step (MR 2863)

This command was missed when bl1, bl2 and tzsw were renamed.  Truncate
apparently creates a new file of the specified size if file doesn't
exist (instead of failing), so this was missed by CI.
This commit is contained in:
Henrik Grimler 2022-01-19 15:22:44 +01:00 committed by Newbyte
parent 40109e3e75
commit 2442173716
No known key found for this signature in database
GPG key ID: 5873C171C9429CFA

View file

@ -2,7 +2,7 @@
pkgname=firmware-odroid-xu4
pkgver=2020.01
pkgrel=0
pkgrel=1
pkgdesc="Firmware for ODROID XU4"
url="https://github.com/hardkernel/u-boot"
arch="armv7"
@ -16,7 +16,7 @@ source="xu4-bl1.bin.hardkernel::https://github.com/hardkernel/u-boot/raw/u-boot_
package() {
# Trim bl1.bin.hardkernel to 15360 bytes
# See https://forum.odroid.com/viewtopic.php?f=93&t=42724
truncate -s15360 "$srcdir"/bl1.bin.hardkernel
truncate -s15360 "$srcdir"/xu4-bl1.bin.hardkernel
# Install firmware
install -D -m644 "$srcdir"/xu4-bl1.bin.hardkernel \