Compare commits

...

10 commits

Author SHA1 Message Date
Daniel Frank
b3c3b41e30
support BUILD_DATE for experimental versions 2024-11-04 20:05:53 +01:00
Daniel Frank
db81f77fd0
dont nuke the output directory on each run 2024-11-04 00:49:48 +01:00
Daniel Frank
9c77f19549
v2023.2.4.0 2024-11-01 20:52:11 +01:00
Entil_Zha
6251517fe4 add mediatek-filogic targets 2024-09-16 19:38:57 +02:00
Daniel Frank
87e65917f8
v2023.2.2.0 2024-03-26 21:34:19 +01:00
Daniel Frank
1a956e5375
add updates for v2023.2 from Björn 2024-03-26 21:33:19 +01:00
Daniel Frank
6436e5cec6
v2023.1.2 2024-03-25 17:00:17 +01:00
Daniel Frank
e0206d0372
v2022.1.4.0 2024-02-02 20:05:50 +01:00
Daniel Frank
cd2d266749
Updates for v2022.1.3.0 2023-03-20 20:11:49 +01:00
Daniel Frank
df829eb3d0
Update for v2022.1.1.0 2023-02-06 20:48:42 +01:00
5 changed files with 46 additions and 35 deletions

View file

@ -2,7 +2,7 @@
In the next two commands replace GLUON_VERSION and SITE_VERSION with the actual version numbers.
$ git clone -b GLUON_VERSION https://github.com/freifunk-gluon/gluon.git
$ git clone -b SITE_VERSION https://github.com/freifunkhamburg/site-ffhh.git
$ git clone -b SITE_VERSION https://git.hamburg.ccc.de/freifunk/site-ffhh.git
$ cd site-ffhh
To build the firmware into the subdirectory firmware:
@ -15,7 +15,12 @@ Please see [the official Gluon repository](https://github.com/freifunk-gluon/glu
#### Gluon versions used for specific Hamburg Freifunk Firmware builds
- v2022.1.0.0: site-ffhh: v2022.1.0.0, gluon: v2022.1
- v2023.2.4.0: site-ffhh: v2023.2.4.0, gluon: v2023.2.4
- v2023.2.2.1: site-ffhh: v2023.2.2.0, gluon: v2023.2.2 (add mediatek-filogic Routers)
- v2023.2.2.0: site-ffhh: v2023.2.2.0, gluon: v2023.2.2
- v2023.1.2.0: site-ffhh: v2023.1.2.0, gluon: v2023.1.2
- v2022.1.4.0: site-ffhh: v2022.1.4.0, gluon: v2022.1.4
- v2022.1.3.0: site-ffhh: v2022.1.3.0, gluon: v2022.1.3 (nur experimental verteilt)
- v2021.1.2.0: site-ffhh: v2021.1.2.0, gluon: v2021.1.2
- v2021.1.1.0: site-ffhh: v2021.1.1.0, gluon: v2021.1.1
- v2020.2.3.0: site-ffhh: v2020.2.3.0, gluon: v2020.2.3

View file

@ -1,5 +1,5 @@
GLUON_RELEASE="v2022.1.0.0"
targets="ath79-generic ath79-nand ath79-mikrotik bcm27xx-bcm2708 bcm27xx-bcm2709 ipq40xx-generic ipq40xx-mikrotik ipq806x-generic lantiq-xrx200 lantiq-xway mediatek-mt7622 mpc85xx-p1010 mpc85xx-p1020 ramips-mt7620 ramips-mt7621 ramips-mt76x8 rockchip-armv8 sunxi-cortexa7 x86-generic x86-geode x86-legacy x86-64"
GLUON_RELEASE="v2023.2.4.0"
targets="ath79-generic ath79-nand ath79-mikrotik bcm27xx-bcm2708 bcm27xx-bcm2709 ipq40xx-generic ipq40xx-mikrotik ipq806x-generic lantiq-xrx200 lantiq-xway mediatek-filogic mediatek-mt7622 mpc85xx-p1010 mpc85xx-p1020 ramips-mt7620 ramips-mt7621 ramips-mt76x8 rockchip-armv8 sunxi-cortexa7 x86-generic x86-geode x86-legacy x86-64"
broken_images=(
'*dir*615*d*'
)

View file

@ -79,7 +79,7 @@ pushd "$site_path"
# shellcheck source=/dev/null
. ./build.conf
GLUON_AUTOUPDATER_BRANCH="${GLUON_AUTOUPDATER_BRANCH:-experimental}"
[ "${GLUON_AUTOUPDATER_BRANCH}" = "experimental" ] && GLUON_RELEASE="${GLUON_RELEASE}~exp$(date +%Y%m%d)"
[ "${GLUON_AUTOUPDATER_BRANCH}" = "experimental" ] && GLUON_RELEASE="${GLUON_RELEASE}~exp${BUILD_DATE:-$(date +%Y%m%d)}"
export GLUON_RELEASE
export GLUON_AUTOUPDATER_BRANCH
export GLUON_SITEDIR="${site_path}"
@ -91,7 +91,6 @@ env | egrep '^GLUON' | sort
pushd "${gluon_path}"
announce Starting make update...
rm -rf "${GLUON_OUTPUTDIR}"
mkdir -p "${GLUON_OUTPUTDIR}"
make update
# Try to install patches. I wasn't able to figure out how patches in gluon/site/patches work.

36
image-customization.lua Normal file
View file

@ -0,0 +1,36 @@
features({
'autoupdater',
'config-mode-domain-select',
'ebtables-filter-multicast',
'ebtables-filter-ra-dhcp',
'mesh-batman-adv-15',
'mesh-vpn-fastd',
'web-private-wifi',
'radv-filterd',
'respondd',
'status-page',
'web-advanced',
'web-wizard',
})
if not device_class('tiny') then
features({
'wireless-encryption-wpa3',
})
end
packages({
'-gluon-config-mode-geo-location',
'-gluon-config-mode-contact-info',
'gluon-ebtables-source-filter',
'gluon-web-mesh-vpn-fastd',
'iwinfo',
})
if target('x86') then
packages({
'nano',
'htop',
'ethtool',
})
end

29
site.mk
View file

@ -3,35 +3,6 @@ GLUON_DEPRECATED := upgrade
GLUON_AUTOUPDATER_ENABLED ?= 1
GLUON_SITE_PACKAGES := \
-gluon-config-mode-geo-location \
-gluon-config-mode-contact-info \
gluon-ebtables-source-filter \
gluon-web-mesh-vpn-fastd \
iwinfo
GLUON_FEATURES := \
autoupdater \
config-mode-domain-select \
ebtables-filter-multicast \
ebtables-filter-ra-dhcp \
mesh-batman-adv-15 \
mesh-vpn-fastd \
web-private-wifi \
radv-filterd \
respondd \
status-page \
web-advanced \
web-wizard
# x86 and x86-64 add extra software
ifeq ($(GLUON_TARGET),$(filter $(GLUON_TARGET),x86-generic x86-64))
GLUON_SITE_PACKAGES += \
nano \
htop \
ethtool
endif
GLUON_PRIORITY ?= 7
# Region code required for some images; supported values: us eu