This commit is contained in:
zador-blood-stained 2016-11-26 17:58:00 +03:00
parent 057c5e02d4
commit bb290d2a22

View File

@ -43,7 +43,7 @@ write_uboot_platform()
[[ -f $1/u-boot-with-dtb.bin ]] && dd if=$1/u-boot-with-dtb.bin of=$2 bs=1k seek=8 conv=fsync > /dev/null 2>&1 || true
if [[ -f $1/pine64-plus.dtb ]]; then
if [[ -n $CACHEDIR ]]; then
cp $1/{pine64-plus.dtb,pine64.dtb,pine64drm-plus.dtb,pine64drm.dtb} $CACHEDIR/$mount/boot
cp $1/{pine64-plus.dtb,pine64.dtb,pine64drm-plus.dtb,pine64drm.dtb} $CACHEDIR/$MOUNT/boot
else
cp $1/{pine64-plus.dtb,pine64.dtb,pine64drm-plus.dtb,pine64drm.dtb} /boot
fi