Skip to content

Caveman Development

Chris edited this page Oct 20, 2013 · 11 revisions

Warning: These are the first steps we're making to develop NexToo. This is very much a work in progress. Follow these steps with caution...

Local Development Build

Setup

You will need to be root

  1. Create a directory to develop in
  2. Download latest Gentoo Stage3
  3. Extract Stage3
  4. Download latest Portage
  5. Extract Portage
  6. Mount proc
  7. Mount dev
  8. Mount sys
  9. Copy resolve.conf
  10. chroot into new environment

cd /opt/devbin/ && mkdir nextooTest && cd nextooTest

wget http://gentoo.closest.myvwan.com/gentoo/releases/amd64/current-stage3/stage3-amd64-20131010.tar.bz2

tar -xvpf stage3-amd64-20131010.tar.bz2

http://gentoo.closest.myvwan.com/gentoo/snapshots/portage-latest.tar.bz2

tar -xvf portage-latest.tar.bz2 -C usr/

mount -t proc none proc/

mount --rbind /dev dev/

mount --rbind /sys sys/

cp /etc/resolv.conf etc/

chroot .

env-update

source /etc/profile

Step 2

  1. Emerge Layman
  2. Add source /var/lib/layman/make.conf to your make.conf
  3. Edit Layman conf file and add http://www.nextoo.org/layman/repositories.xml as an Overlay Repository
  4. Add nextoo to Layman

emerge -av layman

nano -w /etc/layman/layman.conf

layman --add nextoo

Clone this wiki locally