[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#513958: hook-functions returns error for partitions over sda9/hda9



Package: initramfs-tools
Version: 0.92o

When I run mkinitramfs with a "/" or "/boot" on a partition over 9 (in
my example sda13), I get the following error:
mkinitramfs: missing sda1 root /dev/sda13 /sys entry
the problem is on line 289 of hook-functions, which reads:
                block=${block%[0-9]*}
it can be solved making it this way:
                block=${block%%[0-9]*}

Nicola Canepa



Reply to: