wiki:Developer/Projects/Obsolete/DebianHostedTools

DebianHostedTools

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

https://wiki.ubuntu.com/PbuilderHowto

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

http://linux.lsdev.sil.org/wiki/index.php/Packaging_using_Pbuilder

Templates for Multiple Platforms

http://wiki.debian.org/PbuilderTricks

Pbuilder Manual

http://www.netfort.gr.jp/~dancer/software/pbuilder-doc/pbuilder-doc.html

Hints for Building Debian Packages from Source

http://users.telenet.be/mydotcom/howto/linux/package02.htm

Another Pbuilder Tutorial

http://edseek.com/~jasonb/articles/pbuilder_backports/backportprocess.html

Last modified on Mar 12, 2015 at 3:07:25 PM Last modified on Mar 12, 2015, 3:07:25 PM