[P/U] [PATCH v2 1/2] UBUNTU: [packaging] check-in copyright directly in debian/
Masahiro Yamada
masahiro.yamada at canonical.com
Mon Mar 3 23:44:59 UTC 2025
The copyright file is copied from debian.*/ to debian/ by
'debian/rules clean', but it should be identical across all kernels.
Signed-off-by: Masahiro Yamada <masahiro.yamada at canonical.com>
---
(no changes since v1)
{debian.master => debian}/copyright | 0
debian/rules | 5 +----
2 files changed, 1 insertion(+), 4 deletions(-)
rename {debian.master => debian}/copyright (100%)
diff --git a/debian.master/copyright b/debian/copyright
similarity index 100%
rename from debian.master/copyright
rename to debian/copyright
diff --git a/debian/rules b/debian/rules
index b1a133265836..3dfc6f3c1622 100755
--- a/debian/rules
+++ b/debian/rules
@@ -141,9 +141,6 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
cp $(DEBIAN)/changelog debian/changelog
- # Install the copyright information.
- cp $(DEBIAN)/copyright debian/copyright
-
# If we have a reconstruct script use it.
[ -f $(DEBIAN)/reconstruct ] && bash $(DEBIAN)/reconstruct || true
@@ -153,7 +150,7 @@ clean: debian/control debian/canonical-certs.pem debian/canonical-revoked-certs.
.PHONY: distclean
distclean: clean
- rm -rf debian/control debian/changelog debian/copyright
+ rm -rf debian/control debian/changelog
# Builds the image, arch headers and debug packages
include debian/rules.d/2-binary-arch.mk
--
2.43.0
More information about the kernel-team
mailing list