wiki:Developer/Projects/Obsolete/DebianHostedTools
Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Version 16 (modified by C Rempel, on 02/07/13 at 11:15:52) (diff)

DebianHostedTools

Table of Contents

    Error: Page Building/DebianHostedTools does not exist

Status:

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

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