Sorry for the late reply, been busy with getting the compile to work correctly.
No problem glad to be of assistance.
On the positive side i have now made a better script, after forking glinet’s repo.
Simply SSH into your build box then enter the following
nano glinet.sh
Or
vim glinet.sh
Paste below into it and save.
#!/bin/bash
## Update and install required packages for Gl-Inet Intra Cross Compile ##
sudo apt update && sudo apt dist-upgrade -y
sudo apt install -y build-essential ccache ecj fastjar file g++ gawk subversion swig time \
gettext git java-propose-classpath libelf-dev libncurses5-dev \
libncursesw5-dev libssl-dev unzip wget binutils bzip2 diffutils flex perl clang \
python3 python2.7-dev python3 python3-distutils python3-setuptools \
xsltproc zlib1g-dev sshpass dos2unix zip patch curl \
make diffutils gcc grep libc-dev libz-dev rsync docbook2x util-linux \
perl subversion gcc-multilib g++-multilib git-core ocaml sharutils re2c qemu-guest-agent
## Unsetting SED ##
#unset SED
## Clone Intra ##
git clone https://github.com/solidus1983/gl-infra-builder.git
cd ~/gl-infra-builder
python3 setup.py -c config-wlan-ap.yml
## Add Themes ##
cd ~/gl-infra-builder/wlan-ap/openwrt/package
git clone -b master https://github.com/jerrykuku/luci-theme-argon.git
git clone -b master https://github.com/jerrykuku/luci-app-argon-config.git
## Complete Intra Setup ##
cd ~/gl-infra-builder/wlan-ap/openwrt
./scripts/gen_config.py target_wlan_ap-gl-ax1800 solidus1983build
## Fix Config ##
cd ~/gl-infra-builder/wlan-ap/openwrt
sed -i '/is not set/d' .config
### Run Menuconfig to adjust things ##
./scripts/getver.sh > ~/gl-infra-builder/wlan-ap/openwrt/version.info
cat ~/gl-infra-builder/wlan-ap/openwrt/version.info
read -p "Edit the .config file and then press any key to continue... " -n1 -s
make menuconfig
make defconfig
## Compile ##
IGNORE_ERRORS=1 make -j$(($(nproc)+1)) V=sc
This script once you have chmod a+x glinet.sh
then ./glinet.sh
it will then make the entire build enviroment for you if your using either Debian 11.2 or Ubuntu 21.x+ then after compile the firmware.
Hopefully this will make it easier for the average joe. If you need to edit the .config
file simply edit the solidus1983build.yml
file in the ~/gl-infra-builder/profiles
folder.
Be glad when this is all working and over, i can then get more then 2 hour sleep a day, this is taking why too much of my time and its not doing me any good lol.
Forgot to add the contents of the solidus1983build.yml file
---
description: Add the LUCI dependencies for Solidus1983 Build
feeds:
- name: glinet
path: ../feeds_dir/glinet
packages:
- luci
- luci-base
- luci-mod-rpc
- 464xlat
- 6in4
- 6rd
- 6to4
- adblock
- banip
- bcp38
- bind-client
- bind-libs
- bind-nslookup
- cgi-io
- collectd
- collectd-mod-cpu
- collectd-mod-interface
- collectd-mod-iwinfo
- collectd-mod-load
- collectd-mod-memory
- collectd-mod-network
- collectd-mod-rrdtool
- collectd-mod-sensors
- collectd-mod-thermal
- collectd-mod-vmem
- collectd-mod-wireless
- coreutils
- coreutils-sort
- curl
- ddns-scripts
- ddns-scripts-cloudflare
- ddns-scripts-digitalocean
- ddns-scripts-freedns
- ddns-scripts-godaddy
- ddns-scripts-noip
- ddns-scripts-nsupdate
- ddns-scripts-route53
- ddns-scripts-services
- dnscrypt-proxy2
- dnsmasq-full
- dnsmasq_full_auth
- dnsmasq_full_conntrack
- dnsmasq_full_dhcp
- dnsmasq_full_dhcpv6
- dnsmasq_full_dnssec
- dnsmasq_full_ipset
- dnsmasq_full_noid
- dnsmasq_full_tftp
- etherwake
- igmpproxy
- ip-bridge
- ip-full
- iperf
- iperf3
- ipset
- ipset-dns
- iptables-mod-conntrack-extra
- iptables-mod-conntrack-label
- iptables-mod-dhcpmac
- iptables-mod-filter
- iptables-mod-hashlimit
- iptables-mod-iface
- iptables-mod-ipmark
- iptables-mod-ipopt
- iptables-mod-iprange
- iptables-mod-ipsec
- iptables-mod-nat-extra
- iptables-mod-physdev
- iptables-mod-proto
- kmod-asn1-decoder
- kmod-atm
- kmod-br-netfilter
- kmod-dnsresolver
- kmod-fs-exportfs
- kmod-fs-ksmbd
- kmod-fs-nfs-common
- kmod-fs-nfs-common-rpcsec
- kmod-fs-nfsd
- kmod-ifb
- kmod-ip6tables-extra
- kmod-ipip
- kmod-ipoa
- kmod-ipsec
- kmod-ipsec4
- kmod-ipsec6
- kmod-ipt-checksum
- kmod-ipt-compat-xtables
- kmod-ipt-conntrack-extra
- kmod-ipt-conntrack-label
- kmod-ipt-dhcpmac
- kmod-ipt-extra
- kmod-ipt-filter
- kmod-ipt-hashlimit
- kmod-ipt-iface
- kmod-ipt-ipmark
- kmod-ipt-ipopt
- kmod-ipt-iprange
- kmod-ipt-ipsec
- kmod-ipt-ipset
- kmod-ipt-nat-extra
- kmod-ipt-nat6
- kmod-ipt-physdev
- kmod-ipt-proto
- kmod-ipt-raw
- kmod-ipt-raw6
- kmod-l2tp
- kmod-lib-crc32c
- kmod-lib-lzo
- kmod-lib-textsearch
- kmod-lib-zlib-deflate
- kmod-lib-zlib-inflate
- kmod-mppe
- kmod-nat46
- kmod-netem
- kmod-nls-utf8
- kmod-pppoa
- kmod-pppol2tp
- kmod-pptp
- kmod-sched
- kmod-sched-act-vlan
- kmod-sched-core
- kmod-sched-ipset
- kmod-sit
- kmod-tun
- kmod-udptunnel4
- kmod-udptunnel6
- kmod-veth
- kmod-wireguard
- kmod-zram
- ksmbd-server
- libatomic
- libbpf
- libcap
- libcap-ng
- libcurl
- libelf
- libgmp
- libipset
- libiwinfo-lua
- libltdl
- liblua
- liblucihttp
- liblucihttp-lua
- libmnl
- libnatpmp
- libnetfilter-conntrack
- libnettle
- libnfnetlink
- libnghttp2
- libnl-core
- libnl-genl
- libopenssl
- libopenssl-conf
- librrd1
- librt
- libsensors
- libsysfs
- libubus-lua
- libuci-lua
- libupnp
- libustream-openssl
- libuuid
- libuv
- libwebsockets-full
- linux-atm
- lm-sensors
- lua
- luci-app-adblock
- luci-app-banip
- luci-app-bcp38
- luci-app-ddns
- luci-app-firewall
- luci-app-ksmbd
- luci-app-openvpn
- luci-app-opkg
- luci-app-qos
- luci-app-sqm
- luci-app-statistics
- luci-app-ttyd
- luci-app-uhttpd
- luci-app-upnp
- luci-app-vpn-policy-routing
- luci-app-vpnbypass
- luci-app-wol
- luci-compat
- luci-lib-base
- luci-lib-ip
- luci-lib-ipkg
- luci-lib-json
- luci-lib-jsonc
- luci-lib-nixio
- luci-lib-nixio_openssl
- luci-lib-px5g
- luci-mod-admin-full
- luci-mod-network
- luci-mod-status
- luci-mod-system
- luci-proto-ipv6
- luci-proto-ppp
- luci-proto-wireguard
- luci-ssl-openssl
- luci-theme-bootstrap
- luci-theme-argon
- luci-app-argon-config
- mdnsd
- miniupnpd
- mwan3
- natpmpc
- netperf
- openssl-util
- ppp-mod-pppoa
- ppp-mod-pppol2tp
- ppp-mod-pptp
- qos-scripts
- resolveip
- rpcd
- rpcd-mod-file
- rpcd-mod-iwinfo
- rpcd-mod-luci
- rpcd-mod-rrdns
- rrdtool1
- speedtest-netperf
- sqm-scripts
- sysfsutils
- tc-full
- tc-mod-iptables
- ttyd
- u2pnpd
- ucert
- uclibcxx
- uhttpd
- uhttpd-mod-ubus
- umdns
- vpn-policy-routing
- vpnbypass
- wireless-regdb
- wpad-openssl
- wsdd2
- zlib
- zram-swap
diffconfig: |
CONFIG_LUCI_LANG_ar=y
CONFIG_LUCI_LANG_bg=y
CONFIG_LUCI_LANG_bn_BD=y
CONFIG_LUCI_LANG_ca=y
CONFIG_LUCI_LANG_cs=y
CONFIG_LUCI_LANG_de=y
CONFIG_LUCI_LANG_el=y
CONFIG_LUCI_LANG_en=y
CONFIG_LUCI_LANG_es=y
CONFIG_LUCI_LANG_fi=y
CONFIG_LUCI_LANG_fr=y
CONFIG_LUCI_LANG_he=y
CONFIG_LUCI_LANG_hi=y
CONFIG_LUCI_LANG_hu=y
CONFIG_LUCI_LANG_it=y
CONFIG_LUCI_LANG_ja=y
CONFIG_LUCI_LANG_ko=y
CONFIG_LUCI_LANG_mr=y
CONFIG_LUCI_LANG_ms=y
CONFIG_LUCI_LANG_nb_NO=y
CONFIG_LUCI_LANG_nl=y
CONFIG_LUCI_LANG_pl=y
CONFIG_LUCI_LANG_pt=y
CONFIG_LUCI_LANG_pt_BR=y
CONFIG_LUCI_LANG_ro=y
CONFIG_LUCI_LANG_ru=y
CONFIG_LUCI_LANG_sk=y
CONFIG_LUCI_LANG_sv=y
CONFIG_LUCI_LANG_tr=y
CONFIG_LUCI_LANG_uk=y
CONFIG_LUCI_LANG_vi=y
CONFIG_LUCI_LANG_zh_Hans=y
CONFIG_LUCI_LANG_zh_Hant=y
CONFIG_ALL_KMODS=y
CONFIG_ALL_NONSHARED=y
CONFIG_ALL=y