From 95bfe752f00b0e5c43a7f1edf4701c822706d1b9 Mon Sep 17 00:00:00 2001
From: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Date: Tue, 5 Feb 2019 14:56:02 +0100
Subject: [PATCH] buildscript: Remove warning due to long factory file names
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
---
 buildscript | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/buildscript b/buildscript
index d969c635..dace68b7 100755
--- a/buildscript
+++ b/buildscript
@@ -283,9 +283,6 @@ cp_firmware() {
             image_factory=${image/sysupgrade/factory$region}
             if [[ -f "$target/bin/targets/${chipset}/${subtarget}/$image_factory" ]]; then
               filename_build_factory=${filename_build/sysupgrade/factory$region}
-              if [ ${#image_factory} -lt ${#filename_build_factory} ]; then
-                echo "Warning: The factory image file name (${filename_build_factory}) is longer than the OpenWrt one, which might lead to incompatibility with the stock firmware."
-              fi
               cp "$target/bin/targets/${chipset}/${subtarget}/$image_factory" "./bin/$filename_build_factory"
             fi
         done
-- 
GitLab