[lang]

get the goods

Personal
Projects
Packages
Patches
Presents
Linux

Screenshots
Downloads
Advodiary
Ximian + RH9 + apt

Icon  Name                                        Last modified      Size  Description
[DIR] Parent Directory - [   ] now 21-dec-2004 19:28 227 [   ] build.2 21-dec-2004 19:27 587 [   ] kernel-module-devel-2.6.9-1.6_FC2.tar.bz2 21-dec-2004 18:22 539K tarball [   ] kernel-module-devel-2.6.9-1.3_FC2.tar.bz2 21-nov-2004 12:34 538K tarball [   ] build.3 19-nov-2004 12:19 228 [   ] kernel-module-devel-2.6.9-1.681_FC3.tar.bz2 19-nov-2004 11:52 482K tarball [   ] kmd.py 19-nov-2004 11:48 11K [   ] kernel-module-devel-2.6.9-1.678_FC3.tar.bz2 19-nov-2004 11:33 483K tarball [   ] kernel-module-devel-2.6.9-1.667.tar.bz2 08-nov-2004 10:13 472K tarball [   ] kernel-module-devel.spec 05-nov-2004 13:40 2.4K [   ] kernel-module-devel-2.6.7-1.494.2.2.tar.bz2 05-nov-2004 13:39 404K tarball [   ] kernel-module-devel-2.6.6-1.435.tar.bz2 05-nov-2004 13:39 392K tarball [   ] kernel-module-devel-2.6.6-1.435.2.3.tar.bz2 05-nov-2004 13:39 393K tarball [   ] kernel-module-devel-2.6.6-1.435.2.1.tar.bz2 05-nov-2004 13:39 393K tarball [   ] kernel-module-devel-2.6.6-1.427.tar.bz2 05-nov-2004 13:39 389K tarball [   ] kernel-module-devel-2.6.5-1.358.tar.bz2 05-nov-2004 13:39 379K tarball
WHAT TO DO
----------
- create a directory with release-extraversion
  e.g. 2.6.5-1.358
- cd to it
- mkdir rpms
- download the four kernel rpms to rpms/
- kmd.py -u 2.6.5-1.358 rpms/*.rpm
- wait a long time
- tar cjf kernel-module-devel-2.6.5-1.358.tar.bz2 \
    kernel-module-devel-2.6.5-1.358

ALGORITHM
---------
* unpack all x kernel rpms
* get x lists of all files and directories ("paths") under build 
  that are in any of the unpacked rpms
  --> dict A of x sets
* get a list of all paths that appear in all the rpms (even though
  the content could be different)
  --> set B
* get a list of all files that are different in any
  of the four (using diff -Naur from the first to each of the others)
  --> set C
* copy set B to set D, the files that are supposed to be symlinked
* for each of the files from set C, that are different:
  - each file that is different makes it impossible to symlink it from
    the common set -> remove file from D
  - each file makes it impossible to symlink any of its parent directories
    -> remove all parents from D
* for each of the paths in set D, all children of that path still left in
  D can now be removed from set D too, since the children will be in
  the symlinked parent dir
* symlink all paths still in set D to each of the separate target dirs

* for each set in dict A:
  copy all the files that from this set that are in set C to the target dir
picture All icons are taken from the excellent GNOME ScalableGorilla nautilus theme, made by the extraordinary jimmac.