Subject: [PATCH 1/6] d/rules: fix outdated udeb package names

From: Igor Krpanic <[email-masked]>
Date: Sun, 9 Aug 2026 13:18:00 +0200

The BUILD_UDEB blocks still use libzfs5 and libzpool6 names, but
control.udeb.in has libzfs7 and libzpool7, so dh_makeshlibs and
dh_strip fail. Also drop libzfsbootenv1-udeb (not defined in
control.udeb.in) and the zfsutils-udeb dh_makeshlibs line
(zfsutils-linux has no shared libraries, dh_makeshlibs errors out).

Signed-off-by: Igor Krpanic <[email-masked]>
---
 debian/rules | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index d05986e7..7a6bcd02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -155,10 +155,8 @@ override_dh_makeshlibs:
 ifeq ($(BUILD_UDEB), true)
 	dh_makeshlibs -V -plibnvpair3linux --add-udeb=libnvpair3-udeb
 	dh_makeshlibs -V -plibuutil3linux --add-udeb=libuutil3-udeb
-	dh_makeshlibs -V -plibzfs5linux --add-udeb=libzfs5-udeb
-	dh_makeshlibs -V -plibzfsbootenv1linux --add-udeb=libzfsbootenv1-udeb
-	dh_makeshlibs -V -plibzpool6linux --add-udeb=libzpool6-udeb
-	dh_makeshlibs -V -pzfsutils-linux --add-udeb=zfsutils-udeb
+	dh_makeshlibs -V -plibzfs7linux --add-udeb=libzfs7-udeb
+	dh_makeshlibs -V -plibzpool7linux --add-udeb=libzpool7-udeb
 endif
 
 override_dh_strip:
@@ -166,9 +164,8 @@ override_dh_strip:
 ifeq ($(BUILD_UDEB), true)
 	dh_strip -plibnvpair3-udeb
 	dh_strip -plibuutil3-udeb
-	dh_strip -plibzfs5-udeb
-	dh_strip -plibzfsbootenv1-udeb
-	dh_strip -plibzpool6-udeb
+	dh_strip -plibzfs7-udeb
+	dh_strip -plibzpool7-udeb
 	dh_strip -pzfsutils-udeb
 endif
 
-- 
2.47.3