[haiku] Re: Building/installing only specific components

"Stephan Assmus" <superstippi@xxxxxx> wrote:
> > Do I understand it right that I can define those preferences in my
> > UserBuildConfig? So how could I set e.g. the resolution when 
> > building and
> > installing Haiku to a partition?
> Just create a "vesa" kernel settings file and copy that to your 
> partition in the the
> UserBuildConfig. There are examples for copying files or also for 
> extracting files in
> UserBuildConfig.sample and .ReadMe.

That's actually no longer up to date information.
Thanks to Jan Klötzke, we're able to switch mode (also using EDID) with 
the VESA driver in the running system. IOW the "vesa" mode file only 
determines the resolution Haiku will boot in - but when the app_server 
takes over, it will also choose a resolution by itself.
You could automatically copy the "config/settings/system/app_server/
workspaces" (IIRC) file to the partition to specify a resolution for a 
freshly built image. It's a flattened BMessage.

Bye,
   Axel.


Other related posts: