aboutsummaryrefslogtreecommitdiff
path: root/docker/scripts/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'docker/scripts/package.sh')
-rwxr-xr-xdocker/scripts/package.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/scripts/package.sh b/docker/scripts/package.sh
index 8d58e39..a0a22aa 100755
--- a/docker/scripts/package.sh
+++ b/docker/scripts/package.sh
@@ -42,4 +42,10 @@ for device in "${devices[@]}"; do
cp "${BUILD_DIR}/release/${device}.prg" "${out}/prg/${device}.prg"
done
+# Keep the upstream notices and project license with the binary artifacts.
+# The distributor must also provide the corresponding GPL-covered source.
+cp /work/LICENSE /work/THIRD_PARTY_NOTICES.md "${out}/"
+mkdir -p "${out}/LICENSES"
+cp /work/LICENSES/segno.txt /work/LICENSES/pdf417gen.txt "${out}/LICENSES/"
+
log "package ready: ${iq#/work/} ($(du -h "${iq}" | cut -f1)); release .prg files in build/package/prg/"