46 Commits

Author SHA1 Message Date
Mike Beaton
6bb481ed62 OpenLinuxBoot: Fix booting with TuneD in Fedora 41
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>
2024-11-18 23:28:33 +00:00
Savva Mitrofanov
b2d438d6f3 Switch OcGuardLib to BaseOverflowLib 2023-04-13 13:16:14 +06:00
Mike Beaton
b34b7c48f2 Various: Add missing .inf dependencies 2023-02-25 19:37:27 +03:00
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
MikeBeaton
949071ebfa OpenLinuxBoot: Support ostree layout; improve documentation 2021-10-08 00:47:00 +01:00
MikeBeaton
22cfebdf6f Platform: OpenLinuxBoot.efi 2021-09-04 15:48:36 +01:00
PMheart
21c2acd88e
OcMainLib: Allow specifying custom kernels on ESP partition (#271) 2021-06-21 23:19:27 +03:00
PMheart
fded511423
OpenCore: Add CPU Info (MSRs) to SysReport (#267) 2021-06-11 14:40:31 +08:00
MikeBeaton
eb5cc3ee62 BootManagement: Add csrutil EFI tool and Toogle SIP boot option 2021-05-28 09:40:22 +01:00
Mike Beaton
e9ce0d843f
OcBootManagementLib: Implement Boot Entry Flavour system (#260) 2021-05-19 14:30:42 +03:00
Marvin Häuser
557b3f18d1 OcStringLib: Import MixedStrCmp() 2021-03-04 22:42:21 +03:00
PMheart
3ecec16f29 OcStringLib: Fix logic 2021-02-13 16:52:54 +08:00
Vitaly Cheptsov
ad2b516bf7
OcMainLib: Introduce RFC 4122 encoding for SMBIOS System UUID (#187)
closes acidanthera/bugtracker#1457
2021-02-02 00:18:29 +03:00
vit9696
7066f9bea4 OcBootManagementLib: Cleanup bootstrap code even further 2021-01-31 21:31:34 +03:00
PMheart
157f386959 OcStringLib: Add OcAsciiStringNPrintable API 2021-01-10 22:30:06 +08:00
PMheart
08ddaab469
Utilities: Advanced ocvalidate for error checking (#169) 2020-12-24 20:09:52 +03:00
PMheart
239e2dbc49 OcStringLib: Add UnicodeIsFilteredString API 2020-12-23 14:15:05 +08:00
PMheart
cc1ba529c1 OcStringLib: Add OcAsciiStrChr and OcAsciiStrrChr API 2020-12-13 21:42:47 +08:00
PMheart
ec85bc583d OcStringLib: Add IsAsciiAlpha API 2020-12-13 00:41:39 +08:00
PMheart
5c8f473541 OcStringLib: Add OcAsciiStriStr API 2020-12-11 18:12:14 +08:00
vit9696
f0d42cd0c9 OcBootManagementLib: Add support for per-volume image icons for APFS
closes acidanthera/bugtracker#1270
2020-12-06 05:52:56 +03:00
vit9696
46482050c9 Bootstrap: Add support for launching from relative path 2020-11-06 19:37:22 +03:00
Goldfish64
bda3750d07 OcMacInfoLib: Fix 64-bit compatibility function 2020-08-29 21:07:10 -05:00
John Davis
8b452306e5
OpenCoreKernel: Implement force injection of system kexts (#111) 2020-08-27 18:52:53 +03:00
vit9696
7e965893bd
OcAppleKernelLib: Implement 64-bit cacheless kext injection (#96)
references acidanthera/bugtracker#358
2020-08-08 20:05:23 +03:00
vit9696
f5eed13321 OcStringLib: Fix a typo 2020-05-06 00:09:33 +03:00
vit9696
ef1c9b02f2 OcStringLib: Fix OcStrStrLength to match equal strings 2020-05-06 00:02:20 +03:00
vit9696
796765ca7c
OcBootManagementLib: Rework boot management (#42)
Co-authored-by: vit9696 <vit9696@users.noreply.github.com>
Co-authored-by: Download-Fritz <download-fritz@outlook.com>
2020-05-05 19:45:32 +03:00
vit9696
641f72e7f3 OcStringLib: Fix safe SPrint va_arg usage 2020-03-14 04:57:26 +03:00
vit9696
28a1d57dd2 OcStorageLib: Introduce max path length 2020-03-14 01:38:08 +03:00
vit9696
2827a90df1 OcStringLib: Rename string functions to avoid conflicts with ShellLib 2020-03-10 02:47:00 +03:00
vit9696
97585cb6c2 Build: Remove OcSupportPkg usage 2020-02-29 17:39:41 +03:00
vit9696
c7d7cb8068 OcStringLib: Add StriStr function 2020-01-23 19:46:12 +03:00
Download-Fritz
1d2e449f56 Multiple: Fix 32-bit linking issues 2019-11-03 15:43:59 +01:00
Download-Fritz
e24fa8d623 OcStringLib: Use edk2's CharToUpper 2019-06-09 19:30:40 +02:00
vit9696
29a60dfd52 OcStringLib: Add FIXME in InternalCharToUpper for next UDK upgrade 2019-04-27 23:59:40 +03:00
vit9696
392185b0e3 OcStringLib: Fix compilation with UDK, which has no CharToUpper 2019-04-27 23:58:41 +03:00
Download-Fritz
d22d08dd41 OcStringLib: Clean up and add StriCmp and StrniCmp functions 2019-04-27 20:44:26 +02:00
vit9696
8c6767470c OcBootManagementLib: Sanitize boot entry names 2019-04-12 15:12:16 +03:00
vit9696
a716c395e6 OcStringLib: Add UnicodeUefiSlashes 2019-04-06 17:41:07 +03:00
vit9696
4d9d4bbd1a OcAppleKernelLib: Fix number to string conversion 2019-03-25 19:39:32 +03:00
vit9696
ca6088d1f8 Implement OcDataHubLib 2019-03-10 16:53:21 +03:00
vit9696
8e252e9831 1. Redesign OcFileLib (and drop currently unneeded interfaces for the time being)
2. Add OcDescribeBootEntry to OcAppleBootPolicyLib to parse boot entry name
2019-01-20 20:14:00 +03:00
Download-Fritz
d924a62b4e OcStringLib: Convert to BASE instance. 2018-11-09 18:49:30 +01:00
vit9696
5284879b38 Initial support for parsing serialised objects 2018-10-26 22:24:56 +03:00
vit9696
e8338d8180 Import pico libs 2018-10-07 04:12:17 +03:00