Add packages #27

Merged
PeterSurda merged 1 commits from PeterSurda/openwrt:add-packages-2 into main 2023-03-01 08:02:34 +01:00
Showing only changes of commit e03f2fc84f - Show all commits

View File

@ -9,6 +9,8 @@
# now I noticed there is actually a Makefile for openwrt in the repo already: # now I noticed there is actually a Makefile for openwrt in the repo already:
# https://github.com/IchthysMaranatha/asterisk-chan-quectel/tree/master/openwrt # https://github.com/IchthysMaranatha/asterisk-chan-quectel/tree/master/openwrt
set -x
tar -xJf /Downloads/openwrt-sdk-${OPENWRT_VERSION}-*.tar.xz tar -xJf /Downloads/openwrt-sdk-${OPENWRT_VERSION}-*.tar.xz
cp -r feed openwrt-sdk-*/ cp -r feed openwrt-sdk-*/
@ -25,9 +27,12 @@ cat ${pwd}/feeds.conf >> feeds.conf
make defconfig make defconfig
echo 'CONFIG_PACKAGE_python3-packages=y' >> .config echo 'CONFIG_PACKAGE_python3-packages=y' >> .config
echo 'CONFIG_PACKAGE_python3-packages-list="CherryPy==18.8.0"' >> .config echo 'CONFIG_PACKAGE_python3-packages-list="CherryPy==18.8.0"' >> .config
# Enable collectd network encryption
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
make package/python3-packages/compile make package/python3-packages/compile
make package/asterisk-chan-quectel/compile make package/asterisk-chan-quectel/compile
make package/collectd/compile
# no signing key # no signing key
make package/index make package/index
@ -44,8 +49,8 @@ cp ${sdkdir}/bin/packages/aarch64_cortex-a72/quectel/*.ipk packages/
make info make info
# Double the size of the root partition # Increase the size of the root partition
echo "CONFIG_TARGET_ROOTFS_PARTSIZE=208" >> .config echo "CONFIG_TARGET_ROOTFS_PARTSIZE=308" >> .config
# Disable ext4 images # Disable ext4 images
echo "CONFIG_TARGET_ROOTFS_EXT4FS=n" >> .config echo "CONFIG_TARGET_ROOTFS_EXT4FS=n" >> .config
@ -69,7 +74,7 @@ PACKAGES="kmod-nf-nathelper-extra kmod-rtc-ds1307 \
asterisk-chan-quectel \ asterisk-chan-quectel \
ca-certificates \ ca-certificates \
collectd collectd-mod-contextswitch collectd-mod-cpu \ collectd collectd-mod-contextswitch collectd-mod-cpu \
collectd-mod-curl \ collectd-mod-curl collectd-mod-df \
collectd-mod-dhcpleases collectd-mod-disk \ collectd-mod-dhcpleases collectd-mod-disk \
collectd-mod-dns collectd-mod-entropy \ collectd-mod-dns collectd-mod-entropy \
collectd-mod-ethstat collectd-mod-exec \ collectd-mod-ethstat collectd-mod-exec \
@ -89,6 +94,8 @@ PACKAGES="kmod-nf-nathelper-extra kmod-rtc-ds1307 \
luci-app-mwan3 luci-app-upnp \ luci-app-mwan3 luci-app-upnp \
luci-ssl-nginx luci-app-acme \ luci-ssl-nginx luci-app-acme \
python3-packages python3-yaml \ python3-packages python3-yaml \
openssh-sftp-server tcpdump \
iptables-nft ip6tables-nft \
wireguard-tools wget-ssl \ wireguard-tools wget-ssl \
" "