Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Personal wiki/blog/whatever


asdfasdfasdf




Page Tree

Compilation of vmware modules

3. Create build-environment

Install debootstrap and schroot:

Code Block

apt-get install debootstrap schroot

You need one environment per arch. With i386 and amd64 you cover almost everything:

Code Block

debootstrap --arch=i386 karmic /opt/ubuntu/karmic-i386 http://nl.archive.ubuntu.com/ubuntu
debootstrap --arch=amd64 karmic /opt/ubuntu/karmic-amd64 http://nl.archive.ubuntu.com/ubuntu

Edit /etc/schroot/schroot/conf and add to the bottom:

Code Block

[karmic-amd64]
description=Ubuntu 9.10 Karmic Koala amd64
users=dick
root-users=dick
location=/opt/tmp/ubuntus/karmic
type=directory
run-setup-scripts=true
run-exec-scripts=true

[karmic-i386]
description=Ubuntu 9.10 Karmic Koala i386
users=dick
root-users=dick
location=/opt/tmp/ubuntus/karmic-i386
type=directory
run-setup-scripts=true
run-exec-scripts=true

Go into each of them and first modify /etc/apt/sources.list to have the proper lines:

...