ImageBuilder ar71xx BIN_DIR issue
Username: Federico Capoano
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=590
Software versions of LEDE release: lede 17 branch
Steps to reproduce:
-
compile ar71xx with image builder support from lede 17 branch
-
use the imagebuilder like: make image BIN_DIR=/var/www/downoads
we started testing lede-17.01 for
OpenWISP.org
and we noticed a
strange issue with the image-generator.
We supply a command like:
make image PROFILE=”Default” BIN_DIR=”$BIN_DIR”
but the image building fails because something goes to look for binaries
in ./bin/targets/ar71xx/generic instead of
“$BIN_DIR/targets/ar71xx/generic”.
If we create manually the dir with:
mkdir ./bin/targets/ar71xx/generic
The image building procedure completes successfully.
Is this desired behaviour or not?
We had to insert a workaround in our
automated LEDE compilation process
.