UBUNTU: [Packaging] Move linux-source package stub to debian/control.d
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> Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
This commit is contained in:
committed by
Paolo Pisati
parent
75135fd286
commit
c2451215f5
@@ -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
|
||||
|
||||
Vendored
+23
@@ -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.
|
||||
Vendored
+1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user