From 27ba0ca4340fdb803f37299c307e875283dd1e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Wed, 27 Oct 2021 14:20:31 +0300 Subject: [PATCH] Upgrade to OpenWrt 21.02, drop Gstreamer support --- script.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/script.sh b/script.sh index d8a7296..f0aeae3 100644 --- a/script.sh +++ b/script.sh @@ -2,15 +2,15 @@ set -e set -x -RELEASE=21.02.0 +RELEASE=21.02.1 +BASENAME=openwrt-imagebuilder-$RELEASE-ath79-generic.Linux-x86_64 +FILENAME=$BASENAME.tar.xz +URL=https://downloads.openwrt.org/releases/21.02.1/targets/ath79/generic/$FILENAME -if [ ! -f openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.xz ]; then - echo "ERROR: tarball does not exist, terminating" - exit 1 -fi +wget -c $URL -tar xvf openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.xz -cd openwrt-imagebuilder-ath79-generic.Linux-x86_64 +tar xvf $FILENAME +cd $BASENAME mkdir -p overlay/etc/uci-defaults @@ -94,6 +94,6 @@ sed -i 's|^root::|root:$1$Ji4oV3An$2h4IhUFWhheefdaWEW.vg/:|' /etc/shadow EOF # Make image -make image PROFILE=glinet_gl-ar150 FILES=overlay/ PACKAGES="usbutils gst1-mod-tcp gst1-mod-rtp gst1-mod-gdp gst1-mod-alsa gst1-mod-udp gst1-mod-video4linux2 gstreamer1-utils curl htop nano mjpg-streamer kmod-video-uvc \ +make image PROFILE=glinet_gl-ar150 FILES=overlay/ PACKAGES="usbutils curl htop nano mjpg-streamer kmod-video-uvc \ v4l-utils tcpdump -odhcp6c -odhcpd -dnsmasq -pppd -luci-proto-ppp -kmod-ppp -ppp -ppp-mod-pppoe \ -kmod-ath -kmod-ath9k-common -kmod-ath9k -kmod-ip6tables -ip6tables -luci-proto-ipv6 -kmod-iptunnel6 -kmod-ipsec6 -luci"