File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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'.
Original file line number Diff line number Diff line change @@ -188,26 +188,6 @@ $sourcename ($packageversion) $distribution; urgency=low
188188 -- $maintainer $( date -R)
189189EOF
190190
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-
211191# Generate a control file
212192cat << EOF > debian/control
213193Source: $sourcename
@@ -268,6 +248,7 @@ ARCH := ${ARCH}
268248KERNELRELEASE := ${KERNELRELEASE}
269249EOF
270250
251+ cp " ${srctree} /scripts/package/debian/copyright" debian/
271252cp " ${srctree} /scripts/package/debian/rules" debian/
272253
273254exit 0
You can’t perform that action at this time.
0 commit comments