Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kbuild: deb-pkg: split debian/copyright from the mkdebian script

Copy debian/copyright instead of generating it by the 'cat' command.

I also updated '2018' to '2023' while I was here.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>

+17 -20
+16
scripts/package/debian/copyright
··· 1 + This is a packaged upstream version of the Linux kernel. 2 + 3 + The sources may be found at most Linux archive sites, including: 4 + https://www.kernel.org/pub/linux/kernel 5 + 6 + Copyright: 1991 - 2023 Linus Torvalds and others. 7 + 8 + The git repository for mainline kernel development is at: 9 + git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 10 + 11 + This program is free software; you can redistribute it and/or modify 12 + it under the terms of the GNU General Public License as published by 13 + the Free Software Foundation; version 2 dated June, 1991. 14 + 15 + On Debian GNU/Linux systems, the complete text of the GNU General Public 16 + License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+1 -20
scripts/package/mkdebian
··· 188 188 -- $maintainer $(date -R) 189 189 EOF 190 190 191 - # Generate copyright file 192 - cat <<EOF > debian/copyright 193 - This is a packaged upstream version of the Linux kernel. 194 - 195 - The sources may be found at most Linux archive sites, including: 196 - https://www.kernel.org/pub/linux/kernel 197 - 198 - Copyright: 1991 - 2018 Linus Torvalds and others. 199 - 200 - The git repository for mainline kernel development is at: 201 - git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 202 - 203 - This program is free software; you can redistribute it and/or modify 204 - it under the terms of the GNU General Public License as published by 205 - the Free Software Foundation; version 2 dated June, 1991. 206 - 207 - On Debian GNU/Linux systems, the complete text of the GNU General Public 208 - License version 2 can be found in \`/usr/share/common-licenses/GPL-2'. 209 - EOF 210 - 211 191 # Generate a control file 212 192 cat <<EOF > debian/control 213 193 Source: $sourcename ··· 248 268 KERNELRELEASE := ${KERNELRELEASE} 249 269 EOF 250 270 271 + cp "${srctree}/scripts/package/debian/copyright" debian/ 251 272 cp "${srctree}/scripts/package/debian/rules" debian/ 252 273 253 274 exit 0