Editing User:Jebba/SDK

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 291: Line 291:
  debootstrap --arch=i386 etch /home/jebba/devel/etch-i386 http://ftp.ccc.uba.ar/pub/linux/debian/debian/
  debootstrap --arch=i386 etch /home/jebba/devel/etch-i386 http://ftp.ccc.uba.ar/pub/linux/debian/debian/
 +
==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
-
==See Also==
+
===Website===
-
* [http://pkg-perl.alioth.debian.org/howto/quilt.html Quilt for Debian Maintainers]
+
* [http://www.freemoe.org/ Free devel box]
-
* [[Documentation/Maemo_5_Developer_Guide/Packaging,_Deploying_and_Distributing#Sections| Valid Sections:]]
+
 
 +
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====
 +
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.
 +
 
 +
#!/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
 +
 
 +
===QEMU===
 +
The build server is running as a qemu guest. It is launched from the host thusly:
 +
 
 +
#!/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.
 +
 
 +
* 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.

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)