Use 'chmod a+x' to make no-depmod script executable

We shouldn't override whatever read/write permissions it has.

svn path=/dists/trunk/linux-2.6/; revision=18460
This commit is contained in:
Ben Hutchings 2012-01-08 01:52:10 +00:00
parent a93dbd844e
commit 5840d57fe9
1 changed files with 1 additions and 1 deletions

2
debian/rules.real vendored
View File

@ -335,7 +335,7 @@ install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain:
install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_image \
DIR='$(DIR)' PACKAGE_DIR='$(PACKAGE_DIR)' INSTALL_DIR='$(INSTALL_DIR)' REAL_VERSION='$(REAL_VERSION)'
ifeq ($(MODULES),True)
chmod 755 $(CURDIR)/debian/bin/no-depmod
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)
find $(PACKAGE_DIR) -name '*.ko' | sed 's|$(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/kernel/||' | while read module ; do \