Bering-uClibc 4.x - Developer Guide - Building a Distribution

From bering-uClibc
Revision as of 13:57, 29 April 2011 by Davidmbrooke (Talk | contribs) (Changed navigation links for new Adding a Kernel Architecture Variant page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Building a Distribution
Prev Bering-uClibc 4.x - Developer Guide Next


The term "Distribution" is used to refer to a version-numbered Release of Bering-uClibc 4.x - either a Beta or a "full" Release.

Few Developers will prepare formal Releases but it can be useful to understand the steps required and where all of the pieces come from.

Download the Sources


Build the Buildenv

Run the following command from the buildtool root directory:

./ build buildenv

Build the Packages

Run the following command from the buildtool root directory:


Check for errors by viewing the HTML report generated as /tmp/DD.MM.YYYY/build.html where DD.MM.YYYY is a datestamp, for example 13.02.2011.

Build the lwp Packages is a shell script, that generates the (standard) lwp files for the webconf Package. The files has been downloaded and extracted into the path source/lwp. The script builds the lwp files in the package directory, named *.lwp.


Build the Images

Run the following command from the buildtool root directory, for each directory under image/ which contains a file called buildimage.cfg

fakeroot ./ --image=directory --relver=version

Substitute directory and version as appropriate. For example:

fakeroot ./ --image=Bering-uClibc_i486_syslinux_vga --relver=4.0beta1

The disk Image files are generated alongside each buildimage.cfg file.

Upload the Distribution to the SourceForge File Download Area


Prev Up Next