Difference between revisions of "Setting up the build environment in a chroot"

From Alpine Linux
Jump to: navigation, search
(Continuing adding some headers)
(Create BE on HD-based Alpine: temp saving)
Line 15: Line 15:
  
 
== Create [[#Create a build environment|BE]] on HD-based Alpine ==
 
== Create [[#Create a build environment|BE]] on HD-based Alpine ==
 +
=== Preparing KVM ''(temporary notes)'' ===
 +
I chose to setup a HD-based Alpine in a virtual machine on my Ubuntu 8.10.<BR>
 +
('''Notes:''' This section about setting up KVM should probably be removed later on - it's mostly there to help me get started).
 +
apt-get install kvm ###This installs KVM###
 +
kvm-img create alpine-kvm_hd.img 5G ###Create a KVM-disk###
 +
sudo kvm -cdrom alpine.iso -boot d alpine-kvm_hd.img
  
 
= Update a existing environment =
 
= Update a existing environment =

Revision as of 13:53, 29 January 2009

Introduction

You will need a few Gigabytes to have enough pace for kernel compiling and storing all the binary packages and iso image.

This page is divided into 2 main sections

Create a build environment

The Build Environment (called BE from now on) could be any of the following...

Create BE on existing 2.6 kernel

Create BE on HD-based Alpine

Preparing KVM (temporary notes)

I chose to setup a HD-based Alpine in a virtual machine on my Ubuntu 8.10.
(Notes: This section about setting up KVM should probably be removed later on - it's mostly there to help me get started).

apt-get install kvm ###This installs KVM###
kvm-img create alpine-kvm_hd.img 5G ###Create a KVM-disk###
sudo kvm -cdrom alpine.iso -boot d alpine-kvm_hd.img

Update a existing environment