HAIKU_IMAGE_SIZE in UserBuildConfig - behaved in inconsistent manner.
|Reported by:||Bouncer||Owned by:||axeld|
|Has a Patch:||no||Platform:||All|
This item may be related to ticket 3879.
Please Note: It is been many months since I last compiled the Haiku.
FIRST - I did a full download - and configured UserConfig similarly to my previous experiences. With HAIKU_IMAGE_SIZE set to 300. And HAIKU_ADD_ALL_OPTIONAL_PACKAGES = 1. The jam command was 'jam -q haiku-image'.
The build was partially successfull. Creating the 300 Mb image but the optional packages were missing.
Seems obvious as to what was wrong ...
SECOND - I commented out the 'HAIKU_ADD_ALL_OPTIONAL_PACKAGES' and replaced it with 'AddOptionalHaikuImagePackages', specifying all of the packages that I wanted.
Now - the packages were downloaded - but the image that was created was only 128 Mb.
Every subsequent build attempt - always created an image that was only 128 Mb in size. I even deleted the 'image', but the next rebuild still created it with the default size - regardless of what I set HAIKU_IMAGE_SIZE to.
My build environment was on Ubuntu 8.04
A POSSIBLE WORKAROUND:
- I removed all optional packages from UserBuildConfig. The build then successfully created a 300 Mb image.
- Next - I restored the optional packages. Using the 'AddOptionalHaikuImagePackages' method. This time the build created an image of the proper size, with all of the desired packages.
- There seems to be some sort of persistent environment setting that is sensitive to the presence of optional packages. Only when I removed the optional packages - did it clear itself. After which my builds were normal, even when I re-applied the optional packages again.
You may close this ticket if you wish.
I submit it as a reference for others who might encounter the same issues.