Skip to contentSkip to conversation

enable_progress_indicator

DISCUSSION Andrei Borzenkov 2 participants 2 messages Jan 6, 2016 – Jan 7, 2016

lore
Share & tools
lore
#0 lore raw

Do we really need yet another magic variable? Tests already set "grubshell", and in normal case why would one load progress but then disable it?

Why progress gets loaded in the first place? Can we somehow omit it?

#1 lore raw
Quoted 6 lines · Andrei Borzenkov

Do we really need yet another magic variable? Tests already set "grubshell", and in normal case why would one load progress but then disable it?

Why progress gets loaded in the first place? Can we somehow omit it?

emu loads all the modules. And we use emu to generate checksums.h. So unless we disable progress on it, all of our golden images will have it which would be bad.
Before this variable there was no way of disabling progress once module is loaded (I wouldn't recommend unloading any modules currently). So it's probably good to have some way of disabling it when need be independently of tests. We may also want to have tests specifically for progress (we'll have to mock out the timer for this), so it doesn't seem like grubshell is the right variable to check.

Quoted 5 lines

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