From 63060a7e2ab4ac4d05922f29e9d52f06a4f8a449 Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Wed, 6 Mar 2024 18:51:35 +0100 Subject: [PATCH] UBUNTU: [Packaging] re-introduce linux-doc as an empty package 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 [esmil: handle linux-doc like the linux-source package] Signed-off-by: Emil Renner Berthing --- debian/control.d/linux-doc.stub | 8 ++++++++ debian/rules | 1 + 2 files changed, 9 insertions(+) create mode 100644 debian/control.d/linux-doc.stub diff --git a/debian/control.d/linux-doc.stub b/debian/control.d/linux-doc.stub new file mode 100644 index 000000000000..657144763c74 --- /dev/null +++ b/debian/control.d/linux-doc.stub @@ -0,0 +1,8 @@ +Package: linux-doc +Build-Profiles: +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. diff --git a/debian/rules b/debian/rules index 123824dec42e..48298523431c 100755 --- a/debian/rules +++ b/debian/rules @@ -173,6 +173,7 @@ ifeq ($(src_pkg_name),linux) control_files += debian/control.d/linux-cloud-tools-common.stub control_files += debian/control.d/linux-tools-host.stub control_files += debian/control.d/linux-source.stub + control_files += debian/control.d/linux-doc.stub endif # Calculate Ubuntu Compatible Signing levels