Package: kernel-package
Version: 13.014+nmu1
Severity: normal

When building a kernel image package specifying --initrd, initramfs-tools is not
in the dependencies. However, when building a kernel image WITHOUT --initrd,
initramfs-tools is in the suggestions. In other words, the logic is backwards,
as the tests in ruleset/minimal.mk and ruleset/targets/common.mk seem wrong:

ifneq (YES,$(strip $(INITRD)))
  RAMFS_DEPS := initramfs-tools | linux-initramfs-tool,
endif

Besides, when building a package with --initrd, I think initramfs-tool should
be in the Depends, not in Recommends.

Thank you,
Cyril


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages kernel-package depends on:
ii  bc               1.06.95-9
ii  binutils         2.25-5
ii  build-essential  11.7
ii  bzip2            1.0.6-7+b2
ii  dpkg-dev         1.17.24
ii  file             1:5.22+15-1
ii  gettext          0.19.3-2
ii  kmod             18-3
ii  po-debconf       1.0.16+nmu3
ii  xmlto            0.0.25-2
ii  xz-utils [lzma]  5.1.1alpha+20120614-2+b3

Versions of packages kernel-package recommends:
ii  cpio           2.11+dfsg-4
pn  docbook-utils  <none>
pn  kernel-common  <none>
pn  uboot-mkimage  <none>

Versions of packages kernel-package suggests:
pn  libncurses-dev  <none>
pn  linux-source    <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to