Version 15 (modified by C Rempel, on Feb 7, 2013 at 11:15:28 AM) (diff)


Table of Contents

    Error: Page Building/DebianHostedTools does not exist


Packaging generated as a GSOC 2008 project. Ralf Corsépius wrote an sbuild application for generating Debian hosted RTEMS tools. Need to verify with Ralf Corsépius before proceeding to use as a GSoC project.

Pre-compiled versions of the RTEMS tools are currently available for RPM-based GNU/Linux distributions such as Fedora, RedHat? Enterprise Linux, CentOS, and SUSE as well as MS-Windows via MinGW. This project consists of the development of comparable .deb package specifications and build scripts. The resulting packaging and infrastructure should be suitable for at least GNU/Debian and Ubuntu distributions. As the RTEMS toolset updates frequently, there must be scripting infrastructure developed to build these tools easily when updates are required.

RalfCorsepius? is the RPM builder and maintainer. He uses Mock to use a single development machine to build binaries for a variety of distributions. He is a good resource or mentor for this project.

The Debian alternative to Mock is: Pbuilder. Pbuilder apparently has been packaged for Fedora so may be a viable option, but would have to ask mentor.

Some initial research indicates some steps might include: # Going through a getting started with Pbuilder (or other packaging tool) # Building the RTEMS Toolset in the chrooted environment # writing a script that uses templates to build the RTEMS Toolset and RTEMS in a chrooted environment: ## download the source and Debian patches from Debian. (apt-get source binutils gcc newlib gdb) ## apply the Debian patches ## apply the RTEMS patches ## configure the packages ## satisfy the build dependencies (build-dep) ## build the package

The RTEMS Project currently does not have a computer running a Debian based GNU/Linux distribution and would have to have one before these could be supported long term.= Additional References =

Basic Pbuilder tutorial

The monolog of a frustrated user (Good for adding "gotchas" to the TODO)

Templates for Multiple Platforms

Pbuilder Manual

Hints for Building Debian Packages from Source

Another Pbuilder Tutorial