From 4b2f46e510080b6d5df0ee04a3fae8e53df1ea7a Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 21 Dec 2017 00:12:01 -0400 Subject: Grub.boots, Grub.bootsMounted: Pass --target to grub-install. This is to support eg, coreboot. The GrubTarget passed to Grub.installed is introspected to determine --target. If multiple grubs are installed, it currently doesn't pass any --target. Might make more sense to run grub-install repeatedly, but I don't know if that case is sane at all. The Xen -> "x86_64-xen" mapping is kind of arbitrarily chosen since there's a i386-xen available too. I don't know when that case would be used in any case though; chainPVGrub uses installed Xen, but it does not run grub-install. If this does become a problem, would probably need to split it into Xen64 and Xen32. Renamed BIOS to GrubTarget in passing to match grub's terminology; BIOS was kind of a joke term for this in propellor. This commit was sponsored by Francois Marier on Patreon. --- debian/changelog | 1 + 1 file changed, 1 insertion(+) (limited to 'debian/changelog') diff --git a/debian/changelog b/debian/changelog index 3da0622f..c1694108 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,7 @@ propellor (5.2.0) UNRELEASED; urgency=medium chroot. * Fix bug in unmountBelow that caused unmounting of nested mounts to fail. + * Grub.boots, Grub.bootsMounted: Pass --target to grub-install. -- Joey Hess Wed, 29 Nov 2017 11:45:08 -0400 -- cgit v1.3-2-g0d8e