1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 01:26:18 +00:00
Lakka-LibreELEC/projects/NXP/devices/iMX8/bootloader/mkimage
2021-02-11 08:56:54 -08:00

9 lines
349 B
Plaintext

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
if [ -f "$RELEASE_DIR/3rdparty/bootloader/flash.bin" ]; then
echo "Writing flash.bin to $(basename $DISK)"
dd if="$RELEASE_DIR/3rdparty/bootloader/flash.bin" of="$DISK" bs=1024 seek=33 conv=fsync,notrunc >"$SAVE_ERROR" 2>&1 || show_error
fi