OtherWays
Alternative ways to run development releases
Without Any Tools
Devel release as main work environment
Howto
quick Howto
on a Desktop machine: sudo update-manager -d, on a Server: sudo do-release-upgrade -d
Advantages
- tests the devel release on real HW
- always the latest packages
Disadvantages
- will have bugs
- sometimes explodes spectacularly (also we never had data-loss in the past)
separate partition with Ubuntu development release
quick Howto
Advantages
- tests the devel release on real HW
- safe (because there is a partition with ubuntu/stable as backup)
Disadvantages
- rebooting into devel partition takes time
- requires unpartitioned space, or resizeable volumes
- installer bugs may eat data (make backups!)
separate machine with Ubuntu development release
quick Howto
Advantages
- tests the devel release on real HW
- safe (because there is a partition with ubuntu/stable as backup)
Disadvantages
- requires more electricity and desk space
use the LiveCD
quick Howto
download iso from http://cdimage.ubuntu.com/daily-live/current/ - burn it - boot it
Advantages
- tests the devel release on real HW
- safe (because no changes are written to the hard disk)
- you can install packages on the running LiveCD
Disadvantages
- rebooting into devel partition takes time
- much slower
Using Tools
chroot
Howto
quick Howto
sudo apt-get install debootstrap; sudo debootstrap <development release> <directory>
Advantages
- easy setup
- self-contained
Disadvantages
- testing graphical applications isn't straight-forward
kvm
quick Howto
sudo apt-get install kvm virt-manager libvirt-bin
Advantages
- Feels like a real machine
- does not need special kernel modules
Disadvantages
- Does not test the devel release on different hardware
- needs modern CPU with virtualisation support
- some slowdown; requires spare disk space
virtualbox
quick Howto
sudo apt-get install virtualbox-ose virtualbox-ose-modules-uname -r
Advantages
- Feels like a real machine
- works on CPUs without hardware virtualisation support
- snapshot support
Disadvantages
- Does not test the devel release on different hardware
- some slowdown; requires spare disk space
vmware
Howto
quick Howto
Advantages
- supports snapshots
Disadvantages
- not free software
- requires out of tree kernel modules
- some slowdown; requires spare disk space
Building Packages
pbuilder
Howto
quick Howto
sudo apt-get install pbuilder; sudo pbuilder create
Advantages
- easy setup
- capability of building for different releases (using pbuilder-dist of ubuntu-dev-tools package)
- self-contained
Disadvantages
- less useful for testing fixes
using a PPA
quick Howto
Advantages
- good way to test if a package builds on various releases
- good way to ask for testing of built packages
Disadvantages
- just covers the 'build side' of testing
sbuild
Howto
quick Howto
sudo apt-get install ubuntu-dev-tools; mk-sbuild-lv <vg> <release>
Advantages
- fast
- easy setup
- identical results to builds
- capable of building for different releases
Disadvantages
- requires LVM and spare LVs
UsingDevelopmentReleases/OtherWays (last edited 2012年11月08日 16:59:19 by 99-191-111-134)