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 2b5cbe32df
commit c335788455
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63
1 changed files with 9 additions and 1 deletions

View File

@ -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