Version 3 (modified by stappers, 12 years ago) (diff)

About the name of the page

Debwrt is developed on Debian systems and alike systems as Ubuntu.

This page about building / developing on Xeno systems. It describes how to setup a chroot environment for doing so.

Debootstrap

Most convined is to use debootstrap http://packages.debian.org/squeeze/debootstrap

From RPM

Maybe you can do

yum install debootstrap

Wget debootstrap

Or wget the tarball

wget http://ftp.de.debian.org/debian/pool/main/d/debootstrap/debootstrap_1.0.26.tar.gz

Create

mkdir -p /usr/src/debwrtXB
debootstrap squeeze /usr/src/debwrtXB

Setup

Become super user root and do

mount -t none proc /usr/src/debwrtXB/proc

Use

chroot /usr/src/debwrtXB

Check

See if you can install software in the chroot environment.

aptitude install svn

More tools

Install more development tools.

aptitude install build-essential libncurses5-dev

Prepare

cd /usr/src
mkdir wrtdl
svn checkout http://www.debwrt.net/repos/debwrt/trunk debwrt
cd debwrt

Build

Now you can start build you Debwrt

make menuconfig
make

Feedback

Here some notes ...

Why this page?

This wiki page was original created for ticket #76 and #77

Why chroot, why not full virtualization?

Build debwrt is a heavy task, you don't want do that in a virtual server. But if you have enough CPU power, a VM is another way to get a Debian build host.

Succes stories

  • ..., ...
  • ..., ...
  • your system here, date

See also SmallSteps