Change script for custom build
This commit is contained in:
parent
b8dcbff033
commit
30058cd192
11
script.sh
11
script.sh
@ -4,10 +4,13 @@ set -x
|
|||||||
|
|
||||||
RELEASE=19.07.6
|
RELEASE=19.07.6
|
||||||
|
|
||||||
wget -c https://downloads.openwrt.org/releases/$RELEASE/targets/ath79/generic/openwrt-imagebuilder-$RELEASE-ath79-generic.Linux-x86_64.tar.xz
|
if [ ! -f openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.xz ]; then
|
||||||
tar xvf openwrt-imagebuilder-$RELEASE-ath79-generic.Linux-x86_64.tar.xz
|
echo "ERROR: tarball does not exist, terminating"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
cd openwrt-imagebuilder-$RELEASE-ath79-generic.Linux-x86_64
|
tar xvf openwrt-imagebuilder-ath79-generic.Linux-x86_64.tar.xz
|
||||||
|
cd openwrt-imagebuilder-ath79-generic.Linux-x86_64
|
||||||
|
|
||||||
mkdir -p overlay/etc/uci-defaults
|
mkdir -p overlay/etc/uci-defaults
|
||||||
|
|
||||||
@ -91,6 +94,6 @@ sed -i 's|^root::|root:$1$Ji4oV3An$2h4IhUFWhheefdaWEW.vg/:|' /etc/shadow
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Make image
|
# Make image
|
||||||
make image PROFILE=glinet_gl-ar150 FILES=overlay/ PACKAGES="curl htop nano mjpg-streamer kmod-video-uvc \
|
make image PROFILE=glinet_gl-ar150 FILES=overlay/ PACKAGES="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 \
|
||||||
v4l-utils tcpdump -odhcp6c -odhcpd -dnsmasq -pppd -luci-proto-ppp -kmod-ppp -ppp -ppp-mod-pppoe \
|
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"
|
-kmod-ath -kmod-ath9k-common -kmod-ath9k -kmod-ip6tables -ip6tables -luci-proto-ipv6 -kmod-iptunnel6 -kmod-ipsec6 -luci"
|
||||||
|
Loading…
Reference in New Issue
Block a user