@@ -57,30 +57,6 @@ Vcs-Git: git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/=SERIE
XS-Testsuite: autopkgtest
#XS-Testsuite-Depends: gcc-4.7 binutils
-Package: linux-source-PKGVER
-Build-Profiles: <!stage1>
-Architecture: all
-Section: devel
-Priority: optional
-Provides: linux-source
-Depends: ${misc:Depends}, binutils, bzip2, coreutils
-Recommends: libc-dev, gcc, make
-Suggests: libncurses-dev | ncurses-dev, kernel-package, libqt3-dev
-Description: Linux kernel source for version PKGVER with Ubuntu patches
- This package provides the source code for the Linux kernel version
- PKGVER.
- .
- This package is mainly meant for other packages to use, in order to build
- custom flavours.
- .
- If you wish to use this package to create a custom Linux kernel, then it
- is suggested that you investigate the package kernel-package, which has
- been designed to ease the task of creating kernel image packages.
- .
- If you are simply trying to build third-party modules for your kernel,
- you do not want this package. Install the appropriate linux-headers
- package instead.
-
Package: SRCPKGNAME-headers-PKGVER-ABINUM
Build-Profiles: <!stage1>
Architecture: all
new file mode 100644
@@ -0,0 +1,23 @@
+Package: linux-source-PKGVER
+Build-Profiles: <!stage1>
+Architecture: all
+Section: devel
+Priority: optional
+Provides: linux-source
+Depends: ${misc:Depends}, binutils, bzip2, coreutils
+Recommends: libc-dev, gcc, make
+Suggests: libncurses-dev | ncurses-dev, kernel-package, libqt3-dev
+Description: Linux kernel source for version PKGVER with Ubuntu patches
+ This package provides the source code for the Linux kernel version
+ PKGVER.
+ .
+ This package is mainly meant for other packages to use, in order to build
+ custom flavours.
+ .
+ If you wish to use this package to create a custom Linux kernel, then it
+ is suggested that you investigate the package kernel-package, which has
+ been designed to ease the task of creating kernel image packages.
+ .
+ If you are simply trying to build third-party modules for your kernel,
+ you do not want this package. Install the appropriate linux-headers
+ package instead.
@@ -172,6 +172,7 @@ ifeq ($(src_pkg_name),linux)
control_files += debian/control.d/linux-tools-common.stub
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
endif
# Calculate Ubuntu Compatible Signing levels
BugLink: https://bugs.launchpad.net/bugs/2052439 The linux-source-<version> package may only be built for the main linux source package. Similar to linux-libc-dev, move the packaging stub to debian/control.d and only include it if the source package name is indeed 'linux'. Signed-off-by: Juerg Haefliger <juerg.haefliger@canonical.com> --- debian.master/control.stub.in | 24 ------------------------ debian/control.d/linux-source.stub | 23 +++++++++++++++++++++++ debian/rules | 1 + 3 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 debian/control.d/linux-source.stub