1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 02:36:17 +00:00
Lakka-LibreELEC/projects/Allwinner/bootloader/mkimage
2019-04-09 20:14:55 +02:00

8 lines
374 B
Plaintext

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
if [ -f "$RELEASE_DIR/3rdparty/bootloader/u-boot-sunxi-with-spl.bin" ]; then
echo "Writing U-Boot to $(basename $DISK)"
dd if="$RELEASE_DIR/3rdparty/bootloader/u-boot-sunxi-with-spl.bin" of="$DISK" bs=1K seek=8 conv=fsync,notrunc >"$SAVE_ERROR" 2>&1 || show_error
fi