From d8c543249c0dea71cc29f52e08e9c26fda4d5664 Mon Sep 17 00:00:00 2001 From: Miguel Angel Mulero Martinez Date: Wed, 17 Jan 2018 15:30:44 +0100 Subject: [PATCH] Fix debian packages (copyright needed) --- assets/linux/copyright | 4 ++++ gulpfile.js | 1 + package.json | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 assets/linux/copyright diff --git a/assets/linux/copyright b/assets/linux/copyright new file mode 100644 index 00000000..d525e019 --- /dev/null +++ b/assets/linux/copyright @@ -0,0 +1,4 @@ +This package was created by the Betaflight open source flight controller firmware project (https://github.com/betaflight/betaflight). + +All of the code is covered under the terms of the GPL version 3. See the +file /usr/share/common-licenses/GPL-3 for more information. diff --git a/gulpfile.js b/gulpfile.js index 6cb0b967..f7834c3a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -506,6 +506,7 @@ function release_deb(arch) { changelog: [], _target: 'opt/betaflight/betaflight-configurator', _out: RELEASE_DIR, + _copyright: 'assets/linux/copyright', _clean: true })); } diff --git a/package.json b/package.json index a0e435fa..9023cce0 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "del": "^3.0.0", "gulp": "~4.0.0", "gulp-concat": "~2.6.1", - "gulp-debian": "~0.1.7", + "gulp-debian": "~0.1.8", "gulp-install": "^1.1.0", "gulp-rename": "~1.2.2", "gulp-zip": "^4.1.0",