In GRUB2+blscfg mode:
- Allow grub vars in 'initrd' as well as in 'options'
- Allow multiple initrd files on one 'initrd' line
- Initialise empty $tuned_params and $tuned_initrd grub vars if no
values present, on an optional flag enabled by default (since
we want to make booting major distros easy)
In GRUB2+blscfg mode (seem to be allowed now, not required for fix):
- Allow multiple 'initrd' lines
- Allow multiple 'options' lines
Add variant of OcParseVars which can parse as value-only tokens.
Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
Note: EFI_SUCCESS does not always mean a signature was found and
verified (which never existed and therefore is not expected to
happen, for a fat slice), but simply that no further verification
of SB status is required and OC image loader should be used.
Resolves: https://github.com/acidanthera/bugtracker/issues/2414
Optionally allow .contentVisibility in same boot fs root locations
as searched for .VolumeIcon.icns, since file next to boot.efi is
deleted on macOS update.
The renderer already (esp. since recent changes incl. reset to controlled on cls)
manages its own transitions to controlled, so we just need to indicate uncontrolled
in cases where something else has been rendering graphics
- Perform full clear screen on switch from graphics to text mode,
if marked uncontrolled
- Suppress remaining console coloured output (screen clear and
cursor, text was already handled) if in graphics mode
- Remain uncontrolled while in graphics mode
- Improve builtin renderer screen size calculations
o Although we appear to lose a small amount of height (i.e. up
to one row) with the new font size scaled vertical padding,
we were actually losing it anyway with the previous screen
size calculation
- Re-order initialisation of builtin mode
o Avoid producing uncontrolled text with old text protocol,
after resync screen clear of new controlled protocol
- Reverts part of commit 2439d58412c071cb735cde8a70c9ef964a095780.
- Reverts commit a189bd53bc2ac1490dac7125a9ce11fd03571755.
- Reverts part of commit b07843fe1d47454747ae4eda9ea0189aa9fb8c03.
- Clear console screen on change to console mode
- Ensure entire screen is cleared at least once in console mode
o Was not needed/was done by default, prior to a189bd53bc2ac1490dac7125a9ce11fd03571755
o Remove GOP clear screen work-around no longer required with this change.
- These changes improve EnableGop driver in the same way, so update version number
o Add EnableGop version in UI section, to enable tool builders to track it
This replaces OpenCore signature checking with .contentVisibility file
containing either `Disabled` or `Auxiliary` to hide entries from the
boot picker.