You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 [[http://openwisp.org|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 [[https://github.com/openwisp/ansible-openwisp2-imagegenerator/commit/be8602dff0e4892a7206618a3e3dba9b5154eee7|automated LEDE compilation process]].
The text was updated successfully, but these errors were encountered:
We observed the same issue at Freifunk Berlin. When BIN_DIR is provided, some profiles work while others don't. Without BIN_DIR, everything works as expected. As an example, the following command does not work:
$ make image PROFILE=DIR505A1 PACKAGES="-ppp -ppp-mod-pppoe" BIN_DIR="/tmp/images"
[...]
bash: /tmp/freifunk-berlin-imagebuilder-1.0.0-alpha-ar71xx-generic.Linux-x86_64/bin/targets/ar71xx/generic/freifunk-berlin-1.0.0-alpha-ar71xx-generic-dir-505-a1-squashfs-sysupgrade.bin: No such file or directory
[...]
nemesisdesign:
Software versions of LEDE release: lede 17 branch
Steps to reproduce:
we started testing lede-17.01 for [[http://openwisp.org|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 [[https://github.com/openwisp/ansible-openwisp2-imagegenerator/commit/be8602dff0e4892a7206618a3e3dba9b5154eee7|automated LEDE compilation process]].
The text was updated successfully, but these errors were encountered: