|
|
@ -1,8 +1,11 @@ |
|
|
|
#!/bin/bash |
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
#sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc |
|
|
|
#sudo apt-get install subversion build-essential libncurses5-dev zlib1g-dev gawk git ccache gettext libssl-dev xsltproc |
|
|
|
|
|
|
|
#17.01 |
|
|
|
|
|
|
|
#sudo apt-get install zlib-devel-static |
|
|
|
|
|
|
|
|
|
|
|
image_builder_url="https://downloads.openwrt.org/releases/19.07.7/targets/brcm47xx/legacy/openwrt-imagebuilder-19.07.7-brcm47xx-legacy.Linux-x86_64.tar.xz" |
|
|
|
image_builder_url="https://downloads.openwrt.org/releases/17.01.7/targets/brcm47xx/legacy/lede-imagebuilder-17.01.7-brcm47xx-legacy.Linux-x86_64.tar.xz" |
|
|
|
|
|
|
|
#"https://downloads.openwrt.org/releases/19.07.7/targets/brcm47xx/legacy/openwrt-imagebuilder-19.07.7-brcm47xx-legacy.Linux-x86_64.tar.xz" |
|
|
|
#"https://downloads.openwrt.org/releases/22.03.7/targets/bcm47xx/legacy/openwrt-imagebuilder-22.03.7-bcm47xx-legacy.Linux-x86_64.tar.xz" |
|
|
|
#"https://downloads.openwrt.org/releases/22.03.7/targets/bcm47xx/legacy/openwrt-imagebuilder-22.03.7-bcm47xx-legacy.Linux-x86_64.tar.xz" |
|
|
|
#"https://downloads.openwrt.org/releases/18.06.9/targets/brcm47xx/legacy/openwrt-imagebuilder-18.06.9-brcm47xx-legacy.Linux-x86_64.tar.xz" |
|
|
|
#"https://downloads.openwrt.org/releases/18.06.9/targets/brcm47xx/legacy/openwrt-imagebuilder-18.06.9-brcm47xx-legacy.Linux-x86_64.tar.xz" |
|
|
|
|
|
|
|
|
|
|
@ -29,15 +32,19 @@ echo ${n2n_add} |
|
|
|
|
|
|
|
|
|
|
|
cp ${n2n_ipk} ${image_builder_dir}/packages/${n2n_ipk} |
|
|
|
cp ${n2n_ipk} ${image_builder_dir}/packages/${n2n_ipk} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cp ${n2n_ipk} ${image_builder_dir}/package/${n2n_ipk} |
|
|
|
|
|
|
|
|
|
|
|
cd ${image_builder_dir} |
|
|
|
cd ${image_builder_dir} |
|
|
|
|
|
|
|
|
|
|
|
#22.03.7 make image PROFILE=asus_wl-520gu PACKAGES="base-files busybox ca-bundle dnsmasq dropbear -firewall4 fstools kernel -kmod-b43 -kmod-gpio-button-hotplug -kmod-leds-gpio -kmod-nft-offload libc libgcc -libustream-wolfssl logd -mtd netifd -nftables nvram odhcp6c -odhcpd-ipv6only opkg otrx -ppp -ppp-mod-pppoe procd -procd-seccomp swconfig uci uclient-fetch urandom-seed -urngd -wpad-basic-wolfssl block-mount kmod-usb-storage kmod-fs-ext4 kmod-usb-ohci kmod-usb2 ${n2n_add}" |
|
|
|
#22.03.7 make image PROFILE=asus_wl-520gu PACKAGES="base-files busybox ca-bundle dnsmasq dropbear -firewall4 fstools kernel -kmod-b43 -kmod-gpio-button-hotplug -kmod-leds-gpio -kmod-nft-offload libc libgcc -libustream-wolfssl logd -mtd netifd -nftables nvram odhcp6c -odhcpd-ipv6only opkg otrx -ppp -ppp-mod-pppoe procd -procd-seccomp swconfig uci uclient-fetch urandom-seed -urngd -wpad-basic-wolfssl block-mount kmod-usb-storage kmod-fs-ext4 kmod-usb-ohci kmod-usb2 ${n2n_add}" |
|
|
|
#18.06 19.07 |
|
|
|
#18.06 19.07 make image PROFILE=asus-wl-520gu PACKAGES="-lcui -ppp -ppp-mod-pppoe base-files busybox dnsmasq dropbear firewall fstools -ip6tables iptables kernel -kmod-b43 -kmod-gpio-button-hotplug -kmod-ipt-offload -kmod-leds-gpio -kmod-ledtrig-default-on -kmod-ledtrig-netdev -kmod-ledtrig-timer libc libgcc logd mtd netifd nvram odhcp6c -odhcpd-ipv6only opkg otrx swconfig uci uclient-fetch -wpad-mini block-mount kmod-usb-storage kmod-fs-ext4 kmod-usb-ohci kmod-usb2 ${n2n_add}" |
|
|
|
make image PROFILE=asus-wl-520gu PACKAGES="-lcui -ppp -ppp-mod-pppoe base-files busybox dnsmasq dropbear firewall fstools -ip6tables iptables kernel -kmod-b43 -kmod-gpio-button-hotplug -kmod-ipt-offload -kmod-leds-gpio -kmod-ledtrig-default-on -kmod-ledtrig-netdev -kmod-ledtrig-timer libc libgcc logd mtd netifd nvram odhcp6c -odhcpd-ipv6only opkg otrx swconfig uci uclient-fetch -wpad-mini block-mount kmod-usb-storage kmod-fs-ext4 kmod-usb-ohci kmod-usb2 ${n2n_add}" |
|
|
|
|
|
|
|
|
|
|
|
#17.01 |
|
|
|
|
|
|
|
make image V=s PROFILE=asus-wl-520gu PACKAGES="base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd swconfig -wpad-mini nvram otrx -kmod-leds-gpio -kmod-gpio-button-hotplug -kmod-ledtrig-default-on -kmod-ledtrig-timer -kmod-ledtrig-netdev dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall odhcpd -odhcp6c block-mount kmod-usb-storage kmod-fs-ext4 kmod-usb-ohci kmod-usb2 ${n2n_add}" |
|
|
|
|
|
|
|
|
|
|
|
# FILES=files/ |
|
|
|
# FILES=files/ |
|
|
|
|
|
|
|
|
|
|
|
make info |
|
|
|
make V=s info |
|
|
|
|
|
|
|
|
|
|
|
find . -name "*.trx" |
|
|
|
find . -name "*.trx" |
|
|
|
find . -name "root.squashfs" |
|
|
|
find . -name "root.squashfs" |
|
|
|