Return python3-packages and add RPi.GPIO to the list,

include it into the waveshare image.
This commit is contained in:
Lee Miller 2023-06-29 02:41:28 +03:00
parent aed9b64b71
commit 84714d66b7
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 10 additions and 2 deletions

View File

@ -28,12 +28,19 @@ make defconfig
# Enable collectd network encryption
echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config
cat << "EOF" >> .config
CONFIG_PACKAGE_python3-packages=y
CONFIG_PACKAGE_python3-packages-list="RPi.GPIO==0.7.1"
CONFIG_PACKAGE_python3-packages-list-cleanup="setuptools"
EOF
make package/kmod-nvme/compile
make package/kmod-i2c-mux-pinctrl/compile
make package/kmod-rtc-pcf85063/compile
make package/nvme-cli/compile
make package/asterisk-chan-quectel/compile
make package/collectd/compile
make package/python3-packages/compile
sdkdir=$(pwd)
cd ${pwd}
@ -86,7 +93,7 @@ PACKAGES="kmod-i2c-bcm2835 kmod-i2c-mux kmod-i2c-mux-pinctrl \
luci-app-mwan3 luci-app-upnp \
luci-proto-wireguard \
luci-ssl-nginx luci-app-acme \
python3-packages python3-yaml \
python3-yaml \
openssh-sftp-server tcpdump \
iptables-nft ip6tables-nft \
wireguard-tools wget-ssl \
@ -133,7 +140,8 @@ sed -i "s|,i2c_csi_dsi||g" ${BOOTSOURCE}/current.txt
make image PROFILE=${PROFILE} \
PACKAGES=" \
${PACKAGES} cryptsetup kmod-ata-ahci smartmontools hdparm fdisk parted \
kmod-hwmon-drivetemp btrfs-progs kmod-fs-btrfs kmod-nvme nvme-cli" \
kmod-hwmon-drivetemp btrfs-progs kmod-fs-btrfs kmod-nvme nvme-cli \
python3-packages" \
DISABLED_SERVICES="dropbear" FILES="files" || exit 1
mv ${IMAGE_PATH}-squashfs-factory.img.gz ${IMAGE_PATH}-squashfs-factory-waveshare.img.gz