Fix ax6000 array

This commit is contained in:
2023-05-11 16:53:03 -04:00
parent 5c6d589e0b
commit 1904d14773
2 changed files with 70 additions and 91 deletions

View File

@@ -26,7 +26,7 @@ printHelp() {
OPTIONS OPTIONS
--profile,-p PROFILE --profile,-p PROFILE
--release,-r,--version,-v RELEASE ("snapshot", "22.03.3") --release,-r,--version,-v RELEASE ("snapshot", "22.03.5")
--buildroot,-b PATH --buildroot,-b PATH
Default: location of openwrtbuilder script Default: location of openwrtbuilder script
--source --source

159
profiles
View File

@@ -23,27 +23,27 @@ default_packages="\
collectd-mod-conntrack \ collectd-mod-conntrack \
collectd-mod-cpu" collectd-mod-cpu"
declare -Ag archer # declare -Ag archer
archer['profile']="tplink_archer-c7-v2" # archer['profile']="tplink_archer-c7-v2"
archer['target']="ath79/generic" # archer['target']="ath79/generic"
archer['filesystem']="squashfs" # archer['filesystem']="squashfs"
archer['packages']="\ # archer['packages']="\
$default_packages \ # $default_packages \
-dnsmasq \ # -dnsmasq \
-odhcpd \ # -odhcpd \
-iptables \ # -iptables \
-ath10k-firmware-qca988x-ct \ # -ath10k-firmware-qca988x-ct \
ath10k-firmware-qca988x-ct-full-htt" # ath10k-firmware-qca988x-ct-full-htt"
declare -Ag linksys # declare -Ag linksys
linksys['profile']="linksys_ea8300" # linksys['profile']="linksys_ea8300"
linksys['target']="ipq40xx/generic" # linksys['target']="ipq40xx/generic"
linksys['filesystem']="squashfs" # linksys['filesystem']="squashfs"
linksys['packages']="\ # linksys['packages']="\
$default_packages \ # $default_packages \
-dnsmasq \ # -dnsmasq \
-odhcpd \ # -odhcpd \
-iptables" # -iptables"
declare -Ag rpi4 declare -Ag rpi4
rpi4['profile']="rpi-4" rpi4['profile']="rpi-4"
@@ -61,44 +61,44 @@ rpi4['packages']="\
luci-app-ddns \ luci-app-ddns \
luci-app-sqm" luci-app-sqm"
declare -Ag r2s # declare -Ag r2s
r2s['profile']="friendlyarm_nanopi-r2s" # r2s['profile']="friendlyarm_nanopi-r2s"
r2s['target']="rockchip/armv8" # r2s['target']="rockchip/armv8"
r2s['filesystem']="ext4" # r2s['filesystem']="ext4"
r2s['packages']="\ # r2s['packages']="\
$default_packages \ # $default_packages \
luci-app-upnp \ # luci-app-upnp \
luci-app-wireguard \ # luci-app-wireguard \
luci-app-pbr \ # luci-app-pbr \
-dnsmasq \ # -dnsmasq \
dnsmasq-full \ # dnsmasq-full \
luci-app-ddns \ # luci-app-ddns \
luci-app-sqm \ # luci-app-sqm \
luci-app-statistics \ # luci-app-statistics \
collectd-mod-sensors \ # collectd-mod-sensors \
collectd-mod-thermal \ # collectd-mod-thermal \
collectd-mod-conntrack \ # collectd-mod-conntrack \
smcroute \ # smcroute \
curl \ # curl \
ethtool" # ethtool"
declare -Ag r2s_tr # declare -Ag r2s_tr
r2s_tr['profile']="friendlyarm_nanopi-r2s" # r2s_tr['profile']="friendlyarm_nanopi-r2s"
r2s_tr['target']="rockchip/armv8" # r2s_tr['target']="rockchip/armv8"
r2s_tr['filesystem']="ext4" # r2s_tr['filesystem']="ext4"
r2s_tr['packages']="\ # r2s_tr['packages']="\
$default_packages \ # $default_packages \
luci-app-upnp \ # luci-app-upnp \
luci-app-wireguard \ # luci-app-wireguard \
luci-app-pbr \ # luci-app-pbr \
luci-app-ddns \ # luci-app-ddns \
luci-app-statistics \ # luci-app-statistics \
collectd-mod-sensors \ # collectd-mod-sensors \
collectd-mod-thermal \ # collectd-mod-thermal \
collectd-mod-conntrack \ # collectd-mod-conntrack \
curl \ # curl \
ethtool \ # ethtool \
travelmate" # travelmate"
declare -Ag r4s declare -Ag r4s
r4s['profile']="friendlyarm_nanopi-r4s" r4s['profile']="friendlyarm_nanopi-r4s"
@@ -116,6 +116,7 @@ r4s['packages']="\
btrfs-progs \ btrfs-progs \
block-mount \ block-mount \
smcroute \ smcroute \
avahi-daemon \
curl \ curl \
ethtool \ ethtool \
ca-bundle \ ca-bundle \
@@ -128,40 +129,18 @@ r4s['nested_kopts']="CONFIG_TARGET_OPTIMIZATION=\"-O3 -pipe -mcpu=cortex-a72.cor
r4s['files']="\ r4s['files']="\
/mnt/backup" /mnt/backup"
declare -Ag r4s_stock # declare -Ag r4s_stock
r4s_stock['profile']="friendlyarm_nanopi-r4s" # r4s_stock['profile']="friendlyarm_nanopi-r4s"
r4s_stock['target']="rockchip/armv8" # r4s_stock['target']="rockchip/armv8"
r4s_stock['filesystem']="ext4" # r4s_stock['filesystem']="ext4"
r4s_stock['release']="snapshot" # r4s_stock['release']="snapshot"
# r4s_stock['packages']="\
# $default_packages \
# luci-app-ddns \
# irqbalance \
# collectd-mod-df \
# usbutils \
# kmod-usb-storage \
# kmod-usb-storage-uas \
# kmod-fs-btrfs \
# btrfs-progs \
# block-mount \
# smcroute \
# curl \
# ethtool \
# ca-bundle"
# r4s_stock['kopts']="\
# CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y \
# CONFIG_BTRFS_PROGS_ZSTD=y \
# CONFIG_TARGET_ROOTFS_PARTSIZE=1024"
# r4s_stock['nested_kopts']="CONFIG_TARGET_OPTIMIZATION=\"-O3 -pipe -mcpu=cortex-a72.cortex-a53+crypto+crc\""
# r4s_stock['files']="\
# /mnt/backup"
declare -Ag ax6000_stock declare -Ag ax6000
ax6000_stock['profile']="xiaomi_redmi-router-ax6000-stock" ax6000['profile']="xiaomi_redmi-router-ax6000-stock"
ax6000_stock['target']="mediatek/filogic" ax6000['target']="mediatek/filogic"
ax6000_stock['release']="snapshot" ax6000['release']="snapshot"
ax6000_stock['filesystem']="squashfs" ax6000['filesystem']="squashfs"
ax6000_stock['packages']="\ ax6000['packages']="\
$default_packages \ $default_packages \
-dnsmasq \ -dnsmasq \
-odhcpd-ipv6only \ -odhcpd-ipv6only \