Differences between revisions 108 and 109
Revision 108 as of 2008-02-09 12:03:56
Size: 7414
Editor: SeanFinney
Comment:
Revision 109 as of 2008-03-16 17:07:05
Size: 7445
Editor: HolgerLevsen
Comment:
Deletions are marked like this. Additions are marked like this.
Line 148: Line 148:
 * revert undo / redo: ctrl-r

?TableOfContents(2)

Happiness and World Domination

Enrico on [http://www.enricozini.org/talks/2004linuxtag/html/img14.html Happiness and World Domination]

stuff that I do

I also maintain some information on this page, as I really like the ease of use of wiki.debian.org:

todo

todo for debian-edu

no time for this:

adding patches with quilt to a package

  1. add quilt to build-depends
  2. create debian/patches/ and put the patches there
  3. cd debian/patches ; ls > series

  4. add "QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2" to the configure target in debian/rules

  5. add "QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2" to the clean target in debian/rules

  6. enjoy :)

Example for a python package "cython":

configure/cython::
    QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2

clean::
    QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2

Another option is to just use

include /usr/share/quilt/quilt.make

instead of 4. and 5.

adding more patches later

  1. export QUILT_PATCHES=debian/patches
  2. quilt new 200-etc-olsrd.patch
  3. quilt add Makefile.inc
  4. vi Makefile.inc
  5. quilt refresh

How to use it with svn-buildpackage:

  1. /usr/share/svn-buildpackage/contrib/svn-do (better, put it in your PATH)
  2. work with patches as described above
  3. exit 0

svn, knowing the diff before updating

  1. svn diff --revision HEAD
  2. svn up

usertags

random stuff

  • :zi in vim: disable folding
  • revert undo / redo: ctrl-r
  • ctrl-a esc: enter copy-mode in screen, useful to move around
  • dpkg --compare-versions 0.79-3.2~holger1 lt 0.79-3.2 ; echo $?
  • To put a package on hold: echo pkgname hold | dpkg --set-selections
  • To remove the hold: echo pkgname install | dpkg --set-selections
  • echo 'Acquire::PDiffs "false";' > /etc/apt/apt.conf.d/99pdiff

  • netcat for dummies:
    • on host1: cat file | nc $host2 6666
    • on host2: nc -l -p 6666 | cat > file # needs to be interrupted with ctrl-c

  • alioth: as admin edit roles to configure a project
  • ssh merkel.debian.org /org/qa.debian.org/mia/mia-query fubar@email
  • give a package back to rebuild it: <zobel> mail the buildd "retry" in body with the correct subject iin the mail, that usually means, just preply to the build log (and send the mail to buildd@foo)

  • svn propset svn:executable ON $file

old powerpc stuff

i lost interest in doing powerpc stuff in debian, so i moved this down, to at least keep this here.

todo for d-i powerpc

issues in d-i powerpc

ppc notes