Add pkg.linux.nokernel build profile that excludes kernel image/header packages
This should mostly be useful for testing changes that only affect the userland packages.
This commit is contained in:
parent
fdd6dadb4a
commit
80c2596a7c
|
@ -237,6 +237,7 @@ Several build profiles are understood and supported:
|
|||
- nodoc: Exclude most documentation
|
||||
- pkg.linux.notools: Exclude userland tool packages (linux-kbuild-<version>,
|
||||
linux-perf-<version>, etc.)
|
||||
- pkg.linux.nokernel: Exclude kernel image and header packages
|
||||
- cross: Needed when cross-building. Currently this must be used together
|
||||
with nopython as the build-dependencies will be unsatisfiable otherwise.
|
||||
- nopython: Disable Python bindings. This currently disables building the
|
||||
|
|
|
@ -140,7 +140,7 @@ class Gencontrol(Base):
|
|||
package['Build-Profiles'] = (
|
||||
'<pkg.linux.udeb-unsigned-test-build>')
|
||||
else:
|
||||
package['Build-Profiles'] = '<!stage1>'
|
||||
package['Build-Profiles'] = '<!stage1 !pkg.linux.nokernel>'
|
||||
|
||||
for arch in package['Architecture']:
|
||||
self.installer_packages.setdefault(arch, []) \
|
||||
|
|
|
@ -6,6 +6,8 @@ linux (4.19.13-2) UNRELEASED; urgency=medium
|
|||
[ Ben Hutchings ]
|
||||
* [ia64,m68k] libbpf: Really don't build on architectures without perf events
|
||||
* Use dh_listpackages to determine which packages to build
|
||||
* Add pkg.linux.nokernel build profile that excludes kernel image and header
|
||||
packages
|
||||
|
||||
-- John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Sun, 30 Dec 2018 10:30:57 +0100
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: linux-headers-@abiname@-all
|
||||
Build-Profiles: <!stage1>
|
||||
Build-Profiles: <!stage1 !pkg.linux.nokernel>
|
||||
Depends: linux-headers-@abiname@-all-${kernel:Arch} (= ${binary:Version}), ${misc:Depends}
|
||||
Description: All header files for Linux @version@ (meta-package)
|
||||
This package depends against all architecture-specific kernel header files
|
||||
|
@ -7,7 +7,7 @@ Description: All header files for Linux @version@ (meta-package)
|
|||
kernel modules.
|
||||
|
||||
Package: linux-headers-@abiname@-all-@arch@
|
||||
Build-Profiles: <!stage1>
|
||||
Build-Profiles: <!stage1 !pkg.linux.nokernel>
|
||||
Depends: ${misc:Depends}
|
||||
Description: All header files for Linux @version@ (meta-package)
|
||||
This package depends against all architecture-specific kernel header files
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: linux-headers-@abiname@-common@localversion@
|
||||
Build-Profiles: <!stage1>
|
||||
Build-Profiles: <!stage1 !pkg.linux.nokernel>
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}
|
||||
Multi-Arch: foreign
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: linux-headers-@abiname@@localversion@
|
||||
Build-Profiles: <!stage1>
|
||||
Build-Profiles: <!stage1 !pkg.linux.nokernel>
|
||||
Depends: linux-headers-@abiname@-common@localversion_headers@ (= ${source:Version}), linux-kbuild-@version@ (>= ${source:Version}), ${misc:Depends}
|
||||
Description: Header files for Linux @abiname@@localversion@
|
||||
This package provides the architecture-specific kernel header files
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: linux-image-@abiname@@localversion@-dbg
|
||||
Build-Profiles: <!stage1>
|
||||
Build-Profiles: <!stage1 !pkg.linux.nokernel>
|
||||
Depends: ${misc:Depends}
|
||||
Section: debug
|
||||
Priority: optional
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: linux-image-@abiname@@localversion@-unsigned
|
||||
Build-Profiles: <!stage1>
|
||||
Build-Profiles: <!stage1 !pkg.linux.nokernel>
|
||||
Depends: kmod, linux-base (>= 4.3~), ${misc:Depends}
|
||||
Recommends: firmware-linux-free, ${kernel:Recommends}
|
||||
Suggests: linux-doc-@version@, debian-kernel-handbook
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: linux-image-@abiname@@localversion@
|
||||
Build-Profiles: <!stage1>
|
||||
Build-Profiles: <!stage1 !pkg.linux.nokernel>
|
||||
Depends: kmod, linux-base (>= 4.3~), linux-bootwrapper-@abiname@ [powerpc powerpcspe ppc64], ${misc:Depends}
|
||||
Recommends: firmware-linux-free, ${kernel:Recommends}
|
||||
Suggests: linux-doc-@version@, debian-kernel-handbook
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Package: linux-image-@arch@-signed-template
|
||||
Build-Profiles: <!stage1>
|
||||
Build-Profiles: <!stage1 !pkg.linux.nokernel>
|
||||
Depends: dpkg-dev, ${misc:Depends}
|
||||
Description: Template for signed linux-image packages for @arch@
|
||||
This package is used to control code signing by the Debian signing
|
||||
|
|
|
@ -19,17 +19,19 @@ Build-Depends:
|
|||
bison <!stage1>, flex (>= 2.6.1-1.1~) <!stage1>,
|
||||
Build-Depends-Arch:
|
||||
# used by debian/rules.real to build udebs
|
||||
kernel-wedge (>= 2.99~) <!stage1>,
|
||||
kernel-wedge (>= 2.99~) <!stage1 !pkg.linux.nokernel>,
|
||||
# used by kernel-wedge (only on Linux, thus not declared as a dependency)
|
||||
kmod <!stage1>,
|
||||
kmod <!stage1 !pkg.linux.nokernel>,
|
||||
# used by upstream to build include/generated/timeconst.h
|
||||
bc <!stage1>,
|
||||
bc <!stage1 !pkg.linux.nokernel>,
|
||||
# used by upstream to build signing tools and to process certificates
|
||||
libssl-dev:native <!stage1>, libssl-dev <!stage1 !pkg.linux.notools>,
|
||||
openssl (>= 1.1.0-1~) <!stage1>,
|
||||
libssl-dev:native <!stage1 !pkg.linux.nokernel>,
|
||||
libssl-dev <!stage1 !pkg.linux.notools>,
|
||||
openssl (>= 1.1.0-1~) <!stage1 !pkg.linux.nokernel>,
|
||||
# used by upstream to build objtool (native for amd64 images; host arch for
|
||||
# linux-kbuild), perf (host arch), libbpf (host arch)
|
||||
libelf-dev:native [amd64] <!stage1>, libelf-dev <!stage1 !pkg.linux.notools>,
|
||||
libelf-dev:native [amd64] <!stage1 !pkg.linux.nokernel>,
|
||||
libelf-dev <!stage1 !pkg.linux.notools>,
|
||||
Rules-Requires-Root: no
|
||||
Vcs-Git: https://salsa.debian.org/kernel-team/linux.git
|
||||
Vcs-Browser: https://salsa.debian.org/kernel-team/linux
|
||||
|
|
Loading…
Reference in New Issue