Mer/Build
(New page: =Buiding Mer.= Mer is based on Ubuntu Jaunty http://cdimage.ubuntu.com/releases/jaunty/alpha-6/) |
(Notes from darix's walkthrough) |
||
Line 1: | Line 1: | ||
=Buiding Mer.= | =Buiding Mer.= | ||
+ | |||
+ | This page is a collection of ramblings about the ongoing experiment with OBS | ||
+ | |||
+ | https://build.opensuse.org | ||
Mer is based on Ubuntu Jaunty | Mer is based on Ubuntu Jaunty | ||
http://cdimage.ubuntu.com/releases/jaunty/alpha-6/ | http://cdimage.ubuntu.com/releases/jaunty/alpha-6/ | ||
+ | |||
+ | == Installing OBS tools locally == | ||
+ | You'll need an account with Novell : http://is.gd/nzxP | ||
+ | |||
+ | Assuming a debian or ubuntu development box locally: | ||
+ | |||
+ | Add osc repo top apt. | ||
+ | deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_8.10/ / | ||
+ | or | ||
+ | deb http://download.opensuse.org/repositories/openSUSE:/Tools/Debian_5.0/ / | ||
+ | to | ||
+ | /etc/apt/sources.list.d/obs.list | ||
+ | |||
+ | Then | ||
+ | apt-get update | ||
+ | apt-get install osc | ||
+ | |||
+ | run | ||
+ | osc | ||
+ | and enter novell.com username/passwd | ||
+ | |||
+ | Go and login to https://build.opensuse.org | ||
+ | |||
+ | Make sure you click the "let me build packages" button. | ||
+ | |||
+ | There is a link to 'Home Project' on the left I think. Follow this and enter a description. | ||
+ | |||
+ | From now on where I use "home:lbt" uses your own "home:username" | ||
+ | |||
+ | Now: | ||
+ | osc ls home:lbt | ||
+ | will list | ||
+ | |||
+ | osc co home:lbt | ||
+ | will checkout the project | ||
+ | |||
+ | now | ||
+ | osc meta pkg -e home:lbt epeg | ||
+ | |||
+ | edit the name/description | ||
+ | run | ||
+ | osc up | ||
+ | This makes a package dir | ||
+ | cp package.tar.gz package.dsc homt:lbt/package | ||
+ | cd package | ||
+ | Then add them to version control | ||
+ | osc addremove | ||
+ | and upload them | ||
+ | osc ci | ||
+ | |||
+ | Now we need to pick build targets: | ||
+ | https://build.opensuse.org/project/add_target_simple?project=home:lbt | ||
+ | And pick one or two ( I picked Debian Lenny and Ubuntu 8.10) | ||
+ | |||
+ | To watch what is going on: | ||
+ | osc buildlog <target> | ||
+ | so | ||
+ | osc buildlog Debian_5.0 i586 | ||
+ | |||
+ | This does something like a "tail -f" of the Xen builder. |
Revision as of 21:18, 16 March 2009
Buiding Mer.
This page is a collection of ramblings about the ongoing experiment with OBS
Mer is based on Ubuntu Jaunty
http://cdimage.ubuntu.com/releases/jaunty/alpha-6/
Installing OBS tools locally
You'll need an account with Novell : http://is.gd/nzxP
Assuming a debian or ubuntu development box locally:
Add osc repo top apt.
deb http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_8.10/ /
or
deb http://download.opensuse.org/repositories/openSUSE:/Tools/Debian_5.0/ /
to
/etc/apt/sources.list.d/obs.list
Then
apt-get update apt-get install osc
run
osc
and enter novell.com username/passwd
Go and login to https://build.opensuse.org
Make sure you click the "let me build packages" button.
There is a link to 'Home Project' on the left I think. Follow this and enter a description.
From now on where I use "home:lbt" uses your own "home:username"
Now:
osc ls home:lbt
will list
osc co home:lbt
will checkout the project
now
osc meta pkg -e home:lbt epeg
edit the name/description run
osc up
This makes a package dir
cp package.tar.gz package.dsc homt:lbt/package cd package
Then add them to version control
osc addremove
and upload them
osc ci
Now we need to pick build targets:
https://build.opensuse.org/project/add_target_simple?project=home:lbt
And pick one or two ( I picked Debian Lenny and Ubuntu 8.10)
To watch what is going on:
osc buildlog <target>
so
osc buildlog Debian_5.0 i586
This does something like a "tail -f" of the Xen builder.