You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
363 B
15 lines
363 B
#!/bin/bash -e
|
|
|
|
echo "Installing connection-details and dependencies"
|
|
|
|
cp files/Pipfile* ${ROOTFS_DIR}/
|
|
|
|
on_chroot << EOF
|
|
pip3 install qrcode
|
|
EOF
|
|
# PIPENV_PIPFILE="/Pipfile" pipenv --python "$(which python3)" install --system
|
|
|
|
rm ${ROOTFS_DIR}/Pipfile*
|
|
|
|
chmod +x files/connection-details
|
|
cp files/connection-details ${ROOTFS_DIR}/usr/local/bin/connection-details
|
|
|