diff options
Diffstat (limited to 'docker/scripts')
| -rwxr-xr-x | docker/scripts/package.sh | 6 |
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/" |
