small changes to make it work with openwrt 22.03.0-rc3

This commit is contained in:
Attila Lendvai 2022-06-03 21:54:21 +02:00
parent 41a0a93fde
commit 5efa008e3b
No known key found for this signature in database
GPG Key ID: FEFA9FE55CF6E3CD
2 changed files with 5 additions and 5 deletions
build.sh
image-extras/common/root

@ -12,7 +12,7 @@ BUILD=`readlink -f $BUILD`
###
### chose a release
###
RELEASE="21.02.0"
RELEASE="22.03.0-rc3"
IMGBUILDER_NAME="openwrt-imagebuilder-${RELEASE}-${TARGET_ARCHITECTURE}-${TARGET_VARIANT}.Linux-x86_64"
IMGBUILDER_DIR="${BUILD}/${IMGBUILDER_NAME}"
@ -30,9 +30,9 @@ if [ -z ${TARGET_DEVICE} ]; then
echo " $0 ath79 generic tplink_archer-c6-v2"
echo " $0 ath79 generic tplink_tl-wdr4300-v1"
echo " $0 bcm53xx generic dlink_dir-885l"
echo " (this last one will not work without editing build.sh, details: https://github.com/attila-lendvai/openwrt-auto-extroot/pull/15#issuecomment-405847440)"
echo " to get a list of supported devices issue a 'make info' in the OpenWRT image builder directory:"
echo " '${IMGBUILDER_DIR}'"
echo " the build results will be under '${IMGBUILDER_DIR}/bin/targets/'"
kill -INT $$
fi
@ -47,7 +47,7 @@ PREINSTALLED_PACKAGES="block-mount kmod-fs-ext4 kmod-usb-storage"
PREINSTALLED_PACKAGES+=" blkid mount-utils swap-utils e2fsprogs fdisk"
# the following packages are optional, feel free to (un)comment them
PREINSTALLED_PACKAGES+=" wireless-tools firewall iptables"
PREINSTALLED_PACKAGES+=" wireless-tools firewall4"
PREINSTALLED_PACKAGES+=" kmod-usb-storage-extras kmod-mmc"
PREINSTALLED_PACKAGES+=" ppp ppp-mod-pppoe ppp-mod-pppol2tp ppp-mod-pptp kmod-ppp kmod-pppoe"
PREINSTALLED_PACKAGES+=" luci"

@ -30,12 +30,12 @@ installPackages()
# CUSTOMIZE
# install some more packages that don't need any extra steps
opkg install lua luci ppp-mod-pppoe screen mc zip unzip logrotate
opkg install lua luci ppp-mod-pppoe screen mc unzip logrotate
# this is needed for the vlans on tp-link 3020 with only a single hw ethernet port
opkg install kmod-macvlan ip
# just in case if we were run in a firmware that didn't already had luci
# just in case if we were run in a firmware that didn't already have luci
/etc/init.d/uhttpd enable
}