diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in index 712031ae9116..9377ba08a69b 100644 --- a/debian.master/control.stub.in +++ b/debian.master/control.stub.in @@ -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: -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: Architecture: all diff --git a/debian/control.d/linux-source.stub b/debian/control.d/linux-source.stub new file mode 100644 index 000000000000..f2acbfe38624 --- /dev/null +++ b/debian/control.d/linux-source.stub @@ -0,0 +1,23 @@ +Package: linux-source-PKGVER +Build-Profiles: +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. diff --git a/debian/rules b/debian/rules index dd0f58e9ddc1..2a105f94b907 100755 --- a/debian/rules +++ b/debian/rules @@ -166,6 +166,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