diff --git a/.gitignore b/.gitignore index 79e1daad..c161df77 100644 --- a/.gitignore +++ b/.gitignore @@ -35,5 +35,4 @@ build/ /apps # debian packaging files -/debian/arduino-app-cli/home/arduino/.local/share/arduino-app-cli/examples -/debian/arduino-app-cli/usr/share/doc/arduino-app-cli/copyright +/debian/arduino-app-cli/home/arduino/.local/share/arduino-app-cli/examples \ No newline at end of file diff --git a/Taskfile.yml b/Taskfile.yml index ffea9d51..06e54550 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -101,7 +101,6 @@ tasks: desc: Build debian package deps: - build-deb:clone-examples - - build-deb:copyright cmds: - docker build --build-arg BINARY_NAME=arduino-app-cli --build-arg DEB_NAME=arduino-app-cli --build-arg VERSION={{ .VERSION }} --build-arg ARCH={{ .ARCH }} --build-arg RELEASE={{ .RELEASE }} --output=./build -f debian/Dockerfile . vars: @@ -124,30 +123,6 @@ tasks: echo "Examples successfully cloned." silent: false - build-deb:copyright: - desc: Add dependency licenses to debian copyright file - cmds: - - mkdir -p debian/arduino-app-cli/usr/share/doc/arduino-app-cli - - | - cat > debian/arduino-app-cli/usr/share/doc/arduino-app-cli/copyright <> debian/arduino-app-cli/usr/share/doc/arduino-app-cli/copyright - arduino-app-cli:build:local: desc: "Build the arduino-app-cli locally" cmds: diff --git a/debian/arduino-app-cli/usr/share/doc/arduino-app-cli/copyright b/debian/arduino-app-cli/usr/share/doc/arduino-app-cli/copyright new file mode 100644 index 00000000..13f54774 --- /dev/null +++ b/debian/arduino-app-cli/usr/share/doc/arduino-app-cli/copyright @@ -0,0 +1,15 @@ +Copyright 2025 ARDUINO SA (http://www.arduino.cc/) + +This software is released under the GNU General Public License version 3, +which covers the main part of arduino-app-cli. +The terms of this license can be found at: +https://www.gnu.org/licenses/gpl-3.0.en.html + +You can be released from the requirements of the above licenses by purchasing +a commercial license. Buying such a license is mandatory if you want to +modify or otherwise use the software for commercial activities involving the +Arduino software without disclosing the source code of your own applications. +To purchase a commercial license, send an email to license@arduino.cc. + +--- +