[PATCH 2/2][F] UBUNTU: [Debian] Disallow building linux-libc-dev from linux-riscv

Seth Forshee seth.forshee at canonical.com
Wed Jul 8 16:27:24 UTC 2020

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

Since we are no longer building linux-libc-dev from linux-riscv,
remove the exception allowing linux-riscv to build the package.

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

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 9dbb9d2e2fe4..6aedd68e9ce8 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -554,7 +554,7 @@ binary-arch-headers: install-arch-headers
 ifeq ($(do_libc_dev_package),true)
-ifeq ($(filter debian.master debian.riscv,$(DEBIAN)),)
+ifneq ($(DEBIAN),debian.master)
 	echo "non-master branch building linux-libc-dev, aborting"
 	exit 1

More information about the kernel-team mailing list