On Sun, Apr 11, 2021 at 7:14 PM <bage@xxxxxxxxxxxxx> wrote: > > From: Bastian Germann <bage@xxxxxxxxxxxxx> > > Convert the minimal copyright file to the DEP-5 standard format that is > commonly used in Debian. > > Link: https://trends.debian.net/#copyright-format-machine-readable-dep-5-vs-old-format > Signed-off-by: Bastian Germann <bage@xxxxxxxxxxxxx> This is equivalent to this patch: https://lore.kernel.org/linux-kbuild/20200920222556.10002-4-guillem@xxxxxxxxxxx/ > --- > scripts/package/mkdebian | 27 ++++++++++++++------------- > 1 file changed, 14 insertions(+), 13 deletions(-) > > diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian > index 717223ef6b03..bb5c19735345 100755 > --- a/scripts/package/mkdebian > +++ b/scripts/package/mkdebian > @@ -152,22 +152,23 @@ EOF > > # Generate copyright file > cat <<EOF > debian/copyright > -This is a packacked upstream version of the Linux kernel. > - > -The sources may be found at most Linux archive sites, including: > -https://www.kernel.org/pub/linux/kernel > - > -Copyright: 1991 - 2018 Linus Torvalds and others. > - > -The git repository for mainline kernel development is at: > -git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > - > +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ > +Upstream-Name: Linux > +Source: https://www.kernel.org/pub/linux/kernel > +Comment: This is a packaged upstream version of the Linux kernel. > + > +Files: * > +Copyright: 1991 - 2021 Linus Torvalds and others. > +License: GPL-2 My concern is this license info is wrong since not all files are GPL-2. Is it better to make apparently wrong license info machine-interpretable? That is a question. -- Best Regards Masahiro Yamada