From bc5f21ed6d02cac001a9ab7691d89c420ee51718 Mon Sep 17 00:00:00 2001 From: Xayton <30591904+Xayton@users.noreply.github.com> Date: Wed, 16 Jul 2025 17:00:27 +0200 Subject: [PATCH 1/3] Move the copyright file into the correct folder --- .../arduino-cli/{DEBIAN => usr/share/doc/arduino-cli}/copyright | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename debian/arduino-cli/{DEBIAN => usr/share/doc/arduino-cli}/copyright (100%) diff --git a/debian/arduino-cli/DEBIAN/copyright b/debian/arduino-cli/usr/share/doc/arduino-cli/copyright similarity index 100% rename from debian/arduino-cli/DEBIAN/copyright rename to debian/arduino-cli/usr/share/doc/arduino-cli/copyright From a8463016fba3b13b59dc0a0e301f0b5e3025daf5 Mon Sep 17 00:00:00 2001 From: Xayton <30591904+Xayton@users.noreply.github.com> Date: Wed, 16 Jul 2025 17:51:39 +0200 Subject: [PATCH 2/3] Fix the location of the copyright file --- debian/Dockerfile | 2 +- .../arduino-cli/{usr/share/doc/arduino-cli => DEBIAN}/copyright | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename debian/arduino-cli/{usr/share/doc/arduino-cli => DEBIAN}/copyright (100%) diff --git a/debian/Dockerfile b/debian/Dockerfile index bd6cfaad4d6..3934bf25010 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -19,7 +19,7 @@ ARG GO_BINARY COPY ./debian/${DEB_NAME} /${DEB_NAME}/ COPY ./${GO_BINARY} /${DEB_NAME}/usr/bin/${BINARY_NAME} -COPY ./debian/${DEB_NAME}/DEBIAN/copyright /${DEB_NAME}/usr/share/doc/copyright +COPY ./debian/${DEB_NAME}/DEBIAN/copyright /usr/share/doc/${DEB_NAME}/copyright # Go application are tagged with `v` prefix, this remove the first v if present RUN export VERSION=$(echo "${VERSION}" | sed -e "s/^v\(.*\)/\1/") && \ diff --git a/debian/arduino-cli/usr/share/doc/arduino-cli/copyright b/debian/arduino-cli/DEBIAN/copyright similarity index 100% rename from debian/arduino-cli/usr/share/doc/arduino-cli/copyright rename to debian/arduino-cli/DEBIAN/copyright From 64fbbe8ce98859a582b5e1b7fdb4f5de0946f288 Mon Sep 17 00:00:00 2001 From: Alessio Perugini Date: Wed, 16 Jul 2025 20:02:00 +0200 Subject: [PATCH 3/3] fix debian in correct location --- debian/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/Dockerfile b/debian/Dockerfile index 3934bf25010..2a944489d73 100644 --- a/debian/Dockerfile +++ b/debian/Dockerfile @@ -19,7 +19,7 @@ ARG GO_BINARY COPY ./debian/${DEB_NAME} /${DEB_NAME}/ COPY ./${GO_BINARY} /${DEB_NAME}/usr/bin/${BINARY_NAME} -COPY ./debian/${DEB_NAME}/DEBIAN/copyright /usr/share/doc/${DEB_NAME}/copyright +COPY ./debian/${DEB_NAME}/DEBIAN/copyright /${DEB_NAME}/usr/share/doc/${DEB_NAME}/copyright # Go application are tagged with `v` prefix, this remove the first v if present RUN export VERSION=$(echo "${VERSION}" | sed -e "s/^v\(.*\)/\1/") && \