Hi Ronny, just a minor thing but I think you should anchor your grep to the end of the filename: grep -v "old-dkms$"
Cheers Daniel On 09/17/2016 02:13 PM, Ronny Standtke wrote: > Package: live-tools > Version: 1:20151214+nmu1 > Severity: important > Tags: patch > > On my Debian Live system update-initramfs fails with the following error > message: > > cp: cannot stat '/boot/vmlinuz-<my kernel version>.old-dkms': No such file or > directory > > Please find attached a patch that fixes this issue. > > Cheers > > Ronny >