Bug#597538: grub-ieee1275: grub-install needs to pass a --prefix option to grub-mkimage

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Sep 21 12:41:17 UTC 2010


On 09/21/2010 06:51 AM, Colin Watson wrote:
> I don't see how this can be sufficient, since neither prefix_drive nor
> relative_grubdir is set in the current version of the script.

hrm.  i tried this after trying --prefix='(hd,apple2)/' (which worked
fine) -- so maybe grub-mkimage ended up interpreting the empty string as
"keep what was there before", or it found the right thing in some other
clever way, triggered by the explicit setting of --prefix= ?  i confess
i don't really know.

> Does the attached patch work?

I don't have access to the machine to test it today, but i'll try to
look at it later this week.

> It's a partial resync with the main
> version of grub-install, anticipating the next snapshot/release where
> all the different grub-installs are merged into a single version.

Getting all grub-installs synchronized sounds like it would be a good thing.

thanks for the quick response,

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 892 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20100921/3f507134/attachment.pgp>


More information about the Pkg-grub-devel mailing list