[haiku] Re: Building/installing only specific components

On 2008-11-27 at 18:01:36 [+0100], Humdinger <humdingerb@xxxxxxxxxxxxxx> 
wrote:
> 
> at BeGeistert I learned how to use UserBuildConfigs for building/installing 
> from Linux and
> that e.g.
> 
> "jam -q @disk update-all"
> 
> would build/install Haiku using my disk-profile without wiping my home 
> folder.
> Axel (or Ingo? Can't remember...) mentioned that
> 
> "jam -q @disk kernel"

That would correctly read:

  jam -q @disk update kernel

> would likewise only update the kernel of my installation.
> 
> Now I'm wondering what other components can I update/install without 
> touching the rest of
> the system. I've been looking through some files in /haiku/build/jam/ for a 
> definition of
> possible terms, but haven't found it.
> Can anyone give some directions?

You can update any file that has a corresponding build target. That is 
basically anything that is built, though not stuff like the MIME DB or the 
optional packages. If you want a reference, have a look at 
build/jam/HaikuImage. Anything mentioned there can be updated. It should be 
pretty intuitive, though, e.g.

  jam -q @disk update StyledEdit libbe.so makebootable TIFFTranslator

will work as expected. A few targets have "gristed" names to avoid name 
clashes (like "<usb>ohci" or "<driver>"tty) -- in which case you have to 
specify those (don't forget the quotes or the shell won't like it) -- but 
most of them don't.

CU, Ingo

Other related posts: