Include LICENSE and DEPENDENCIES [inventory] files in official packages. Fixes #5577

Whilst passing, rename libraries.txt to DEPENDENCIES and update the list of static packages.
This commit is contained in:
Dave Page
2020-07-17 17:06:16 +01:00
parent 2bfb7c20c8
commit 04ce8b2c71
8 changed files with 30 additions and 11 deletions

View File

@@ -158,6 +158,10 @@ _copy_code() {
find . -name "feature_tests" -type d -print0 | xargs -0 rm -rf
find . -name "__pycache__" -type d -print0 | xargs -0 rm -rf
# License files
cp "${SOURCEDIR}/LICENSE" "${SERVERROOT}/usr/${APP_NAME}/"
cp "${SOURCEDIR}/DEPENDENCIES" "${SERVERROOT}/usr/${APP_NAME}/"
# Web setup script
mkdir -p "${WEBROOT}/usr/${APP_NAME}/bin/"
cp "${SOURCEDIR}/pkg/linux/setup-web.sh" "${WEBROOT}/usr/${APP_NAME}/bin/"