Whamcloud - gitweb
debian: add the build profile noudeb
authorSimon McVittie <smcv@debian.org>
Mon, 1 Jan 2018 23:24:03 +0000 (23:24 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Jan 2018 20:49:24 +0000 (15:49 -0500)
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 <tytso@mit.edu>
debian/control.in
debian/rules

index 37cbad4..d03756e 100644 (file)
@@ -109,6 +109,7 @@ Description: command-line interface parsing library - headers and static librari
 
 ifdef(`UDEB_PKGS',``
 Package: e2fsprogs-udeb
+Build-Profiles: <!noudeb>
 Package-Type: udeb
 Section: debian-installer
 Priority: optional
index c559a5d..2bdcbcc 100755 (executable)
@@ -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 :=