diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/uboot-script-gen | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen index 070247b..167e980 100644 --- a/scripts/uboot-script-gen +++ b/scripts/uboot-script-gen @@ -136,6 +136,11 @@ function check_file_type() if [ "$type" = "executable" ] then type="executable\|data" + # file in older distros (ex: RHEL 7.4) just output data for device + # tree blobs + elif [ "$type" = "Device Tree Blob" ] + then + type="Device Tree Blob\|data" fi file -L $filename | grep "$type" &> /dev/null |