Package: libblockdev
Version: 2.23-2
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu focal ubuntu-patch

Hi Martin,

In Ubuntu, we are in the process of moving the i386 architecture to a
compatibility-only layer on amd64.  We are keeping libblockdev on i386
because it's needed for udisks2, but the libblockdev-mpath* and
libblockdev-plugins-all packagen built from this source have dependencies on
other packages that are not being kept as part of the compatibility library
set (multipath-tools) and are not needed by udisks2.

We would like to drop these binary packages rather than keeping them around
in the Ubuntu archive and uninstallable.  Would you please consider applying
the attached patch, or something like it, to omit building these binary
packages on Ubuntu?

Thanks for considering,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]
diff -Nru libblockdev-2.23/debian/rules libblockdev-2.23/debian/rules
--- libblockdev-2.23/debian/rules       2019-10-19 04:39:45.000000000 -0500
+++ libblockdev-2.23/debian/rules       2019-12-23 15:29:17.000000000 -0600
@@ -13,6 +13,11 @@
 BUILD_PACKAGES = -Nlibblockdev-nvdimm-dev -Nlibblockdev-nvdimm2
 endif
 
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+   BUILD_PACKAGES += -Nlibblockdev-mpath-dev -Nlibblockdev-mpath2 
-Nlibblockdev-plugins-all
+endif
+
+
 %:
        dh $@ $(BUILD_PACKAGES)
 

Reply via email to