Bug#824385: debian/initramfs-tools.bash-completion: Wrong path after 56dfe39 (breaks completion)

2016-05-16 Thread Stephan Sürken
Hi Ben,

On So, 2016-05-15 at 11:02 +0100, Ben Hutchings wrote:

(...)

> > (not sure why 'dh_bash-completion' eats this in the 1st place,
> > though;):
> It actually installs debian/initramfs-tools.bash-completion rather
> than
> the files listed there.  This is... not very helpful.  It's sort-of
> documented, though there seems to be no validation of what is a
> 'proper
> completion snippet'.

ok, I see... And I also just found Bug #785271 on exactly that ;).

(...)
> > -bash_completion.d/initramfs-tools
> > +bash_completion.d/update-initramfs
> Applied, thanks.

Thanks Ben!

S



Bug#824385: debian/initramfs-tools.bash-completion: Wrong path after 56dfe39 (breaks completion)

2016-05-15 Thread Ben Hutchings
Control: tag -1 pending

On Sun, 2016-05-15 at 10:52 +0200, Stephan Suerken wrote:
> Package: initramfs-tools
> Version: 0.125
> Severity: normal
> Tags: patch
> 
> Dear Maintainer, Ben,
> 
> in 56dfe3910a0d1aeec0e35a88dfc245d422513280, the completion
> script has been renamed, albeit not in the debhelper config file

Oops.

> (not sure why 'dh_bash-completion' eats this in the 1st place,
> though;):

It actually installs debian/initramfs-tools.bash-completion rather than
the files listed there.  This is... not very helpful.  It's sort-of
documented, though there seems to be no validation of what is a 'proper
completion snippet'.

> diff --git a/debian/initramfs-tools.bash-completion
> b/debian/initramfs-tools.bash-completion
> index 14d3d16..ab0bec6 100644
> --- a/debian/initramfs-tools.bash-completion
> +++ b/debian/initramfs-tools.bash-completion
> @@ -1 +1 @@
> -bash_completion.d/initramfs-tools
> +bash_completion.d/update-initramfs

Applied, thanks.

Ben.

-- 
Ben Hutchings
For every action, there is an equal and opposite criticism. - Harrison


signature.asc
Description: This is a digitally signed message part


Bug#824385: debian/initramfs-tools.bash-completion: Wrong path after 56dfe39 (breaks completion)

2016-05-15 Thread Stephan Suerken
Package: initramfs-tools
Version: 0.125
Severity: normal
Tags: patch

Dear Maintainer, Ben,

in 56dfe3910a0d1aeec0e35a88dfc245d422513280, the completion
script has been renamed, albeit not in the debhelper config file
(not sure why 'dh_bash-completion' eats this in the 1st place,
though;):

diff --git a/debian/initramfs-tools.bash-completion 
b/debian/initramfs-tools.bash-completion
index 14d3d16..ab0bec6 100644
--- a/debian/initramfs-tools.bash-completion
+++ b/debian/initramfs-tools.bash-completion
@@ -1 +1 @@
-bash_completion.d/initramfs-tools
+bash_completion.d/update-initramfs

Thanks!

Stephan

-- Package-specific info:
-- initramfs sizes
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.6.0-rc7-amd64 root=/dev/mapper/weslok-root ro 
i915.preliminary_hw_support=1 quiet

-- /proc/filesystems
btrfs
ext3
ext2
ext4
fuseblk
f2fs

-- lsmod
Module  Size  Used by
tun28672  2
cpuid  16384  0
cdc_acm36864  0
f2fs  311296  1
fscrypto   28672  1 f2fs
rfcomm 69632  12
ctr16384  3
ccm20480  3
snd_hrtimer16384  1
snd_seq65536  1
binfmt_misc20480  1
cpufreq_stats  16384  0
cpufreq_conservative16384  0
cpufreq_powersave  16384  0
cpufreq_userspace  16384  0
bnep   20480  2
nfsd  319488  2
auth_rpcgss61440  1 nfsd
nfs_acl16384  1 nfsd
nfs   253952  0
lockd  90112  2 nfs,nfsd
grace  16384  2 nfsd,lockd
fscache61440  1 nfs
sunrpc331776  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
ip6table_filter16384  0
ip6_tables 28672  1 ip6table_filter
iptable_filter 16384  0
ip_tables  28672  1 iptable_filter
x_tables   36864  4 
ip6table_filter,ip_tables,iptable_filter,ip6_tables
xpad   24576  0
ff_memless 16384  1 xpad
snd_usb_audio 176128  0
snd_usbmidi_lib28672  1 snd_usb_audio
snd_rawmidi32768  1 snd_usbmidi_lib
snd_seq_device 16384  2 snd_seq,snd_rawmidi
snd_hda_codec_hdmi 45056  1
snd_hda_codec_realtek81920  1
snd_hda_codec_generic69632  1 snd_hda_codec_realtek
uvcvideo   90112  0
videobuf2_vmalloc  16384  1 uvcvideo
videobuf2_memops   16384  1 videobuf2_vmalloc
videobuf2_v4l2 24576  1 uvcvideo
btusb  45056  0
videobuf2_core 36864  2 uvcvideo,videobuf2_v4l2
btrtl  16384  1 btusb
btbcm  16384  1 btusb
btintel16384  1 btusb
videodev  176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2
bluetooth 516096  33 bnep,btbcm,btrtl,btusb,rfcomm,btintel
media  36864  2 uvcvideo,videodev
option 49152  2
cdc_ether  16384  0
usb_wwan   20480  1 option
usbnet 40960  1 cdc_ether
usbserial  49152  6 option,usb_wwan
mii16384  1 usbnet
arc4   16384  2
msr16384  0
iTCO_wdt   16384  0
iTCO_vendor_support16384  1 iTCO_wdt
iwlmvm225280  0
mac80211  638976  1 iwlmvm
snd_soc_skl57344  0
snd_soc_skl_ipc32768  1 snd_soc_skl
snd_soc_sst_ipc16384  1 snd_soc_skl_ipc
snd_soc_sst_dsp53248  1 snd_soc_skl_ipc
snd_hda_ext_core   28672  1 snd_soc_skl
snd_soc_sst_match  16384  1 snd_soc_skl
snd_soc_core  208896  1 snd_soc_skl
snd_compress   20480  1 snd_soc_core
intel_rapl 20480  0
dw_dmac_core   24576  1 snd_soc_sst_dsp
iwlwifi   147456  1 iwlmvm
x86_pkg_temp_thermal16384  0
intel_powerclamp   16384  0
coretemp   16384  0
kvm_intel 188416  0
rtsx_pci_ms20480  0
cfg80211  573440  3 iwlwifi,mac80211,iwlmvm
kvm   561152  1 kvm_intel
memstick   20480  1 rtsx_pci_ms
irqbypass  16384  1 kvm
evdev  24576  14
joydev 20480  0
snd_hda_intel  36864  2
serio_raw  16384  0
snd_hda_codec 135168  4 
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel
snd_hda_core   81920  7 
snd_hda_codec_realtek,snd_hda_ext_core,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_soc_skl
snd_hwdep  16384  2 snd_usb_audio,snd_hda_codec
snd_pcm   106496  8 
snd_hda_ext_core,snd_usb_audio,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_soc_skl,snd_hda_core
i2c_i801   20480  0
snd_timer  32768  3 snd_hrtimer,snd_pcm,snd_seq
mei_me 32768  0
shpchp 36864  0
mei94208  1 mei_me