User:Jebba/Freemoe

(new freemoe page)
(Free Development Box: obra)
 
(5 intermediate revisions not shown)
Line 1: Line 1:
-
==Free Development Box==
+
=Freemoe Package=
 +
A package with various scripts is available in the maemo.org extras-devel repository.
 +
 
 +
==git==
 +
* [http://gitorious.org/freemoe/ Git archive]
 +
* Git clone:
 +
git clone git://gitorious.org/freemoe/freemoe.git
 +
* [http://gitorious.org/freemoe/freemoe/trees/master Git tree]
 +
 
 +
==maemo.org==
 +
* [http://maemo.org/packages/view/freemoe/ Freemoe package overview]
 +
* [http://talk.maemo.org/showthread.php?t=41914 Talk thread]
 +
 
 +
=Mirrors=
 +
There are a number of boxes mirroring the [[Free Software]] content of maemo.org.
 +
 
 +
* [[User:Jebba/Espejo  | Espejo setup]]
 +
 
 +
=Free Development Box=
I have set up a server for folks to use that don't have access to a /scratchbox, can't set one up, want a faster one, etc. If you would like access to it, drop me a note at moe@blagblagblag.org
I have set up a server for folks to use that don't have access to a /scratchbox, can't set one up, want a faster one, etc. If you would like access to it, drop me a note at moe@blagblagblag.org
-
===Website===
+
==Website==
* [http://www.freemoe.org/ Free devel box]
* [http://www.freemoe.org/ Free devel box]
The website has subdirs for users if they want to share the .debs they make. I have made mine a repository so packages can be grabbed with the Hildon Application Manager or apt-get.
The website has subdirs for users if they want to share the .debs they make. I have made mine a repository so packages can be grabbed with the Hildon Application Manager or apt-get.
-
====buildrepo====
+
===buildrepo===
This is my [http://www.freemoe.org/users/jebba/buildrepo buildrepo] script. I think I may change the repository setup so I have fremantle, harmattan, etc. sub-directories. It is not generating .diffs, which would make `apt-get update`s faster, but then again, it's a teeny repo right now so that probably doesn't matter. Tips welcome.
This is my [http://www.freemoe.org/users/jebba/buildrepo buildrepo] script. I think I may change the repository setup so I have fremantle, harmattan, etc. sub-directories. It is not generating .diffs, which would make `apt-get update`s faster, but then again, it's a teeny repo right now so that probably doesn't matter. Tips welcome.
Line 18: Line 36:
  dpkg-scansources dists/unstable/main/source /dev/null | gzip -9c > dists/unstable/main/source/Sources.gz
  dpkg-scansources dists/unstable/main/source /dev/null | gzip -9c > dists/unstable/main/source/Sources.gz
-
===QEMU===
+
==Server: Flauta==
-
The build server is running as a qemu guest. It is launched from the host thusly:
+
* [[User:Jebba/Flauta]] is the box hosting the SDK.
-
 
+
-
#!/bin/sh
+
-
+
-
/usr/local/bin/qemu-system-x86_64 \
+
-
        -drive \
+
-
        file=/kvm/flauta.qcow2,index=0,if=virtio,cache=writeback,boot=on \
+
-
    -drive \
+
-
        file=/kvm/www-freemoe.qcow2,index=1,if=virtio,cache=writeback \
+
-
    -drive \
+
-
        file=/kvm/scratchbox1.qcow2,index=2,if=virtio,cache=writeback \
+
-
        -cpu qemu32 \
+
-
        -m 2048 \
+
-
        -vnc :5 \
+
-
        -daemonize \
+
-
    -enable-kvm \
+
-
    -name flauta \
+
-
    -net nic,vlan=0,model=virtio \
+
-
    -net user,hostfwd=tcp:63.247.92.155:22-:22,hostfwd=tcp:63.247.92.155:80-:80 \
+
-
    -smp 8 \
+
-
    -runas jebba
+
-
 
+
-
* It is running the "current" QEMU git (d0be2513d5eefb47a83f9a303fe142dd8ef72848).
+
-
 
+
-
* Host kernel is custom 2.6.32.
+
-
 
+
-
* Guest is running Debian Lenny with stock Lenny kernel.
+
-
* The guest is running a custom 2.6.32 kernel now. A good sample .config optimized for qemu would be fantastic. Currently only seeing 883M (before seeing 2G) likely due to turning off 4G/4G which I turned off for speed per QEMU docs. Not sure if lots of memory will speed things up anyway--the filesystem will just get cached on the host.
+
=Build Server=
 +
==Server: Obra==
-
* The guest panicked once (when building a kernel.deb for ARM running `dpkg-buildpackage -j8 -rfakeroot -b`...), hence the drive to run a more recent guest kernel.
+
[[Image:Obra-etch.jpg|left|thumb|alt=Obra building etch|Obra building etch]]

Latest revision as of 02:21, 28 January 2010

Contents

[edit] Freemoe Package

A package with various scripts is available in the maemo.org extras-devel repository.

[edit] git

git clone git://gitorious.org/freemoe/freemoe.git

[edit] maemo.org

[edit] Mirrors

There are a number of boxes mirroring the Free Software content of maemo.org.

[edit] Free Development Box

I have set up a server for folks to use that don't have access to a /scratchbox, can't set one up, want a faster one, etc. If you would like access to it, drop me a note at moe@blagblagblag.org

[edit] Website

The website has subdirs for users if they want to share the .debs they make. I have made mine a repository so packages can be grabbed with the Hildon Application Manager or apt-get.

[edit] buildrepo

This is my buildrepo script. I think I may change the repository setup so I have fremantle, harmattan, etc. sub-directories. It is not generating .diffs, which would make `apt-get update`s faster, but then again, it's a teeny repo right now so that probably doesn't matter. Tips welcome.

#!/bin/sh

# Binary Packages
dpkg-scanpackages dists/unstable/main/binary-armel /dev/null | gzip -9c > dists/unstable/main/binary-armel/Packages.gz

# Source Packages
dpkg-scansources dists/unstable/main/source /dev/null | gzip -9c > dists/unstable/main/source/Sources.gz

[edit] Server: Flauta

[edit] Build Server

[edit] Server: Obra

Obra building etch
Obra building etch