petitboot
petitboot copied to clipboard
System configuration options
Some way of having system specific configuration options, perhaps including crazy workarounds that are very platform specific (e.g. nvram settings, hostboot attribute overrides, etc)
Discussed elsewhere was also whether such options should be built-in (ie. something like 'sub-platforms') or instead more like a 'pluggable' option that follows a format that Petitboot can parse and present in a sane way to the user.
The second option sounds more flexible; for example having op-build add system-specific config files to the rootfs at built time that pb-discover
then parses at run time.
I did a bunch of work some time ago to do a similar thing for Hostboot's attribute overrides; something more generic and less barely-parsable-XML heavy could be a good idea.
This RFC aims to solve this problem, but probably still needs some more thought/discussion before being ready for merge: http://patchwork.ozlabs.org/project/petitboot/list/?series=82503