diff -Nru grub-installer-1.128ubuntu4/debian/changelog grub-installer-1.128ubuntu4multiprepv31/debian/changelog --- grub-installer-1.128ubuntu4/debian/changelog 2016-02-29 10:48:38.000000000 -0500 +++ grub-installer-1.128ubuntu4multiprepv31/debian/changelog 2016-03-04 16:18:00.000000000 -0500 @@ -1,3 +1,12 @@ +grub-installer (1.128ubuntu4multiprepv31) UNRELEASED; urgency=medium + + * grub-installer [ppc64el]: generalize the regex for multiple PReP + partitions (rather than append 'p' just for NVMe :) for any /dev + entry, but without trailing partition numbers (matches the shell + parameter expansion in the subsequent grep). + + -- Mauricio Faria de Oliveira Fri, 04 Mar 2016 18:14:10 -0300 + grub-installer (1.128ubuntu4) xenial; urgency=medium * Fix installing grub to a PReP partition over RAID which would be supported diff -Nru grub-installer-1.128ubuntu4/grub-installer grub-installer-1.128ubuntu4multiprepv31/grub-installer --- grub-installer-1.128ubuntu4/grub-installer 2016-02-29 10:48:21.000000000 -0500 +++ grub-installer-1.128ubuntu4multiprepv31/grub-installer 2016-03-04 16:07:06.000000000 -0500 @@ -515,7 +515,7 @@ if echo $disc_offered | grep -q '/dev/md[0-9]\+'; then if mdadm --detail --verbose $disc_offered \ - | grep -o '/dev/\([hsv]d[a-z]\|xvd[a-z]\|cciss/c[0-9]d[0-9]*\|ida/c[0-9]d[0-9]*\|rs/c[0-9]d[0-9]*\|mmcblk[0-9]\|ad[0-9]*\|da[0-9]*\|fio[a-z]\|nvme[0-9]\+n[0-9]\+\)' \ + | sed -n 's:.*\(/dev/.*\)[0-9]\+$:\1:p' \ | grep "${prep_p%[0-9]*}"; then wipe_bootdevs="$wipe_bootdevs $prep_p" fi