Posts tagged ‘chroot’

building “gpsturbo” on ubuntu/karmic

gpsturbo“ seems to be a potential open-source rival for GSAK that a friend of us suggested (he knows the author in person), so I decided to give it a try. Currently, no Linux-binaries are available, so here are my notes what is required to build it on Ubuntu from scratch:

sudo aptitude install subversion libasound2-dev libcups2-dev libfreetype6-dev

Compilation has been done in a clean karmic chroot, which already contained my default package selection for compilation-chroots:

apt-get install wget devscripts gnupg aptitude sudo vim bash-completion libxext-dev

building “schroot” on RHEL-5.4

“schroot” is a secure chroot tool that allows a non-privileged user on a system to switch to a chroot in a secure manner. This can be used to set up automated builds etc. that don’t have to run as root.

Unfortunately, RedHat Enterprise doesn’t ship with schroot-packages, so here’s a way to build them: Continue reading ‘building “schroot” on RHEL-5.4’ »

building arm-binaries on debian/ubuntu with qemu-chroot

required packages: qemu-arm-static
see: binfmt

sudo debootstrap --foreign --verbose \
    --variant=buildd --arch arm \
    lenny `pwd`/lenny_arm \
    http://ftp.de.debian.org/debian/

setting up various chroots under debian / ubuntu

create or edit /etc/schroot/schroot.conf:

 #################################################
[hardy_i386]
description=Ubuntu Hardy Heron 8.04 (LTS) 32-bit
location=/scratch/md0/chroot/hardy_i386/
# type is required for setup-scripts to mount /proc etc. correctly
type=directory
run-setup-scripts=true
priority=3
users=<<FILL_IN_DESIRED_USERS_HERE>>
personality=linux32
aliases=hardy32,LTS32
#################################################
[hardy_amd64]
# type is required for setup-scripts to mount /proc etc. correctly
type=directory
description=Ubuntu Hardy Heron 8.04 (LTS) 64-bit
location=/scratch/md0/chroot/hardy_amd64/
priority=3
users=<<FILL_IN_DESIRED_USERS_HERE>>
# run-exec-scripts=true
run-setup-scripts=true
aliases=hardy64,LTS64


then bootstrap your desired variant:

debootstrap --verbose --variant=buildd --arch i386 hardy \
    /scratch/md0/ne704/chroot/ubuntu-hardy-32/ \
    http://de.archive.ubuntu.com/ubuntu/