Package: debhelper
Severity: wishlist
Tags: d-i

To make it easier to generate correct dependencies for udebs, please 
consider attached patch.
The patch adds support for making use of the udeb: lines in shlibs files 
when determining dependencies for udebs.

This patch goes together with a separate BR to generate the udeb: lines, 
but is filed separately because it depends on implementation of the -t 
option in dpkg-dev, which has not happened yet.
debhelper will need a versioned dependency in dpkg-dev for this feature.

--- orig/dh_shlibdeps	2005-12-31 19:36:54.712501799 +0100
+++ dh_shlibdeps	2005-12-31 18:40:25.000000000 +0100
@@ -125,6 +125,8 @@
 			@opts=("-L".tmpdir($dh{LIBPACKAGE}."/DEBIAN/shlibs"));
 		}
 		
+		push @opts,"-tudeb" if is_udeb($package);
+		
 		my $ld_library_path_orig=$ENV{LD_LIBRARY_PATH};
 		if ($dh{L_PARAMS}) {
 			$ENV{LD_LIBRARY_PATH}=$dh{L_PARAMS};

Attachment: pgp7JbgRebFYg.pgp
Description: PGP signature

Reply via email to