diff mbox series

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

Message ID 20210603130516.632208-6-seth.forshee@canonical.com
State New
Headers show
Series Kernel package builds running out of space on builders | expand

Commit Message

Seth Forshee June 3, 2021, 1:05 p.m. UTC
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@canonical.com>
---
 debian/rules.d/3-binary-indep.mk | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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)/..