[PATCH 1/2] buildscript: Remove warning due to long factory file names
Adrian Schmutzler
freifunk at adrianschmutzler.de
Di Feb 5 14:56:02 CET 2019
Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
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
--
2.11.0
Mehr Informationen über die Mailingliste franken-dev