[PATCH] select grub-pc in grub-installer
Hi,
This patch makes grub-installer select grub-pc (GRUB 2) on GNU/kFreeBSD
(I haven't tested it, but it's quite straightforward).
The grub-pc package currently in sid already works, except it won't generate
multi-version entries and still doesn't handle acpi.ko. This is being worked
on in upstream.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
diff -ur grub-installer-1.40.old/grub-installer grub-installer-1.40/grub-installer
--- grub-installer-1.40.old/grub-installer 2009-07-21 18:34:54.000000000 +0200
+++ grub-installer-1.40/grub-installer 2009-08-06 16:29:52.000000000 +0200
@@ -330,6 +330,9 @@
# On PC/BIOS, default to GRUB Legacy
grub_package="grub"
;;
+ kfreebsd-i386/*|kfreebsd-amd64/*)
+ grub_package="grub-pc"
+ ;;
powerpc/*)
grub_package="grub-ieee1275"
;;
Reply to: