-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
351 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
-kmod-ppp | ||
-ppp | ||
-ppp-mod-pppoe | ||
-wpad-mini | ||
wpad-mesh-wolfssl | ||
-wpad-basic-wolfssl | ||
-firewall | ||
-firewall4 | ||
-wpad-basic | ||
kmod-ipt-nat | ||
kmod-ipt-conntrack | ||
iptables-mod-ipopt | ||
dnsmasq | ||
rpcd-mod-iwinfo | ||
rpcd | ||
iw | ||
tc | ||
|
||
# GUI-basics | ||
uhttpd | ||
uhttpd-mod-ubus | ||
luci-mod-admin-full | ||
luci-mod-freifunk | ||
freifunk-common-olsr | ||
luci-app-olsr | ||
luci-app-olsr-services | ||
luci-theme-freifunk-generic | ||
libiwinfo-lua | ||
# GUI addon | ||
luci-i18n-base-de | ||
luci-i18n-base-en | ||
luci-i18n-olsr-de | ||
luci-i18n-olsr-en | ||
luci-i18n-freifunk-de | ||
luci-i18n-freifunk-en | ||
|
||
# OLSR | ||
olsrd | ||
olsrd-mod-arprefresh | ||
olsrd-mod-jsoninfo | ||
olsrd-mod-txtinfo | ||
olsrd-mod-nameservice | ||
olsrd-mod-watchdog | ||
olsrd-mod-dyn-gw | ||
|
||
# VPN | ||
weimarnetz-fastd-config | ||
fastd | ||
kmod-l2tp-eth | ||
resolveip | ||
|
||
# Weimarnetz | ||
weimarnetz-ffwizard | ||
luci-app-weimarnetz | ||
weimarnetz-owm-exporter | ||
weimarnetz-button-config | ||
|
||
# extra | ||
tcpdump-mini | ||
iperf | ||
kmod-sched-cake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
#!/bin/bash | ||
|
||
# This is a custom postinst script that gets run by a (patched) | ||
# ImageBuilder Makefile in the target root after installing OpenWrt | ||
# packages, just before building the SquashFS image. | ||
|
||
echo "Deleting OLSR i18n files..." | ||
rm -vf usr/lib/lua/luci/i18n/olsr.* | ||
|
||
# see https://github.com/freifunk-berlin/firmware/pull/341 & | ||
# https://github.com/freifunk-berlin/firmware/issues/262 | ||
cat > lib/upgrade/freiunk-berlin_no-opkg-info-on-4mb-workaround.sh <<'KEEPLIST' | ||
# check for opkg-conffiles that have changed | ||
# this is a workaround for removing opkg from the image and having something | ||
# similar to "opkg list-changed-conffiles" | ||
add_opkg_fix_conffiles() | ||
{ | ||
local filelist="$1" | ||
# find the separator line (### opkg conffiles ###) and check all files listed there | ||
# it's just the list of conffiles extracted from opkg-/status during image-creation | ||
content_separator_line=`sed -n '/^### opkg conffiles ###/=' /lib/upgrade/freiunk-berlin_no-opkg-info-on-4mb-workaround.sh` | ||
let content_separator_line++ | ||
# iterate over all lines after "separator line" | ||
tail -n +$content_separator_line /lib/upgrade/freiunk-berlin_no-opkg-info-on-4mb-workaround.sh | \ | ||
while read filename; do | ||
file_has_changed ${filename} && echo ${filename} >> $filelist | ||
done | ||
} | ||
file_has_changed() { | ||
if cmp -s "$@" "/rom/$@"; then | ||
return 1 | ||
else | ||
# modified | ||
return 0 | ||
fi | ||
} | ||
sysupgrade_init_conffiles="$sysupgrade_init_conffiles add_opkg_fix_conffiles" | ||
# to exit before going down to the filelist | ||
return 0 | ||
### opkg conffiles ### | ||
KEEPLIST | ||
|
||
# this is run during firmware-image creation | ||
# add all conffiles known to opkg | ||
echo "adding opkg-conffiles to sysupgrade-hook" | ||
for file in `cat usr/lib/opkg/info/*.conffiles`; do | ||
grep ${file} usr/lib/opkg/status | awk '{ print $1 }' >>lib/upgrade/freiunk-berlin_no-opkg-info-on-4mb-workaround.sh | ||
done | ||
|
||
echo "deleting opkg status-files ..." | ||
rm -rf usr/lib/opkg | ||
rm -rf etc/opkg* | ||
# as this will be included into image for some reason, even it's | ||
# not listed for inclusion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
-kmod-ppp | ||
-ppp | ||
-ppp-mod-pppoe | ||
-wpad-mini | ||
-wpad | ||
-firewall | ||
-opkg | ||
-wpad-basic | ||
-stubby | ||
hostapd-mini | ||
#kmod-sched-cake | ||
kmod-ipt-nat | ||
kmod-ipt-conntrack | ||
hostapd-mini | ||
iptables-mod-ipopt | ||
dnsmasq | ||
rpcd-mod-iwinfo | ||
rpcd | ||
iw | ||
#tc | ||
-odhcpd-ipv6only | ||
-odhcp6c | ||
-kmod-usb-core | ||
-kmod-usb-ehci | ||
-kmod-usb-ledtrig-usbport | ||
-kmod-usb2 | ||
|
||
# GUI-basics | ||
uhttpd | ||
uhttpd-mod-ubus | ||
|
||
# OLSR | ||
olsrd | ||
olsrd-mod-arprefresh | ||
olsrd-mod-jsoninfo | ||
olsrd-mod-txtinfo | ||
olsrd-mod-nameservice | ||
olsrd-mod-watchdog | ||
olsrd-mod-dyn-gw | ||
|
||
# VPN | ||
fastd | ||
resolveip | ||
freifunk-common-olsr | ||
|
||
# Weimarnetz | ||
weimarnetz-ffwizard | ||
weimarnetz-basic-website | ||
weimarnetz-owm-exporter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
-kmod-ppp | ||
-ppp | ||
-ppp-mod-pppoe | ||
-wpad-mini | ||
-wpad | ||
-firewall | ||
kmod-mac80211-hwsim | ||
# Defaults | ||
hostapd-mini | ||
-kmod-ipt-offload | ||
|
||
# Common | ||
# mtr | ||
iperf | ||
dnsmasq | ||
#iwinfo | ||
libiwinfo-lua | ||
rpcd-mod-iwinfo | ||
|
||
# GUI-basics | ||
uhttpd | ||
luci-mod-admin-full | ||
luci-mod-freifunk | ||
freifunk-common-olsr | ||
luci-app-olsr | ||
luci-app-olsr-services | ||
luci-app-owm | ||
luci-app-owm-cmd | ||
luci-theme-bootstrap | ||
# GUI addon | ||
#luci-i18n-base-de | ||
#luci-i18n-base-en | ||
#luci-i18n-olsr-de | ||
#luci-i18n-olsr-en | ||
|
||
# OLSR | ||
olsrd | ||
olsrd-mod-arprefresh | ||
olsrd-mod-jsoninfo | ||
olsrd-mod-txtinfo | ||
olsrd-mod-nameservice | ||
olsrd-mod-watchdog | ||
olsrd-mod-dyn-gw | ||
|
||
# VPN | ||
fastd | ||
|
||
# Weimarnetz | ||
weimarnetz-ffwizard | ||
luci-app-weimarnetz | ||
kmod-sched-cake | ||
kmod-ifb | ||
sqm-scripts | ||
iw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
-kmod-ppp | ||
-ppp | ||
-ppp-mod-pppoe | ||
-wpad-mini | ||
-wpad | ||
-firewall | ||
|
||
hostapd-mini | ||
kmod-ipt-nat | ||
dnsmasq | ||
rpcd-mod-iwinfo | ||
rpcd | ||
iw | ||
tc | ||
|
||
# GUI-basics | ||
uhttpd | ||
uhttpd-mod-ubus | ||
luci-mod-admin-full | ||
luci-mod-freifunk | ||
freifunk-common-olsr | ||
luci-app-olsr | ||
luci-app-olsr-services | ||
luci-app-owm | ||
luci-app-owm-cmd | ||
luci-theme-bootstrap | ||
libiwinfo-lua | ||
# GUI addon | ||
luci-i18n-base-de | ||
luci-i18n-base-en | ||
luci-i18n-olsr-de | ||
luci-i18n-olsr-en | ||
luci-i18n-freifunk-de | ||
luci-i18n-freifunk-en | ||
|
||
# OLSR | ||
olsrd | ||
olsrd-mod-arprefresh | ||
olsrd-mod-jsoninfo | ||
olsrd-mod-txtinfo | ||
olsrd-mod-nameservice | ||
olsrd-mod-watchdog | ||
olsrd-mod-dyn-gw | ||
|
||
# VPN | ||
fastd | ||
resolveip | ||
|
||
# Weimarnetz | ||
weimarnetz-ffwizard | ||
data-weimar | ||
|
||
# extra | ||
# mtr | ||
tcpdump-mini | ||
iperf | ||
kmod-sched-cake | ||
|
||
# usb thether | ||
kmod-usb-net | ||
kmod-usb-net-rndis | ||
kmod-usb-net-cdc-ether |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
-kmod-ppp | ||
-ppp | ||
-ppp-mod-pppoe | ||
-wpad-mini | ||
-wpad | ||
-firewall4 | ||
kmod-mac80211-hwsim | ||
# Defaults | ||
hostapd-mini | ||
kmod-ipt-nat | ||
kmod-ipt-conntrack | ||
iptables-mod-ipopt | ||
|
||
# Common | ||
# mtr | ||
iperf | ||
dnsmasq | ||
rpcd-mod-iwinfo | ||
rpcd | ||
iw | ||
tc | ||
|
||
# GUI-basics | ||
uhttpd | ||
uhttpd-mod-ubus | ||
luci-mod-admin-full | ||
luci-mod-freifunk | ||
freifunk-common-olsr | ||
luci-app-olsr | ||
luci-app-olsr-services | ||
luci-theme-freifunk-generic | ||
libiwinfo-lua | ||
# GUI addon | ||
luci-i18n-base-de | ||
luci-i18n-base-en | ||
luci-i18n-olsr-de | ||
luci-i18n-olsr-en | ||
luci-i18n-freifunk-de | ||
luci-i18n-freifunk-en | ||
|
||
# OLSR | ||
olsrd | ||
olsrd-mod-arprefresh | ||
olsrd-mod-jsoninfo | ||
olsrd-mod-txtinfo | ||
olsrd-mod-nameservice | ||
olsrd-mod-watchdog | ||
olsrd-mod-dyn-gw | ||
|
||
# VPN | ||
weimarnetz-fastd-config | ||
fastd | ||
kmod-l2tp-eth | ||
resolveip | ||
|
||
# Weimarnetz | ||
weimarnetz-ffwizard | ||
luci-app-weimarnetz | ||
weimarnetz-owm-exporter | ||
weimarnetz-button-config | ||
kmod-sched-cake | ||
kmod-ifb | ||
sqm-scripts | ||
iw | ||
openssh-sftp-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.