Fix dependencies

This commit is contained in:
Aleksey Samoilov 2024-02-26 13:55:15 +04:00
parent 76a4ef1acb
commit ad1821c01a
6 changed files with 9 additions and 29 deletions

View file

@ -452,7 +452,7 @@ linux-signed-{vars['arch']} (@signedtemplate_sourceversion@) {dist}; urgency={ur
)
assert len(packages_meta) == 1
packages_meta += (
self.bundle.add('signed.headers.meta' or 'headers.meta',
self.bundle.add('headers.meta',
ruleid, makeflags, vars, arch=arch)
)
assert len(packages_meta) == 2

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
linux (6.6.15-10~tileos) bookworm; urgency=medium
* Fix dependencies
-- Aleksey Samoilov <samoilov.lex@gmail.com> Mon, 26 Feb 2024 13:54:41 +0400
linux (6.6.15-9~tileos) bookworm; urgency=medium
* Build metapackages for unsigned kernel

View file

@ -1,13 +0,0 @@
Package: linux-image-@abiname@@localversion@
Meta-Rules-Target: image
Build-Profiles: <!pkg.linux.nokernel>
Build-Depends:
# used by debian/rules.real to build udebs
kernel-wedge (>= 2.105~),
# used by kernel-wedge (only on Linux, thus not declared as a dependency)
kmod,
Depends: kmod, linux-base (>= 4.3~), ${misc:Depends}
Recommends: firmware-linux-free
Suggests: linux-doc-@version@, debian-kernel-handbook
Description: Linux @upstreamversion@ for @class@
The Linux kernel @upstreamversion@ and modules for use on @longclass@.

View file

@ -1,13 +0,0 @@
# Some 32-bit architectures need 64-bit kernels and we still build
# these as the "wrong" architecture rather than mandating multiarch.
{% if arch in ['mips', 'mipsel'] %}
{{package}}: binary-from-other-architecture *boot/vmlinu*
{% endif %}
{% if arch in ['hppa', 'mips', 'mipsel', 'powerpc'] %}
{{package}}: binary-from-other-architecture *lib/modules/*
{% endif %}
# vmlinux needs extra sections that would normally be stripped.
{% if arch in ['mips64el', 'mipsel', 'ppc64el'] %}
{{package}}: unstripped-binary-or-object *boot/vmlinu*
{% endif %}

View file

@ -1,6 +1,6 @@
Package: linux-image-lts@source_suffix@@localversion@
Meta-Rules-Target: meta
Meta-Rules-Makeflags-INSTALLDOCS_LINK_DOC: linux-image-@abiname@@localversion@
Meta-Rules-Makeflags-INSTALLDOCS_LINK_DOC: linux-image-@abiname@@localversion@-unsigned
Build-Profiles: <!pkg.linux.nokernel !pkg.linux.nometa>
Depends: linux-image-@abiname@@localversion@-unsigned (= ${binary:Version}), ${misc:Depends}
Provides: linux-latest-modules-@abiname@@localversion@, wireguard-modules (= 1.0.0), virtualbox-guest-modules [amd64 i386]

View file

@ -1 +1 @@
dir_to_symlink /usr/share/doc/@package@ linux-image-@abiname@@localversion@ 5.7~rc5-1~exp1 @package@
dir_to_symlink /usr/share/doc/@package@ linux-image-@abiname@@localversion@-unsigned 5.7~rc5-1~exp1 @package@