Whamcloud - gitweb
Fix bogus strip permission errors when building under Debian
authorTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jul 2007 18:51:18 +0000 (14:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 4 Jul 2007 18:51:18 +0000 (14:51 -0400)
When building the e2fsprogs dpkg's, the dh_strip command emits a large
number of error messages caused by the permissions not being right.  So
run dh_fixperms before running dh_strip.

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

index cc73333..a1ce56b 100755 (executable)
@@ -350,6 +350,7 @@ binary-arch: install install-udeb
                -plibss${SS_SOVERSION} -plibuuid${UUID_SOVERSION} \
                -pe2fslibs -puuid-dev -pe2fsck-static
 
+       dh_fixperms
 ifneq ($(ismips),)
        dh_strip -Xlib64ext2fs-nopic.a
 else
@@ -357,7 +358,6 @@ else
 endif
 
        dh_compress
-       dh_fixperms
 
        dh_makeshlibs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
        dh_makeshlibs -plibcomerr${COMERR_SOVERSION} \