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 34: Line 34:
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 -p $OBS
+
mkdir $OBS
-
 
+
-
REPO=/backend_storage/maemo-sdk-5/pool/maemo5.0
+
-
cd $OBS
+
-
mkdir -p armel_full i586_full
+
-
find $REPO -name *armel.deb | xargs -I@ ln @ armel_full
+
-
find $REPO -name *i386.deb | xargs -I@ ln @ i586_full
+
-
find $REPO -name *all.deb | xargs -I@ ln @ armel_full
+
-
find $REPO -name *all.deb | xargs -I@ ln @ i586_full#
+
-
 
+
-
REPO=/backend_storage/maemo-sdk-nokia-binaries-5/
+
cd $OBS
cd $OBS
mkdir -p armel_full i586_full
mkdir -p armel_full i586_full
Line 206: Line 197:
http://gitorious.org/m-obs/maemoconf
http://gitorious.org/m-obs/maemoconf
-
== Essential Binaries for :Loaded ==
+
== Binaries for :Loaded ==
-
 
+
=== scratchbox-fake ===
=== scratchbox-fake ===
<pre>
<pre>
-
cd /maemo/devel/obs-community/
+
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://gitorious.org/m-obs/scratchbox-fake.git
git clone git://gitorious.org/m-obs/scratchbox-fake.git
cd scratchbox-fake
cd scratchbox-fake
-
dpkg-buildpackage -b -uc -us -rfakeroot
+
dpkg-buildpackage -S -uc -us -I.git
cd ..
cd ..
 +
osc addremove
 +
osc commit -m"From git"
</pre>
</pre>
=== busybox ===
=== busybox ===
-
This provides 'su' and 'getopt' through busybox-fremantle
+
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.
-
It may also be worth repackaging the linux-utils.
 
<pre>
<pre>
-
cd /maemo/devel/obs-community/
+
osc -A $API meta pkg Maemo:Fremantle:1.2:Bootstrap busybox -e
 +
osc -A $API co Maemo:Fremantle:1.2:Bootstrap busybox
 +
cd Maemo:Fremantle:1.2:Bootstrap/busybox
git clone git://gitorious.org/m-obs/busybox.git
git clone git://gitorious.org/m-obs/busybox.git
cd busybox
cd busybox
-
dpkg-buildpackage -b -uc -us -rfakeroot
+
dpkg-buildpackage -S -uc -us -I.git
cd ..
cd ..
 +
osc addremove
 +
osc commit -m"From git"
</pre>
</pre>
=== fakeroot ===
=== fakeroot ===
-
Fakeroot has had to be updated to 1.11 from Debian and various changes made. See the git log.
 
<pre>
<pre>
-
cd /maemo/devel/obs-community/
+
osc -A $API meta pkg Maemo:Fremantle:1.2:Bootstrap fakeroot -e
 +
osc -A $API co Maemo:Fremantle:1.2:Bootstrap fakeroot
 +
cd Maemo:Fremantle:1.2:Bootstrap/fakeroot
git clone git://gitorious.org/m-obs/fakeroot.git
git clone git://gitorious.org/m-obs/fakeroot.git
cd fakeroot
cd fakeroot
-
dpkg-buildpackage -b -uc -us -rfakeroot
+
dpkg-buildpackage -S -uc -us -I.git
cd ..
cd ..
 +
osc addremove
 +
osc commit -m"From git"
</pre>
</pre>
-
 
-
Other packages:
 
-
* http://packages.debian.org/lenny/diff
 
-
* maemo-optify http://maemo.org/packages/source/view/fremantle_extras-devel_free_source/maemo-optify/0.2.1/
 
-
*
 
=== Promoting the Bootstrap to Loaded ===
=== Promoting the Bootstrap to Loaded ===
<pre>
<pre>
-
cd /maemo/devel/obs-community/
 
-
tar cvfz obs-bootstrap.tgz fakeroot_*.deb busybox-fremantle_*.deb scratchbox-fake_*.deb
 
-
</pre>
 
-
Now get this to the server and unpack it in /tmp
 
-
 
-
<pre>
 
-
 
-
cd /tmp
 
-
tar xf /backend_storage/obs-bootstrap.tgz
 
cd /srv/obs/build/Maemo:Fremantle:1.2:Loaded/standard
cd /srv/obs/build/Maemo:Fremantle:1.2:Loaded/standard
mkdir -p i586/:full armv7el/:full
mkdir -p i586/:full armv7el/:full
-
ln /tmp/*armel*deb armv7el/:full/
 
-
ln /tmp/*all*deb armv7el/:full/
 
-
ln /tmp/*all*deb i586/:full/
 
-
ln /tmp/*i386*deb i586/:full/
 
 +
find /srv/obs/repos/Maemo:/Fremantle:/1.2:/Bootstrap/Debian_5.0_standard/all/ -name *.deb | xargs -I@ ln @ i586/:full
 +
find /srv/obs/repos/Maemo:/Fremantle:/1.2:/Bootstrap/Debian_5.0_standard/all/ -name *.deb | xargs -I@ ln @ armv7el/:full
 +
find /srv/obs/repos/Maemo:/Fremantle:/1.2:/Bootstrap/Debian_5.0_standard/i386/ -name *.deb | xargs -I@ ln @ i586/:full
 +
find /srv/obs/repos/Maemo:/Fremantle:/1.2:/Bootstrap/Debian_5.0_standard/armel/ -name *.deb | xargs -I@ ln @ armv7el/:full
/usr/lib/obs/server/bs_admin --rescan-repository Maemo:Fremantle:1.2:Loaded standard i586
/usr/lib/obs/server/bs_admin --rescan-repository Maemo:Fremantle:1.2:Loaded standard i586
/usr/lib/obs/server/bs_admin --rescan-repository Maemo:Fremantle:1.2:Loaded standard armv7el
/usr/lib/obs/server/bs_admin --rescan-repository Maemo:Fremantle:1.2:Loaded standard armv7el
Line 271: Line 257:
== Extras ==
== Extras ==
-
 
-
<pre>
 
-
wget -e robots=off --mirror --no-parent --progress=dot  --no-host-directories --cut-dirs=5 -nv http://repository.maemo.org/extras/pool/fremantle/free/source/
 
-
</pre>
 
-
 
-
Then:
 
-
<pre>
 
-
find /mnt/backend_storage/extras/ -name *dsc -exec /root/obs_package.pl --project Extras:Testing \{} \;
 
-
</pre>
 
-
(This needs work - it uploads multiple versions and they go to 'excluded' state)
 
-
 
-
[[Category:OpenSuse build service]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)