From 0e253c1a5581a7f55de4a7811f963b63f5772f59 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 1 Jan 2018 23:24:03 +0000 Subject: [PATCH] debian: add the build profile noudeb This is a standard build profile. Not building udebs speeds up test builds if only the full-fat version is going to be tested anyway. Signed-off-by: Theodore Ts'o --- debian/control.in | 1 + debian/rules | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/debian/control.in b/debian/control.in index 37cbad4..d03756e 100644 --- a/debian/control.in +++ b/debian/control.in @@ -109,6 +109,7 @@ Description: command-line interface parsing library - headers and static librari ifdef(`UDEB_PKGS',`` Package: e2fsprogs-udeb +Build-Profiles: Package-Type: udeb Section: debian-installer Priority: optional diff --git a/debian/rules b/debian/rules index c559a5d..2bdcbcc 100755 --- a/debian/rules +++ b/debian/rules @@ -39,6 +39,10 @@ ifneq ($(filter pkg.e2fsprogs.no-fuse2fs,$(DEB_BUILD_PROFILES)),) SKIP_FUSE2FS=yes endif +ifneq ($(filter noudeb,$(DEB_BUILD_PROFILES)),) +SKIP_UDEB=yes +endif + DH_VERSION := $(shell dpkg-query -W -f '$${Version}' debhelper) # USE_DBGSYM := -- 1.8.3.1