Outdated documentation

This page is out of date. Please use the main navigation to find the latest documentation.

Some steps that could guide others to port and debug ubiquity from ubuntu to gnewsense-metad

1. get a chrooted debian sid and install build-essentials (arch amd64 for my case, u can use i386 or mipsel ;))

 apt-get install debootstrap
 mkdir sid-build-system
 debootstrap --arch amd64 sid sid-build-system

2. enter chroot , then put ubuntu source adress both binary and sources in the /etc/apt/sources.list files of the chroot, and then comment debian lines

 edit /etc/apt/sources.list

 It should look like:

 #deb http://http.us.debian.org/ sid main
 deb http://us.archive.ubuntu.com/ubuntu/ karmic main
 deb-src http://us.archive.ubuntu.com/ubuntu/ karmic main 

3. apt-get update and then apt-get source ubiquity related packages (ubiquity casper)

 apt-get update
 apt-cache search ubiquity
 apt-get source ubiquity ubiquity-casper

4. comment ubuntu lines and uncomment debian ones in sources.list, and update apt cache again

 edit /etc/apt/sources.list

 It should look like:

 deb http://http.us.debian.org/ sid main
 #deb http://us.archive.ubuntu.com/ubuntu/ hardy main
 #deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main 

 apt-get update

5. easy part porting, just dpkg-build the packages using sid repository (of course resolving dependences)

  enter to the corresponding dir of i guess two ubiquity packages u got before
  seems there is no problem to make package, just install the unmet build dependences

6. install kvm/qemu or quivalent free emulator of your choice

7. create a virtual machine, aditionally add other virtual disk wich will be use later with ubiquity

8. install ubiquity with "dpkg -i ", help your self is something brokes


DevelopmentTeam/Ubiquity (last edited 2013-08-29 18:34:04 by FelipeLopez)