Fix bogus strip permission errors when building under Debian
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>
diff --git a/debian/rules b/debian/rules
index cc73333..a1ce56b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -350,6 +350,7 @@
-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 @@
endif
dh_compress
- dh_fixperms
dh_makeshlibs -Ne2fsprogs-udeb -Nlibblkid1-udeb -Nlibuuid1-udeb
dh_makeshlibs -plibcomerr${COMERR_SOVERSION} \