Notice: We have migrated to GitLab launching 2024-05-01 see here:

Version 18 (modified by Gedare Bloom, on 03/12/15 at 15:07:25) (diff)



Status: Packaging generated as a GSOC 2008 project. Ralf Corsépius wrote an sbuild application for generating Debian hosted RTEMS tools, but could be polished.

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 RTEMS 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.= Possible Goal Extension =

# Devise a way to use qemubuilder to test RTEMS kernels and application. # Look into other Debian packaging tools

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