aboutsummaryrefslogtreecommitdiff
path: root/docker/scripts/package.sh
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-10-28 11:45:11 +0100
committercirakg <cirakg@cirakg.xyz>2026-10-28 11:45:11 +0100
commit09ef21af399a60ceb2e45526fe1a7dd94c53819c (patch)
tree7992abb501f75dfe393b2bfd424227d1fc06b5b6 /docker/scripts/package.sh
parent3096eb7d366683caec24ed5d0a70ac5dae6f624d (diff)
chore: prepare repository for open-source release
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/"