Changes

From Amahi Wiki
Jump to: navigation, search
541 bytes added ,  03:26, 21 July 2012
no edit summary
'''This page is being edited actively and a lot of sections are missing currentlyno longer accurate. Please use guidance located [http://docs.amahi.org here]'''
=Current state=
We just started porting Amahi to Ubuntu. The support is highly experimental. There are a few important things to be fixed before you can run it with minimal tweaking. Please don't try it on a production server yet. We are using Ubuntu 912.04 LTS (jauntyPrecise Pangolin) Desktop 32 bit for development. We strongly recommend you to use the same for experiments. You can download this version from [http://www.ubuntu.com/getubuntu/download here].
=Requirements=
You may want to have two different installations of Ubuntu.
* A development platform, running Ubuntu 912.04 LTS Desktop 32 bit and/or 64 bit with the recommended development packages installed.* An Amahi sandbox, running Ubuntu 912.04 LTS Desktop 32 bit '''preferably''' under [http://www.virtualbox.org/ VirtualBox].
Please don't install the Amahi packages on the development platform as this might break your networking.
=Setting up the development platform=
# Install Ubuntu 912.04 LTS Desktop 32 bit.# Install essential build toolchain. ## sudo aptitude install buildapt-essentialget update# Install git. # sudo aptitude apt-get install build-essential devscripts debhelper fakeroot lintian reprepro git-core
# Read [https://wiki.ubuntu.com/PackagingGuide/Complete Ubuntu packaging guide] to get an idea of other additional packages that you may want to install to create Ubuntu packages. I will list the packages to make your part easier at a later point.
=Setting up the Amahi sandbox=
# Install [http://www.virtualbox.org/ Sun VirtualBox]. # sudo aptitude install virtualbox-ose
# Open VirtualBox and create a new guest platform for Ubuntu and install Ubuntu 912.04 LTS Desktop 32 bit.# Install VirtualBox guest additions in your Amahi sandbox.# sudo apt-get install virtualbox-ose-guest-utils (do this inside your virtual machine!)
# Setup VirtualBox folder sharing between your development platform and Amahi sandbox.
 
Of course you can also download virtualbox from the virtualbox website and install the guest additions from the virtual CD with these additions (select install guest additions from the menu to mount the CD).
=Amahi source code=
On your development platform, download Amahi source code from our git repository. # git clone git://git.amahi.org/amahi.git*Follow these steps to build Ubuntu packages. # After downloading the source, navigate to the platform directory (/trunk/platform).# Navigate to the package you wish to build (hdactl or platform).# (if appropriate) run "dch -i" to edit the changelog if you have made changes# run "make deb" to compile the packages# run "debuild" to create binary packages or "debuild -S" to create source packages. =Architecture differences=*No /etc/sysconfig folder. Instead, configuration is scattered all over the place.*Requires copying the functions library required by several shellscripts (but works fine) =Post install gotchas (asp's notes)=
# Set AMAHI_DEB_MAINTAINER environment variable. # export AMAHI_DEB_MAINTAINER="Full Name <you@domain.com>" You need to have a GnuPG key created for the e-mail address that you use in this field. It will be used to sign the package. You will be prompted for the passphrase when the package is built in the later stages.Known Bugs =# To build hdactl package, change to 'platformCheck out our project at [http://hdactl' directory and run 'make deb'bugs.amahi. # cd platformorg/hdactl # make deb You will find the .deb file generated under platformprojects/hdactlshow/release directory.ubuntu our bugtracker]=Considerations=# To build hda-platform package, change to 'platform*<s>Apache mod_passenger</platform' directory and run 'make deb'. # cd platform/platform # make deb You will find s> This has been implemented in the installer since it is now in the .deb file generated under platform/platform/release directorydefault repositories.
'''This page is being edited actively and a lot of sections are missing currently'''
12,424

edits