[elbe-devel] [PATCH 02/10] debianize: use COPYING from source code dir instead of elbe version

Torben Hohn torben.hohn at linutronix.de
Wed Mar 22 17:44:09 CET 2017


Copying over some elbe version of the copyright file, seems
errorprone to me. Lets copy over COPYING from the original source
as a start.
---
 elbepack/debianize/base.py                    |  2 +-
 elbepack/makofiles/debianize/kernel/copyright | 16 ----------------
 2 files changed, 1 insertion(+), 17 deletions(-)
 delete mode 100644 elbepack/makofiles/debianize/kernel/copyright

diff --git a/elbepack/debianize/base.py b/elbepack/debianize/base.py
index e9c0771..14e3a41 100644
--- a/elbepack/debianize/base.py
+++ b/elbepack/debianize/base.py
@@ -99,7 +99,7 @@ class DebianizeBase (FormMultiPage):
             mako = os.path.join(self.tmpl_dir, 'format.mako')
             f.write (template(mako, self.deb))
 
-        copyfile (os.path.join(self.tmpl_dir, 'copyright'), 'debian/copyright')
+        copyfile ('COPYING', 'debian/copyright')
         with open ('debian/compat', 'w') as f:
             f.write ('9')
 
diff --git a/elbepack/makofiles/debianize/kernel/copyright b/elbepack/makofiles/debianize/kernel/copyright
deleted file mode 100644
index f8c2ab9..0000000
--- a/elbepack/makofiles/debianize/kernel/copyright
+++ /dev/null
@@ -1,16 +0,0 @@
-This is a packacked upstream version of the Linux kernel.
-
-The sources may be found at most Linux ftp sites, including:
-ftp://ftp.kernel.org/pub/linux/kernel
-
-Copyright: 1991 - 2015 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
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; version 2 dated June, 1991.
-
-On Debian GNU/Linux systems, the complete text of the GNU General Public
-License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
-- 
2.1.4





More information about the elbe-devel mailing list