From patchwork Tue Feb 5 13:56:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [1/2] buildscript: Remove warning due to long factory file names From: Adrian Schmutzler X-Patchwork-Id: 1024 Message-Id: <20190205135603.2020-1-freifunk@adrianschmutzler.de> To: franken-dev@freifunk.net Date: Tue, 5 Feb 2019 14:56:02 +0100 Signed-off-by: Adrian Schmutzler Reviewed-by: Fabian Bläse --- I personally never considered this warning helpful, as building and flashing are typically separated processes. --- buildscript | 3 --- 1 file changed, 3 deletions(-) diff --git a/buildscript b/buildscript index 1d527c6e..9cf45cd2 100755 --- a/buildscript +++ b/buildscript @@ -293,9 +293,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