Fix Pine64 configuration

This commit is contained in:
zador-blood-stained
2016-11-26 16:55:55 +03:00
parent 3bcc3c2b15
commit e92828ef2d

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