linux-headers: Stop linking the doc directory, which is not binNMU-safe

Since the linux-headers-common package was changed to be
architecture-independent, it won't include any binNMU changelog
fragment that should be installed for a per-flavour linux-headers
package.
This commit is contained in:
Ben Hutchings 2018-09-11 16:53:13 +01:00
parent 26224f8bb8
commit b100ac012c
2 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View File

@ -4,6 +4,7 @@ linux (4.18.6-2) UNRELEASED; urgency=medium
* [x86] wireless: Enable R8822BE as module (Closes: #908330)
* Move all patch generation scripts to debian/bin
* [rt] genpatch-rt: Store patches and series file in debian/patches-rt
* linux-headers: Stop linking the doc directory, which is not binNMU-safe
[ Salvatore Bonaccorso ]
* mac80211: don't update the PM state of a peer upon a multicast frame

4
debian/rules.real vendored
View File

@ -229,7 +229,7 @@ endif
install-base:
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
dh_installdocs $(INSTALLDOCS_ARGS)
dh_installdocs
endif
dh_installchangelogs
dh_compress
@ -366,7 +366,7 @@ install-headers_$(ARCH)_$(FEATURESET)_$(FLAVOUR): $(STAMPS_DIR)/build_$(ARCH)_$(
ln -s /usr/src/$(PACKAGE_NAME) $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/build
ln -s /usr/src/$(PACKAGE_NAME_COMMON) $(PACKAGE_DIR)/lib/modules/$(REAL_VERSION)/source
+$(MAKE_SELF) install-base INSTALLDOCS_ARGS="--link-doc=$(PACKAGE_NAME_COMMON)"
+$(MAKE_SELF) install-base
install-libc-dev_$(ARCH): PACKAGE_NAME = linux-libc-dev
install-libc-dev_$(ARCH): DH_OPTIONS = -p$(PACKAGE_NAME)