Package: kernel-package Version: 13.018 Severity: normal Dear Maintainer, The bash completion script provided by the package is broken.
I initially had assumed none was shipped so I made my own. I tried to have a quick look but it looks like a complicated script and since I already wrote my own, I don't need to fix that one. I'm attaching my own, feel free to use it, or please fix the existing one. Best -- System Information: Debian Release: 9.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.11.6a (SMP w/4 CPU cores; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE= (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+b3 ii binutils 2.28-6 ii build-essential 12.3 ii bzip2 1.0.6-8.1 ii dpkg-dev 1.18.24 ii file 1:5.30-1 ii gettext 0.19.8.1-2 ii kmod 24-1 ii po-debconf 1.0.20 ii xmlto 0.0.28-2 ii xz-utils [lzma] 5.2.2-1.2+b1 Versions of packages kernel-package recommends: ii cpio 2.11+dfsg-6 pn docbook-utils <none> pn kernel-common <none> pn uboot-mkimage <none> Versions of packages kernel-package suggests: ii libncurses5-dev [libncurses-dev] 6.0+20161126-1 pn linux-source <none> -- no debconf information
# Author: Salvo 'LtWorf' Tomaselli <[email protected]> _make-kpkg_tab_complete () { COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" words="--help --revision --append-to-version --append_to_version --added-modules --added_modules --arch --cross-compile --cross_compile --subarch --arch-in-name --arch_in_name --stem --initrd -j --jobs --pgpsign --config --targets --noexec --overlay --verbose --uimage --rootcmd --us --uc" # Known targets from --targets words="$words clean buildpackage binary binary-indep kernel_source kernel_doc kernel_manual binary-arch kernel_headers kernel_debug kernel_image build modules modules_image modules_config modules_clean configure debian" COMPREPLY=( $(compgen -W "${words}" -- ${cur}) ) return 0 } complete -F _make-kpkg_tab_complete make-kpkg

