mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Mkimage: Add forgotten -f to check for file available
This commit is contained in:
parent
e83bdae340
commit
7e9cd4a7a3
@ -233,9 +233,9 @@ elif [ "$BOOTLOADER" = "u-boot" ]; then
|
||||
fi
|
||||
|
||||
echo "image: installing u-boot bootloader..."
|
||||
if [ "$RELEASE_DIR/3rdparty/bootloader/SPL" ]; then
|
||||
if [ -f "$RELEASE_DIR/3rdparty/bootloader/SPL" ]; then
|
||||
dd if="$RELEASE_DIR/3rdparty/bootloader/SPL" of="$DISK" bs=512 seek=2 conv=notrunc
|
||||
elif [ "$RELEASE_DIR/3rdparty/bootloader/u-boot.imx" ]; then
|
||||
elif [ -f "$RELEASE_DIR/3rdparty/bootloader/u-boot.imx" ]; then
|
||||
dd if="$RELEASE_DIR/3rdparty/bootloader/u-boot.imx" of="$DISK" bs=512 seek=2 conv=notrunc
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user