Repository navigation
Commit 166a423
committed
composefs: Fix uki boot with grub2 on fedora aarch64
In Fedora 44 (at least), the grub2 EFI binary for aarch64 doesn't
include the chainloader module (but the x84 one does). We insmod this
in our menu files, which means we get this at boot:
```
error: ../../grub-core/fs/fshelp.c:find_file:257:file `/grub2/arm64-efi/chain.mod' not found.
error: ../../grub-core/script/function.c:grub_script_function_find:119:can't find command `chainloader'.
```
In general, we don't know what modules are built in for any particular
bootc image, so to be safe we copy all the modules we're using (that
exist) into /boot/grub2.
Signed-off-by: Alexander Larsson <alexl@redhat.com>1 parent 7d6df9a commit 166a423
1 file changed
Lines changed: 33 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
145 | 157 | | |
146 | 158 | | |
147 | 159 | | |
| |||
2158 | 2170 | | |
2159 | 2171 | | |
2160 | 2172 | | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
2161 | 2194 | | |
2162 | 2195 | | |
2163 | 2196 | | |
| |||
0 commit comments