From da9d8fcb8bd0e4b3b58db8b305692e9b3c29c76d Mon Sep 17 00:00:00 2001 From: chewitt Date: Sat, 24 Aug 2019 04:28:55 +0000 Subject: [PATCH] busybox: fix dtfile helper script --- packages/sysutils/busybox/scripts/dtfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/scripts/dtfile b/packages/sysutils/busybox/scripts/dtfile index 04ca371944..96fa8a8f87 100755 --- a/packages/sysutils/busybox/scripts/dtfile +++ b/packages/sysutils/busybox/scripts/dtfile @@ -7,7 +7,7 @@ COMPATIBLE=$(cat /proc/device-tree/compatible 2>/dev/null | tr -d '\000' | sed - if [ -n "$COMPATIBLE" ]; then if [ -e /flash/extlinux/extlinux.conf ]; then - DTFILE=$(grep FDT /flash/extlinux/extlinux.conf | sed 's, *FDT /dtb/,,g') + DTFILE=$(grep FDT /flash/extlinux/extlinux.conf | sed 's, *FDT /,,g') elif [ -e /flash/boot.ini ]; then DTFILE=$(grep -m 1 dtb_name /flash/boot.ini | cut -d \" -f2 | sed 's,/dtb/,,g') elif [ -e /flash/uEnv.ini ]; then