[haiku] Re: Are these Haiku build instructions correct?

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sat, 01 Aug 2015 10:46:51 +0200

On 01.08.2015 10:12, Luposian wrote:

On Jul 31, 2015, at 11:18 AM, Ingo Weinhold wrote:
These targets probably work, but off the top of my head I couldn't say what
exactly they build. I recommend using the build profiles that are more specific:

jam -q @release-cd
jam -q @release-anyboot
jam -q @release-raw

jam -q @nightly-cd
jam -q @nightly-anyboot
jam -q @nightly-raw

jam -q @minimum-cd
jam -q @minimum-anyboot
jam -q @minimum-raw

... depending on what you want to build.

What is the difference between release, nightly, and minimum?

The difference is what is put in the image. release-* and nightly-* match the official release (lot's of stuff) respectively nightly (less stuff) builds. minimum-* images are bare bones.

If I use

jam -q @minimum-raw (or either of the others (release or nightly))

will that put it in my own /Generated folder?

The image will be put in the generated folder you have configured. When following your instructions that would be a folder named "generated" in the root directory of your "haiku" repository working copy. If you want a different generated folder, you need to invoke configure from there.

I've always used:

jam -q haiku-image

and it used to work, but now it doesn't. Could the jam parameters have changed
and that's why it's failing now?

No, the jam parameters have not changed, but build system internals related to image building have and it is entirely possible that the haiku-image target doesn't work correctly anymore without additional configuration.

Personally I'm not particularly inclined to fix building the bare targets haiku-image and friends. This build method has become obsolete some 7 years ago with the introduction of build profiles.

CU, Ingo

Other related posts: