Editing OpenSuse Build Service/Fremantle Setup
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
This currently refers to some inaccessible repos. I'll open them up as I get time. | This currently refers to some inaccessible repos. I'll open them up as I get time. | ||
- | |||
- | |||
- | |||
Approach: | Approach: | ||
- | * Copy all Nokia Fremantle Binaries to | + | * Copy all Nokia Fremantle Binaries to Fremantle:1.1:Std |
- | * Create | + | * Create Fremantle:1.1:Bootstrap/<pkg> to create packages (use useforbuild = no?) |
- | * | + | * Create Fremantle:1.1:Loaded to include additional binaries needed by OBS |
- | * Create | + | * Create Fremantle:1.1 as the nominal target for :Extras and the main prjconf |
- | + | ||
- | + | ||
(see https://projects.maemo.org/trac/maemoobs/wiki/Fremantle too) | (see https://projects.maemo.org/trac/maemoobs/wiki/Fremantle too) | ||
- | + | Setup the projects: | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
=== Maemo:Fremantle:1.2:Std === | === Maemo:Fremantle:1.2:Std === | ||
Line 30: | Line 19: | ||
# Get the Fremantle binaries | # Get the Fremantle binaries | ||
- | mkdir -p /Downloads/fremantle1. | + | mkdir -p /Downloads/fremantle1.1/ |
- | cd /Downloads/fremantle1. | + | cd /Downloads/fremantle1.1/ |
wget -e robots=off --accept \*.deb --mirror --no-parent --progress=dot \ | wget -e robots=off --accept \*.deb --mirror --no-parent --progress=dot \ | ||
--no-host-directories --cut-dirs=2 -nv \ | --no-host-directories --cut-dirs=2 -nv \ | ||
- | http://repository.maemo.org/pool/fremantle-update2/ | + | http://repository.maemo.org /pool/fremantle-update2/ |
# Prepare for the :full dir for the OBS | # Prepare for the :full dir for the OBS | ||
+ | REPO=/backend_storage/maemo-sdk-5/pool/maemo5.0 | ||
OBS=/backend_storage/obs/fremantle1.2 | OBS=/backend_storage/obs/fremantle1.2 | ||
- | mkdir | + | mkdir $OBS |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
cd $OBS | cd $OBS | ||
mkdir -p armel_full i586_full | mkdir -p armel_full i586_full | ||
Line 59: | Line 39: | ||
osc -A $API meta prj Maemo:Fremantle:1.2:Std -F - <<XML | osc -A $API meta prj Maemo:Fremantle:1.2:Std -F - <<XML | ||
<project name="Maemo:Fremantle:1.2:Std"> | <project name="Maemo:Fremantle:1.2:Std"> | ||
- | <title>Fremantle 1. | + | <title>Fremantle 1.1</title> |
<description> | <description> | ||
The standard binaries from Nokia | The standard binaries from Nokia | ||
Line 109: | Line 89: | ||
</build> | </build> | ||
<publish> | <publish> | ||
- | < | + | <disable/> |
</publish> | </publish> | ||
<debuginfo> | <debuginfo> | ||
Line 120: | Line 100: | ||
<path project="openSUSE.org:Debian:5.0" repository="standard"/> | <path project="openSUSE.org:Debian:5.0" repository="standard"/> | ||
<arch>armv5el</arch> | <arch>armv5el</arch> | ||
+ | <arch>armv7el</arch> | ||
<arch>i586</arch> | <arch>i586</arch> | ||
</repository> | </repository> | ||
- | <repository name=" | + | <repository name="Ubunty_9.04_standard"> |
<path project="openSUSE.org:Ubuntu:9.04" repository="standard"/> | <path project="openSUSE.org:Ubuntu:9.04" repository="standard"/> | ||
<arch>armv5el</arch> | <arch>armv5el</arch> | ||
+ | <arch>armv7el</arch> | ||
<arch>i586</arch> | <arch>i586</arch> | ||
</repository> | </repository> | ||
Line 137: | Line 119: | ||
=== Maemo:Fremantle:1.2:Loaded === | === Maemo:Fremantle:1.2:Loaded === | ||
- | + | This project | |
- | This project | + | |
- | + | ||
- | + | ||
<pre> | <pre> | ||
osc -A $API meta prj Maemo:Fremantle:1.2:Loaded -F - <<XML | osc -A $API meta prj Maemo:Fremantle:1.2:Loaded -F - <<XML | ||
Line 147: | Line 126: | ||
<description> | <description> | ||
This project contains all the binaries used in addition to the | This project contains all the binaries used in addition to the | ||
- | standard Nokia ones. They are built in | + | standard Nokia ones. They are built in Fremantle:1.2:Bootstrap and |
then copied into here. | then copied into here. | ||
</description> | </description> | ||
Line 156: | Line 135: | ||
</build> | </build> | ||
<publish> | <publish> | ||
- | < | + | <disable/> |
</publish> | </publish> | ||
<debuginfo> | <debuginfo> | ||
Line 170: | Line 149: | ||
=== Maemo:Fremantle:1.2 === | === Maemo:Fremantle:1.2 === | ||
- | + | This project is used as a target by applications. It is a multi-path project looking first in :Loaded and then in :Std | |
- | This project is used as a target by applications. It is a multi-path | + | |
- | project looking first in :Loaded and then in :Std | + | |
<pre> | <pre> | ||
Line 204: | Line 181: | ||
Since this project is a target it needs a prjconf: | Since this project is a target it needs a prjconf: | ||
- | + | https://dvcs.projects.maemo.org/git/?p=OBS/maemoConf;a=blob_plain;f=Maemo_Fremantle.conf;h=818bd5a0c9136d13e1bb698cfcf861f64522b1d1;hb=573b391ccecd8fef6e4f5328a272a3ab1c4cdee5 | |
- | == | + | == Extras == |
+ | |||
+ | Binaries for :Loaded | ||
- | |||
<pre> | <pre> | ||
- | cd / | + | scratchbox-fake |
- | git clone git | + | osc -A $API meta pkg Maemo:Fremantle:1.2:Bootstrap scratchbox-fake -e |
+ | osc -A $API co Maemo:Fremantle:1.2:Bootstrap scratchbox-fake | ||
+ | cd Maemo:Fremantle:1.2:Bootstrap/scratchbox-fake | ||
+ | git clone git@dvcs.projects.maemo.org:OBS/fremantle-deltas/scratchbox-fake | ||
cd scratchbox-fake | cd scratchbox-fake | ||
- | dpkg-buildpackage - | + | dpkg-buildpackage -S -uc -us |
cd .. | cd .. | ||
+ | osc addremove | ||
+ | osc commit -m"From git" | ||
</pre> | </pre> | ||
=== busybox === | === busybox === | ||
- | This provides 'su | + | This just provides 'su' through busybox-login. |
Stskeeps reports that there's a login pkg inside Nokia that would be better. | Stskeeps reports that there's a login pkg inside Nokia that would be better. | ||
- | |||
<pre> | <pre> | ||
- | cd / | + | osc -A $API meta pkg Fremantle:1.1:Bootstrap busybox -e |
- | git clone git | + | osc -A $API co Fremantle:1.1:Bootstrap busybox |
+ | cd Fremantle:1.1:Bootstrap/busybox | ||
+ | git clone git@dvcs.projects.maemo.org:OBS/fremantle-deltas/busybox | ||
cd busybox | cd busybox | ||
- | dpkg-buildpackage - | + | dpkg-buildpackage -S -uc -us |
cd .. | cd .. | ||
+ | osc addremove | ||
+ | osc commit -m"From git" | ||
</pre> | </pre> | ||
=== fakeroot === | === fakeroot === | ||
- | |||
<pre> | <pre> | ||
- | cd / | + | osc -A $API meta pkg Fremantle:1.1:Bootstrap fakeroot -e |
- | git clone git | + | osc -A $API co Fremantle:1.1:Bootstrap fakeroot |
+ | cd Fremantle:1.1:Bootstrap/fakeroot | ||
+ | git clone git@dvcs.projects.maemo.org:OBS/fremantle-deltas/fakeroot | ||
cd fakeroot | cd fakeroot | ||
- | dpkg-buildpackage - | + | dpkg-buildpackage -S -uc -us |
cd .. | cd .. | ||
+ | osc addremove | ||
+ | osc commit -m"From git" | ||
</pre> | </pre> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.