Whamcloud - gitweb
debian: add pointer for e2fsprogs-udeb to libcomerr2.shlibs
authorTheodore Ts'o <tytso@mit.edu>
Tue, 27 Mar 2012 18:48:18 +0000 (11:48 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 27 Mar 2012 18:52:32 +0000 (11:52 -0700)
The udeb for btrfs-tools need libcom_err.so.2, which is packaged as a
part of e2fsprogs-udeb since we don't have a separate libcomerr2 udeb.
So we need to make sure the shlibs file has an explicit pointer to
handle this case.

Addresses-Debian-Bug: #665885

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/rules

index 82a1576..1f6e7b4 100755 (executable)
@@ -618,7 +618,7 @@ endif
        dh_compress
 
        dh_makeshlibs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
-       dh_makeshlibs -plibcomerr${COMERR_SOVERSION} \
+       dh_makeshlibs --add-udeb=e2fsprogs-udeb -plibcomerr${COMERR_SOVERSION} \
                -V 'libcomerr2 (>= 1.33-3)'
 ifneq ($(UTIL_LINUX_NG),yes)
        dh_makeshlibs -plibblkid${BLKID_SOVERSION} -V 'libblkid1 (>= 1.39-1)'