[PATCH v2 5/6][Unstable] UBUNTU: [Debian] exclude $(DEBIAN)/__abi.current from linux-source

Seth Forshee seth.forshee at canonical.com
Fri Jun 4 02:47:18 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1930713

Previously install-source ran before the flavour install, but that is
no longer the case. As a result the __abi.current driectory ends up
in the linux-source package. Explicitly exclude it when installing
files for linux-source.

Signed-off-by: Seth Forshee <seth.forshee at canonical.com>
---
 debian/rules.d/3-binary-indep.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules.d/3-binary-indep.mk b/debian/rules.d/3-binary-indep.mk
index 584661d16f4a..d2370790d36d 100644
--- a/debian/rules.d/3-binary-indep.mk
+++ b/debian/rules.d/3-binary-indep.mk
@@ -74,6 +74,7 @@ ifeq ($(do_source_package_content),true)
 		-path './debian/files' -prune -o \
 		-path './debian/stamps' -prune -o \
 		-path './debian/tmp' -prune -o \
+		-path './$(DEBIAN)/__abi.current' -prune -o \
 		-print | \
 		cpio -pd --preserve-modification-time $(srcdir)
 	$(LN) $(srcpkg)/$(srcpkg).tar.bz2 $(srcdir)/..
-- 
2.31.1




More information about the kernel-team mailing list