new file mode 100644
@@ -0,0 +1,8 @@
+Package: linux-doc
+Build-Profiles: <!stage1>
+Architecture: all
+Section: doc
+Priority: optional
+Description: Linux kernel specific documentation for version PKGVER
+ This package is deprecated and it is temporarily provided only for
+ compatibility reasons. It will be dropped in the future.
@@ -174,6 +174,9 @@ ifeq ($(src_pkg_name),linux)
control_files += debian/control.d/linux-tools-host.stub
control_files += debian/control.d/linux-source.stub
endif
+ifneq (,$(wildcard $(DEBIAN)/control.d/linux-doc.stub))
+ control_files += $(DEBIAN)/control.d/linux-doc.stub
+endif
# Calculate Ubuntu Compatible Signing levels
UBUNTU_COMPATIBLE_SIGNING=$(shell grep -qx ' *Subject: C = GB, ST = Isle of Man, O = Canonical Ltd., OU = Secure Boot, CN = Canonical Ltd. Secure Boot Signing (2021 v3)' debian/canonical-revoked-certs.pem && echo ubuntu/4 pro/3)
In commit fd8ee93c3a38 ("UBUNTU: [Packaging] drop useless linux-doc") we decided to remove the linux-doc package, saving in this way a lot of space required to produce the documentation content (that can be easily found online). However, this change broke some user-space packages that are still requiring linux-doc as a dependency. Therefore, re-introduce an empty linux-doc package to prevent the breakgage and at the same time avoid to re-introduce the expensive build dependencies. Signed-off-by: Andrea Righi <andrea.righi@canonical.com> --- debian.master/control.d/linux-doc.stub | 8 ++++++++ debian/rules | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 debian.master/control.d/linux-doc.stub