buildscript: Remove warning due to long factory file names

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Reviewed-by: Fabian Bläse <fabian@blaese.de>
This commit is contained in:
Adrian Schmutzler 2019-02-05 14:56:02 +01:00 committed by Fabian Bläse
parent 06bf24f639
commit 95bfe752f0
1 changed files with 0 additions and 3 deletions

View File

@ -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