Skip to contentSkip to conversation

How to test grub-install from git tree without "make install" ?

DISCUSSION Thomas Schmitt via Grub-devel 1 participant 1 message Jun 6, 2025

lore
Share & tools
lore
#0 lore raw

Hi,

i made a hopefully harmless change to grub-install-common.c in order to avoid that backup files of /boot/grub/locale/*.mo get copied into the resulting ISO image of grub-mkrescue when more than one platform-target combination is configured. E.g. "x86_64-efi" together with "i386-pc".
Begin of the thread which led to my change proposal:
"Duplicate files /boot/grub/locale/*.mo~ in iso file made by grub-mkrescue"
https://lists.gnu.org/archive/html/bug-grub/2025-05/msg00028.html
The change in question is in
https://lists.gnu.org/archive/html/bug-grub/2025-06/msg00000.html

All my experiments with grub-mkrescue look like i did not damage the backup functionality which old grub-mkrescue shares with grub-install. Nevertheless i should test grub-install directly. But i fail to find the word "grub-install" in GRUB's "./tests" tree.

Are there examples available how to test grub-install from the git tree as sandbox user without endangering the system's bootably-installed GRUB ?

Have a nice day :)

Thomas

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel