petitboot icon indicating copy to clipboard operation
petitboot copied to clipboard

System configuration options

Open ghost opened this issue 6 years ago • 2 comments

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)

ghost avatar May 24 '18 06:05 ghost

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.

sammj avatar Jun 05 '18 04:06 sammj

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

sammj avatar Jun 24 '19 04:06 sammj