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

From bering-uClibc
Jump to: navigation, search
Building a Distribution
Prev Bering-uClibc 4.x - Developer Guide Next


Introduction

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

TODO


Build the Buildenv

Run the following command from the buildtool root directory:

./buildtool.pl build buildenv


Build the Packages

Run the following command from the buildtool root directory:

tools/buildall.sh

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

buildlwp.sh 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.

./buildlwp.sh

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 ./buildimage.pl --image=directory --relver=version

Substitute directory and version as appropriate. For example:

fakeroot ./buildimage.pl --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

TODO



Prev Up Next