# Note: This file is read and interpreted by Python's configparser module, # documented at https://docs.python.org/3/library/configparser.html - its # syntax and features that exceed the most primitive INI parsing solutions # might change over time, depending on the evolution of the Python # implementation. # The DEFAULT section should specify the most common options shared across your # devices. For instance, if you want to have a fleet of devices on the latest # release at all times, create a section for each device, but specify the # 'release = YY.MM.x' key only in DEFAULT - all other device definitions will # inherit this value. It is a MANDATORY choice. [DEFAULT] release = 23.05.2 # These directories hold data managed by openwrt_autobuild.py - most # interesting will be the 'outdir' content, where completed images and log # output is collected. #cachedir = ./__cache #builddir = ./__build #outdir = ./__output # Whether to execute `make clean` before running `make image ...` #make_clean = True # OpenWrt images differ in filename suffixes. This default option lists a # number of commonly observed alternatives, separated by the pipe character # ('|'). It can be overridden in case a device requires an uncommon file name # extension. #image_namesuffix = img|img.gz|bin|itb # This tool makes a number of assumptions about names for directories and files # the OpenWrt project controls on their download mirrors. Over time, these # choices have changed, and it's probably wise to expect them to change again. # # The 'url' setting is used to compute the URL of ImageBuilder tarballs, and # the 'sha256url'-setting yields the URLs of checksum listings. # # There are important differences between URLs for "snapshots" and proper # "releases", and depending on what you want to build, you will have to adapt # the config on the DEFAULT or a per-device level accordingly. # For releases (implicit default): #url = 'https://downloads.openwrt.org/releases/%(release)s/targets/%(target)s/%(subtarget)s/openwrt-imagebuilder-%(release)s-%(target)s-%(subtarget)s.Linux-x86_64.tar.xz' #For snapshots (needs BOTH changes!): #url = https://downloads.openwrt.org/%(release)s/targets/%(target)s/%(subtarget)s/openwrt-imagebuilder-%(target)s-%(subtarget)s.Linux-x86_64.tar.xz #sha256url = https://downloads.openwrt.org/%(release)s/targets/%(target)s/%(subtarget)s/sha256sums # All devices/sections will have to have four keys populated: target, # subtarget, device, and release. All these are inherited from the DEFAULT # section, but can be overridden (i.e., replaced) by an explicit choice within # a device/section. Any of these required settings missing will result in NO # builds getting queued/images generated. # # Please note that some or all of these values may change with OpenWrt releases # (e.g. due to a device getting moved to another subtarget by the OpenWrt # developers), so you MIGHT have to adapt more than merely the 'release' option # when upgrading from release n to release n+1! [ex-router0] target = x86 subtarget = 64 device = generic make_pre_command = sed -i 's/^CONFIG_TARGET_ROOTFS_PARTSIZE=[0-9]*/CONFIG_TARGET_ROOTFS_PARTSIZE=1024/' ./.config packages = luci-app-upnp luci-app-sqm luci-app-firewall luci-app-opkg luci f2fs-tools kmod-usb-storage powertop fdisk block-mount kmod-fs-vfat dosfstools usbutils rsyncd openssl-util ca-certificates iperf3 luci-proto-wireguard kmod-wireguard luci-app-openvpn openvpn-openssl luci-app-vpn-policy-routing ethtool -kmod-bnx2 -kmod-e1000 -kmod-r8169 -bnx2-firmware -kmod-e1000e -kmod-ppp -kmod-pppoe -kmod-pppox -luci-proto-ppp -ppp -ppp-mod-pppoe disabled_services = rsyncd miniupnpd [ex-ap00] target = ath79 subtarget = generic device = netgear_wndr3700 packages = luci openssl-util ca-certificates iperf3 -kmod-ppp -kmod-pppoe -kmod-pppox -luci-proto-ppp -ppp -ppp-mod-pppoe -dnsmasq -odhcp6c -odhcpd-ipv6only # This build will be queued *after* 'ex-ap00', because they share their ImageBuilder [ex-ap01] target = ath79 subtarget = generic device = netgear_wndr3700 packages = luci openssl-util ca-certificates iperf3 -kmod-ppp -kmod-pppoe -kmod-pppox -luci-proto-ppp -ppp -ppp-mod-pppoe -dnsmasq -odhcp6c -odhcpd-ipv6only files = /tmp/includes_for_ap01/ [ex-ap02] release = snapshots target = mediatek subtarget = mt7622 device = linksys_e8450-ubi packages = luci ca-certificates iperf3 f2fs-tools kmod-fs-f2fs kmod-usb-storage-uas block-mount luci-app-sqm luci-app-upnp rsyncd usbutils iw-full iwinfo irqbalance udns-dnsget tcpdump url = https://downloads.openwrt.org/%(release)s/targets/%(target)s/%(subtarget)s/openwrt-imagebuilder-%(target)s-%(subtarget)s.Linux-x86_64.tar.xz sha256url = https://downloads.openwrt.org/%(release)s/targets/%(target)s/%(subtarget)s/sha256sums # Limit the possible image filename suffixes to the only one relevant for this target image_namesuffix = itb [ex-ap03] target = ar71xx subtarget = generic device = wndr3700 release = 22.03.5 packages = luci openssl-util ca-certificates -kmod-ppp -kmod-pppoe -kmod-pppox -luci-proto-ppp -ppp -ppp-mod-pppoe -dnsmasq -odhcp6c -odhcpd-ipv6only [ex-routerX] target = ramips subtarget = mt7621 device = dlink_dir-860l-b1 packages = luci-app-sqm luci openssl-util ca-certificates iperf3 ethtool -kmod-ppp -kmod-pppoe -kmod-pppox -luci-proto-ppp -ppp -ppp-mod-pppoe