]> git.proxmox.com Git - mirror_ubuntu-impish-kernel.git/commitdiff
UBUNTU: [Debian] exclude $(DEBIAN)/__abi.current from linux-source
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 2 Jun 2021 20:16:14 +0000 (15:16 -0500)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 28 Jun 2021 06:04:04 +0000 (08:04 +0200)
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>
Acked-by: Andy Whitcroft <apw@canonical.com>
debian/rules.d/3-binary-indep.mk

index 5b829aef577a488de4c6783067960109a61c04c9..95ad7056459bb9dce10c2e633a581fbd16ae463e 100644 (file)
@@ -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)/..