Skip to content

Documentation clarification about property failsafe values #1477

@fmunteanu

Description

@fmunteanu

This is related directly to documentation. if I understand correctly, there are no default values within OpenCore. Only failsafe, which tries to reduce the harm on your system when the configuration is corrupted.

ocvalidate is a great tool allowing us to determine if config.plist has any errors. For example, setting only BIOSVersion value, will make ocvalidate complain about the missing properties:

<key>PlatformInfo</key>
<dict>
    <key>SMBIOS</key>
    <dict>
        <key>BIOSVersion</key>
        <string>9999.0.0.0.0</string>
    </dict>
    <key>UpdateDataHub</key>
    <false/>
    <key>UpdateNVRAM</key>
    <false/>
    <key>UpdateSMBIOS</key>
    <true/>
    <key>UpdateSMBIOSMode</key>
    <string>Create</string>
    <key>UseRawUuidEncoding</key>
    <false/>
</dict>

Is it possible to document what is the actual OC behaviour when missing properties occur? I'm also interested to know if the missing properties are automatically populated from the actual OEM machine (UpdateSMBIOS=True). This will help understanding better the failsafe behaviour. @vit9696 if you could briefly explain the behaviour here, it will be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions