...
case $ARCH:$grub_package in
ppc64el/*:grub-ieee1275)
# By default, use the first PReP partition found (prep-bootdev).
# If available, prefer a PReP partition in the same device (disc_offered).
# (the matching works on devices with/without disk-partition separator.)
wipe_bootdev=""
for prep_p in ; do
if [ "${prep_p%[0-9]*}" = "${disc_offered%[0-9]*}" ]; then
wipe_bootdev=$prep_p
break
fi
done
unset prep_p
...
The problem with the logic is that the install disk does not have a PReP partition in this case (because one is not needed in this particular environment). So, grub-installer appears to go out searching for some other victim when it should really just move along.
------- Comment From <email address hidden> 2016-01-22 17:46 EDT------- grub-installer/ prep-bootdev
~ # /usr/lib/
/dev/sda1
~ # /usr/lib/ grub-installer/ prep-bootdev -l
/dev/sda1
From grub-installer:
... *:grub- ieee1275) offered% [0-9]*} " ]; then $prep_p
case $ARCH:$grub_package in
ppc64el/
# By default, use the first PReP partition found (prep-bootdev).
# If available, prefer a PReP partition in the same device (disc_offered).
# (the matching works on devices with/without disk-partition separator.)
wipe_bootdev=""
for prep_p in ; do
if [ "${prep_p%[0-9]*}" = "${disc_
wipe_bootdev=
break
fi
done
unset prep_p
...
The problem with the logic is that the install disk does not have a PReP partition in this case (because one is not needed in this particular environment). So, grub-installer appears to go out searching for some other victim when it should really just move along.