Commit 471dd7c
committed
Enhance Bootloader with optional 'set prefix='
In distros like Almalinux 10, GRUB modules are installed in
/usr/lib/grub in the rootfs. For GRUB to find them, a proper prefix has to
be set, which we can identify using its UUID.
This patch adds a new optional attribute to `Bootloader` object for
this, which is a `dict` with two keys:
- `uuid`: the UUID of the rootfs
- `path`: the directory in the rootfs where modules will be searched for
This is meant to be usable by host-installer in relevant contexts.
Signed-off-by: Yann Dirson <yann.dirson@vates.tech>1 parent f6b180f commit 471dd7c
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
300 | 304 | | |
301 | 305 | | |
302 | 306 | | |
| |||
0 commit comments