Skip to content

Commit

Permalink
fix(image-customization.lua): move away from site.mk (required by v20…
Browse files Browse the repository at this point in the history
…23.2) + add tls packages

solves #54
  • Loading branch information
genofire committed Jan 23, 2024
1 parent 88e9091 commit aabed69
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 39 deletions.
47 changes: 47 additions & 0 deletions image-customization.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
features({
'autoupdater',
'ebtables-filter-multicast',
'ebtables-filter-ra-dhcp',
'ebtables-limit-arp',
'mesh-batman-adv-15',
'mesh-vpn-fastd',
'respondd',
'status-page',
'web-advanced',
'web-wizard',
})

packages({
'gluon-ssid-changer',
'respondd-module-airtime',
'gluon-config-mode-core',
'gluon-config-mode-domain-select',
'gluon-config-mode-geo-location',
'gluon-config-mode-geo-location-osm',
'gluon-web-mesh-vpn-fastd',
'gluon-web-private-wifi',
'gluon-radv-filterd',
'gluon-setup-mode',
'gluon-speedtest',
'iwinfo',
'firewall',
'urngd',
'gluon-scheduled-domain-switch',
})

if not device_class('tiny') then
features({
'wireless-encryption-wpa3',
})
packages({
'ca-bundle',
'ca-certificates',
'libustream-openssl',
})
end

if target('ramips','mt7621') then
packages({
'-respondd-module-airtime',
})
end
39 changes: 0 additions & 39 deletions site.mk
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
GLUON_FEATURES := \
autoupdater \
ebtables-filter-multicast \
ebtables-filter-ra-dhcp \
ebtables-limit-arp \
mesh-batman-adv-15 \
mesh-vpn-fastd \
respondd \
status-page \
web-advanced \
web-wizard

GLUON_SITE_PACKAGES := \
gluon-ssid-changer \
respondd-module-airtime \
gluon-config-mode-core \
gluon-config-mode-domain-select \
gluon-config-mode-geo-location \
gluon-config-mode-geo-location-osm \
gluon-web-mesh-vpn-fastd \
gluon-web-private-wifi \
gluon-radv-filterd \
gluon-setup-mode \
gluon-speedtest \
iwinfo \
firewall \
urngd \
gluon-scheduled-domain-switch

# Allow overriding the these variables from the command line
GLUON_RELEASE ?= $(patsubst v%,%,$(shell git -C $(GLUON_SITEDIR) describe --tags --dirty=+))
GLUON_AUTOUPDATER_BRANCH ?= stable
Expand All @@ -36,13 +7,3 @@ GLUON_DEPRECATED ?= upgrade
GLUON_LANGS ?= en de
GLUON_REGION ?= eu
GLUON_MULTIDOMAIN=1


EXCLUDE_NO_WIFI:= -respondd-module-airtime

# ramips-mt7621
ifeq ($(GLUON_TARGET),ramips-mt7621)
GLUON_ubnt-erx_SITE_PACKAGES += $(EXCLUDE_NO_WIFI)
GLUON_ubnt-erx-sfp_SITE_PACKAGES += $(EXCLUDE_NO_WIFI)
endif

0 comments on commit aabed69

Please sign in to comment.