the problem is that PACKAGES flag is empty, it should show a series of
packages separated by space.
It looks like a bug and unfortunately I don't know how to fix it because I
am busy on other fronts right now.
If you could open a bug report at
https://github.com/openwisp/ansible-openwisp2-imagegenerator/issues it
would be helpful.

If you can't find a fix I suggest to compile manually.

Federico

On Tue, Dec 5, 2017 at 7:10 AM David MISTRETTA <goldo...@gmail.com> wrote:

> Hi Frederico
>
> root@openwisp2:~/user/openwisp2-firmware-generator/ramips-mt7620# make
> image  PROFILE="gl-mt300a" PACKAGES=""
> FILES="/root/user/openwisp2-firmware-generator/files/snakeoil"
> he does not find
> Unknown package 'wpad-mini'.
> ....
> ....
> Collected errors:
>  * opkg_install_cmd: Cannot install package wpad-mini.
> Makefile:140: recipe for target 'package_install' failed
> make[2]: *** [package_install] Error 255
> make[2]: Leaving directory
> '/root/user/openwisp2-firmware-generator/ramips-mt7620'
> Makefile:110: recipe for target '_call_image' failed
> make[1]: *** [_call_image] Error 2
> make[1]: Leaving directory
> '/root/user/openwisp2-firmware-generator/ramips-mt7620'
> Makefile:196: recipe for target 'image' failed
> make: *** [image] Error 2
>
> he does not download wpad-mini
> I add manually in package
>
> http://downloads.lede-project.org/releases/17.01-SNAPSHOT/packages/mipsel_24kc/base/wpad-mini_2016-12-19-ad02e79d-6_mipsel_24kc.ipk
> he has successfully compiled manually
>
>
> how to add it in my playbook, if it's possible ?
>
>
>
>
>
> Le lundi 4 décembre 2017 16:20:34 UTC+1, Federico Capoano a écrit :
>
>> Try launching the build-images.sh script manually and try to understand
>> which line fails.
>>
>> If you can find a fix, let us know.
>>
>> I think the lines that cause the error may be:
>>
>> https://github.com/openwisp/ansible-openwisp2-imagegenerator/blob/master/templates/build/build-images.sh.jinja2#L46-L49
>>
>> But I'm not 100% sure.
>>
>> Federico
>>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenWISP" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openwisp+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to