diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-12-21 00:12:01 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-12-21 00:12:01 -0400 |
commit | 4b2f46e510080b6d5df0ee04a3fae8e53df1ea7a (patch) | |
tree | 57297d14f190e3d3d79d8bc5810b2088a7eb9c75 /debian | |
parent | 5c0dce561b037c6152fa9d02e5190daad7ee805d (diff) |
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.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 |
1 files changed, 1 insertions, 0 deletions
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 <id@joeyh.name> Wed, 29 Nov 2017 11:45:08 -0400 |