From c3357884556152f4526586e4763c11ace3c1976a Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Thu, 29 Jun 2023 02:41:28 +0300 Subject: [PATCH] Return python3-packages and add RPi.GPIO to the list, include it into the waveshare image. --- .buildbot/openwrt/build.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index 87cec19..850e408 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -32,6 +32,12 @@ 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/i2c-tools/compile make package/kmod-nvme/compile make package/kmod-i2c-mux-pinctrl/compile @@ -40,6 +46,7 @@ make package/nvme-cli/compile make package/ansible-core/compile make package/asterisk-chan-quectel/compile make package/collectd/compile +make package/python3-packages/compile sdkdir=$(pwd) cd ${pwd} @@ -145,7 +152,8 @@ make image PROFILE=${PROFILE} EXTRA_IMAGE_NAME="waveshare" \ PACKAGES=" \ ${PACKAGES} cryptsetup kmod-ata-ahci smartmontools hdparm fdisk parted \ kmod-hwmon-drivetemp btrfs-progs kmod-fs-btrfs kmod-nvme nvme-cli \ - docker dockerd docker-compose block-mount" \ + docker dockerd docker-compose block-mount \ + python3-packages" \ DISABLED_SERVICES="dropbear" FILES="files" || exit 1