Building firmwre from image builder for GL AR300M is breaking


I did a fresh installation.

test@ubuntu:~/office-work/gl_imagebuilder$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

Used below command to install required packages.
sudo apt update && sudo apt upgrade -y
sudo apt install device-tree-compiler gawk gcc git g++ make ncurses-dev python unzip -y

Cloned the Imagebuilder to my system

git clone GitHub - gl-inet/imagebuilder: Warning!Please look at 'GL.iNET Imagebuilder Introduction' section. gl_imagebuilder
cd gl_imagebuilder

ran the following command

./gl_image -p ar300m -e “openssh-sftp-server nano htop”

and encountered the following probelm.

Configuring gl-sdk.
Configuring blkid.
Configuring gl-firewall.
Configuring kmod-GobiSerial.
Configuring lighttpd-mod-fastcgi.
Configuring kmod-crypto-sha1.
Configuring kmod-mppe.
Configuring kmod-GobiNet.
Configuring gl-ui.
Configuring ppp-mod-pppoe.
Configuring dnsmasq-full.
Collected errors:

  • opkg_install_cmd: Cannot install package gl-crond.
    Makefile:149: recipe for target ‘package_install’ failed
    make[2]: *** [package_install] Error 255
    Makefile:108: recipe for target ‘_call_image’ failed
    make[1]: *** [_call_image] Error 2
    Makefile:192: recipe for target ‘image’ failed
    make: *** [image] Error 2
    Failed to build GL-AR300M…

Probably, something needs to be fixed in installation instructions.

replied you in another thread. Remove “gl-crond” from your build or update your git.