Please support our sponsors!
This service provided by BeBits: The Best Source of BeOS Software!
BeIACreatingBuilds
BeBits > TableOfContents > BeOS > BeIA > HowTo
This is taken from an email I sent a while back.. I've censored names to protect the sources..

Crushing a BeIA build:

Assuming you have done the following - Installed the Dev kit [....deleted source info...] The other thing I did was make sure that all the shared libs were real libs or links to the build version I was using.

You then need the beia tools (makecfs, etc). Put the whole thing into your ~/config/bin. Note that some of the files may already be there (mkcfs for example) so make a decision as to which will be the definitive. I kept the ones that were already there.)

I then created a folder called ~/beia-release and created a sub dir called 'MyBuild' and one called 'dict'. Put all the dictionary related stuff into this dir and also the magicsymbols.txt and the symbols.* files (symbols.db is one of them, forget the others name.)

In the 'Build' dir (I called this 'MyBuild' if you remember), add the following subdirs:

initial
final
image

There are some others you can add too. You can get the names from the build script (see below.)

Open up ~/.profile in styles edit and add the following line:

export RELEASE_ROOT="/boot/home/beia-release"

This makes the script happy.

You then need to grab your uncrushed build and place the whole structure into '~/beia-release/MyBuild/initial'. You can find a zip from [...]'s stuff with this structure kind of already done, but beware of the fact that it's not a full build. I think only the build he says is uncrushed is actually a full build. I suggest taking whatever you gave the other guys on the CF cards and use that. If in doubt, make an image from it and see if it boots. If it does, use it ;-)

Now comes the boring part.... run from terminal:

# buildia --help

Note down the correct strings for 'crushing a build', 'creating an image' and 'updating dictionaries'... the values I'll give are from memory and I doubt they're correct.

execute:

# buildia --version MyBuild --crush-build --update-dict --create-image

--where MyBuild is your actual Build dir under ~/beia-release/...--

Sit back and wait for 10+ minutes (your wait may vary). If you get any errors, I must have forgotten something. Take a look at the buildia script, it's quite informative. Don't worry if elf_to_celf gives warnings, apparently this was normal if my sources are correct.

The script does everything and you end up with a image file in ./images. It builds 16mb images, but if you send the line:

SIZE=30MB buildia ...etc

you will build an image that will fit onto a 32MB CF card. Note that a 32MB CF card can only hold a total of 32MB of data including the Fileststem and partition information. A 32MB CF card gives 30MB of usuable space.


PAGE VISITS
2,381

LINKS HERE
BeIA
TableOfContents

NEW PAGES
BuildingCairo
StoringDataInBetweenOSes
ScriptingBeosRuby
ScriptingBeosPython
HaikuOS
QemUwinbe
MinimalBeos
XpMBRoverwrite
SteveSakoman
MailingLists

RECENT CHANGES
BuildingCairo
BeCommunity
BuildingFirebird
PlayGround
CorumIII
BeAcademic
SupportForMachinesAndArchitectures
BeOsReleases
HowTo
HaikuOS
Edit Page | Front Page | BeBits
Site content is in the public domain. Unless otherwise noted, everything else is copyright © 1999-2002 Fifth Ace Productions, LLC. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.
Fifth Ace Productions