Lot of errors using imageuilder

When trying to build an image for the AR150, I see a lot of errors.
How come ?
out.zip (9.0 KB)

Broken, too:
./gl_image -d gl-ar150 &> gl_image.out

Configuring libip6tc.
Configuring kmCollected errors:

  • opkg_install_cmd: Cannot install package gl-base-files.
  • opkg_install_cmd: Cannot install package gl-files-brower.
  • opkg_install_cmd: Cannot install package gl-firewall.
  • opkg_install_cmd: Cannot install package gl-mem-monitor.
  • opkg_install_cmd: Cannot install package gl-modem.
  • opkg_install_cmd: Cannot install package gl-repeater.
  • opkg_install_cmd: Cannot install package gl-sdk.
  • opkg_install_cmd: Cannot install package gl-software.
  • opkg_install_cmd: Cannot install package gl-ui.
  • opkg_install_cmd: Cannot install package gl-util.
  • opkg_install_cmd: Cannot install package gl-vpn.
  • opkg_install_cmd: Cannot install package gl-vpn-server.
  • opkg_install_cmd: Cannot install package gl-wan-detect.
  • opkg_install_cmd: Cannot install package gl-wg.
  • opkg_install_cmd: Cannot install package gl-wg-server.
  • opkg_install_cmd: Cannot install package gl-wifi-core.

Is there any working method, documented, preferred,
to build an image for the AR150 ?

I have a lot of expirience building custom firmware on various openwrt devices, based on “official” openwrt, but trying to use GLiNets private stuff is rather frustrating.

What does the -d option do? I’ve only used -p for my routers.

Edit: Nevermind. I see you are using the old script. Have you tried the newer one?

Yes.
The result is in the provided out.zip. Using the old stuff was in the wrong hope, to work with stable environment.

I’ve always assumed those errors were because the config files weren’t yet created.

i.e. gl_util: Not found; however, there is gl-util accessed and available. Then the question arises, are all the errors regarding gl_util caused by typos ?
If yes, then it leaves a bad taste regarding software quality.
Or, do you say, gl_util will be created later on, and the errors are caused by careless coding ?

In case, you did image(s) yourself, for which device ?

I’ve been using it for my Mango, deleting gltertf, all ipv6, nodogsplash, to skinny down my space for other packages.

I don’t know that they are typos, just checking for configuration files that might need changing, like all the wireguard configurations.

The errors haven’t impaired the functions I’ve been using.

Please use -i and don’t include gl packages.

Sorry, but I need to use some of the gl packages. I want to refurbish old custom firmware, developed for the AR150, which also includes additions/mods to the GLi-Net UI, for example.
I also need to port the same custom stuff to the 300M16.
Otherwise I would have used official openwrt already.

Please use this one GitHub - gl-inet/imagebuilder: Warning!Please look at 'GL.iNET Imagebuilder Introduction' section.

Just build with this command without problem.

./gl_image -p ar150

BTW: You might consider using “official” openwrt. Did it, for Mango, too, works like a charm. When building image from source, you have most freedom to choose the packages, you want. And to optimize flash usage.

Used it already. Did not dare to flash image to the AR150, because of the lot of error messages during build. See my out.zip. So you say, I can ignore the bunch of errors ?

It should be OK. You can omit and flash your firmware to the router.

If the firmware has problems you can use uboot to flash back.

openwrt uses opensource drivers for Mango and Beryl; the GL-inet uses the MTK closed source drivers. Not quite ready to switch.

1 Like