[kernel] r19944 - dists/sid/linux/debian
Ben Hutchings
benh at alioth.debian.org
Sun Mar 24 02:28:12 UTC 2013
Author: benh
Date: Sun Mar 24 02:28:11 2013
New Revision: 19944
Log:
Add 'set -o pipefail' in front of find pipelines to catch regressions like #703800
Modified:
dists/sid/linux/debian/rules.real
Modified: dists/sid/linux/debian/rules.real
==============================================================================
--- dists/sid/linux/debian/rules.real Sat Mar 23 23:29:38 2013 (r19943)
+++ dists/sid/linux/debian/rules.real Sun Mar 24 02:28:11 2013 (r19944)
@@ -198,6 +198,7 @@
mkdir -p $(OUT_DIR)
cp -a CREDITS MAINTAINERS README REPORTING-BUGS Documentation $(OUT_DIR)
rm -rf $(OUT_DIR)/Documentation/DocBook
+ set -o pipefail; \
cd $(DIR)/Documentation/DocBook; \
find * -name '*.html' -print \
| \
@@ -210,6 +211,7 @@
install-manual: DH_OPTIONS = -p$(PACKAGE_NAME)
install-manual: $(STAMPS_DIR)/build-doc
dh_prep
+ set -o pipefail; \
find $(DIR)/Documentation/DocBook/man/ -name '*.9' | xargs dh_installman
+$(MAKE_SELF) install-base GENCONTROL_ARGS='$(call DEFINE_MULTIARCH,foreign)'
@@ -231,6 +233,7 @@
dh_testroot
dh_prep
+ set -o pipefail; \
cd $(SOURCE_DIR); \
( \
echo Makefile; \
@@ -362,6 +365,7 @@
chmod a+x $(CURDIR)/debian/bin/no-depmod
+$(MAKE_CLEAN) -C $(DIR) modules_install DEPMOD='$(CURDIR)/debian/bin/no-depmod' INSTALL_MOD_PATH='$(CURDIR)'/$(PACKAGE_DIR) INSTALL_MOD_STRIP=1
ifeq ($(DEBUG),True)
+ set -o pipefail; \
find $(PACKAGE_DIR) -name '*.ko' | sed 's|$(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/||' | while read module ; do \
objcopy --add-gnu-debuglink=$(DIR)/$$module $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/$$module || exit; \
done
More information about the Kernel-svn-changes
mailing list