Matthias Schiffer
60522ee253
treewide: move package Makefile boilerplate to gluon.mk
2018-03-08 19:49:41 +01:00
Matthias Schiffer
934221b86f
treewide: remove redundant definitions from package Makefiles
2018-03-07 21:23:41 +01:00
Matthias Schiffer
3925344292
gluon-setup-mode: move HTTP server support to gluon-config-mode-core, add gluon-lock-password
2018-02-26 00:07:12 +01:00
Matthias Schiffer
c3e4ceed28
gluon-web: split out model support into a separate package
2018-02-26 00:07:08 +01:00
Matthias Schiffer
7ccdacd294
treewide: rework check_site_lib.lua
...
In addition to significant internal differences in check_site_lib.lua (in
particular unifying error handling to a single place for the upcoming
multi-domain support), this changes the way fields are addressed in site
check scripts: rather than providing a string like 'next_node.ip6', the
path is passed as an array {'next_node', 'ip6'}.
Other changes in site check scripts:
* need_array and need_table now pass the full path to the sub fields to the
subcheck instead of the key and value
* Any check referring to a field inside a table implies that all higher
levels must be tables if they exist: a check for {'next_node', 'ip6'} adds
an implicit (optional) check for {'next_node'}, which allows to remove many
explicit checks for such tables
2018-01-19 10:12:43 +01:00
lemoer
50812b162c
treewide: forbid use of selected site variables in domain specific or site configs
...
[Matthias schiffer: rebase, add a few more restrictions]
2018-01-19 04:05:27 +01:00
Matthias Schiffer
ee6afaced9
treewide: use new gluon.site Lua library
...
Some files have received some additional refactoring.
2017-08-11 22:07:34 +02:00
Matthias Schiffer
2cd30d644b
Remove redundant virtual packages
...
As PROVIDES can be used to replace real packages now, we don't need the
virtual packages as workaround anymore. This also means that the providing
packages don't need to be added to site.mk explicitly anymore when the
default provider is used.
2017-07-08 16:34:40 +02:00
Matthias Schiffer
28f42b24a8
gluon-setup-mode, gluon-status-page-api: remove references to rpcd
...
rpcd is not included in our images anymore since switching to gluon-web, so
we don't need to disable it anymore.
2017-02-24 00:44:03 +01:00
Matthias Schiffer
b45585a109
Switch LAN and WAN port of Ubiquiti AirGateway
...
This makes the LAN port the PoE master, so the AirGateway can be used to
supply power to another node connected via mesh-on-LAN.
Fixes #608
2017-02-23 19:49:39 +01:00
Matthias Schiffer
31d3f08f25
treewide: convert all LuCI-based packages to gluon-web
2017-02-22 01:31:25 +01:00
Matthias Schiffer
f9a52fd54f
Move luci-base dependency from gluon-core to gluon-setup-mode
...
Nothing outside the config mode depends on luci-base anymore.
2017-02-10 02:10:02 +01:00
Matthias Schiffer
6cf03bab37
treewide: replace normal uses of luci.model.uci with simple-uci to reduce LuCI dependencies
...
We also make use of the boolean support of simple-uci to make scripts
clearer.
2017-02-10 02:10:01 +01:00
Matthias Schiffer
78b2775eec
Use LEDE as base for Gluon
2017-01-18 17:21:43 +01:00
Matthias Schiffer
7736f53dc4
Update LuCI to master branch
2017-01-18 16:28:48 +01:00
Matthias Schiffer
2dd8a700ca
package: avoid use of GLUONDIR variable
2017-01-17 21:22:58 +01:00
Matthias Schiffer
99471f8d5d
ar71xx-generic: add support for TP-Link WBS210/510 (untested)
...
Closes #844
2017-01-06 12:02:32 +01:00
Matthias Schiffer
20fc162b38
gluon-core, gluon-setup-mode: fix WAN/LAN assignment on CPE210
...
The interfaces were accidentially switched when the CPE210 was separated
from the CPE510 code.
2016-11-22 20:01:13 +01:00
Matthias Schiffer
55d6f71cff
gluon-setup-mode: remove unneeded require
2016-07-26 01:11:03 +02:00
Jan-Tarek Butt
1c1f490527
Minify all Lua code
2016-07-10 20:14:25 +02:00
Matthias Schiffer
bae721a9bb
Add target ar71xx-mikrotik
...
Fixes #121
Based-on-patch-by: Tobias Hachmer <tobias@hachmer.de>
2016-06-23 00:29:28 +02:00
Matthias Schiffer
cab23b1838
ar71xx-generic: switch default WAN/LAN assignment on Ubiquiti UAP Pro
...
Fixes #764
2016-05-14 01:02:25 +02:00
Matthias Schiffer
087112a09b
ar71xx-generic: add support for UniFi AC PRO/LITE (LITE untested)
...
Also backport some patches improving QCA956x support.
2016-05-14 00:48:10 +02:00
Matthias Schiffer
4658afb2c6
gluon-core: commit all UCI configs at the end
...
Avoid commiting configs inbetween to decrease number of flash writes.
Fixes #714 .
2016-04-02 18:56:45 +02:00
Matthias Schiffer
1838cee0d6
gluon-setup-mode: set br-setup MAC address to the primary MAC address
...
This allows to reach the node in setup mode over the same link-local IPv6
address as br-client uses during normal operation.
2015-05-01 19:57:45 +02:00
Matthias Schiffer
2deb82bcb6
gluon-setup-mode: set regdom
...
OpenWrt doesn't set the regdom unless a WLAN device is started. Explicitly set
the regdom in the setup mode to get the correct list of allowed txpower entries
in the planned LuCI module.
2015-05-01 19:50:40 +02:00
Matthias Schiffer
5aa6838828
Introduce virtual packages for gluon-setup-mode and gluon-config-mode-core
...
This will require site.mk to explicitly pull in the gluon-setup-mode and
gluon-config-mode-core packages.
2015-04-26 13:16:23 +02:00
Matthias Schiffer
cd34cb2ebb
gluon-core, gluon-setup-mode: improve support for UAP Outdoor+
2015-04-08 00:44:12 +02:00
Matthias Schiffer
9b172bbaf4
Move all upgrade scripts to a common directory
...
Moving the scripts to a common directory not only vastly simplifies the
zzz-gluon-upgrade script, but also allows to define an ordering of such
scripts across packages.
2015-01-24 11:27:47 +01:00
Nils Schneider
629409364b
gluon-setup-mode: allow skipping on first boot
...
By setting setup_mode.skip to true in site.conf the device will skip
setup mode on first boot.
2015-01-23 12:05:26 +01:00
Matthias Schiffer
8e33dd5075
gluon-setup-mode: always finalize the overlay before rebooting
...
When an early reboot is triggered because an upgrade script has disabled the
config mode, we need to explicitly call /etc/init.d/done, otherwise the overlay
will not be finalized after a firstboot and we get an endless reboot loop.
2015-01-22 23:53:56 +01:00
Matthias Schiffer
78b43b1dd6
gluon-core, gluon-setup-mode: fix LAN and WAN on nanostation-m-xw
2014-11-26 23:30:56 +01:00
Matthias Schiffer
bf4b3a265f
gluon-setup-mode: initialize all LEDs
2014-11-26 20:32:47 +01:00
Matthias Schiffer
9dd4f52bfa
CPE510-specific config (switch WAN and LAN, config mode on WAN)
2014-11-26 19:50:45 +01:00
Matthias Schiffer
f9e5e3325f
gluon-setup-mode: cleanup and upgrade fix
...
Since switching to Barrier Breaker/procd, we'd not notice if we were
upgrading from a version before renaming the config file to gluon-setup-mode
as the upgrade scripts run after the preinit.
Fix this by checking later during setup mode init again and rebooting into the
regular run mode if we detect this case.
2014-08-16 15:15:24 +02:00
Matthias Schiffer
cd0a932ac0
gluon-setup-mode: provide alternative rc.d directory for procd
2014-08-07 15:52:38 +02:00
Matthias Schiffer
c0139e871f
gluon-setup-mode: change START to 15
...
To start after haveged after the recent update.
2014-08-06 11:45:26 +02:00
Matthias Schiffer
bce2f19a8c
Remove outdated IP dependencies
2014-08-04 20:08:40 +02:00
Matthias Schiffer
58ced87261
Use nicer platform match
2014-07-11 12:11:47 +02:00
Matthias Schiffer
f73d727ae6
Remove all remaining uses of sysconfig.sh
2014-07-10 23:44:06 +02:00
Matthias Schiffer
9c53b705d5
Remove all uses of gluon.model and model.sh
2014-07-10 17:57:31 +02:00
Matthias Schiffer
f93e9b818f
Split gluon-setup-mode package out of gluon-config-mode
...
gluon-config-mode retains the luci frontend, all setup scripts and config is
moved to the new package.
2014-07-05 20:11:41 +02:00