Bug#570134: grub-common: grub-mkrescue fails on powerpc with "can't cd to /usr/lib/grub/powerpc-ieee1275" if grub-ieee1275 is not installed

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Feb 16 20:13:29 UTC 2010


Package: grub-common
Version: 1.98~20100115-1
Severity: normal

on a powerpc system, with grub-common installed (but no
grub-ieee1275), grub-mkrescue fails with this message:

cd: 94: can't cd to /usr/lib/grub/powerpc-ieee1275/

This suggests to me that a dependencies might be missing, as it looks
like grub-ieee1275 is needed for this command to complete.

A workaround for a user is:

 aptitude download grub-ieee1275
 mkdir grub-ieee1275
 dpkg --extract grub-ieee1275_*.deb
 grub-mkrescue --pkglibdir=$(pwd)/grub-ieee1275/usr/lib/grub/powerpc-ieee1275

But it seems like most users of grub-common would want to have the
associated package for their architecture.  Perhaps grub-common should
Recommend: grub-ieee1275 for the powerpc architecture, so that
grub-mkrescue will work by default?

Thanks for grub!

        --dkg





More information about the Pkg-grub-devel mailing list