lvu failed (patch)

Kok, Auke sofar at foo-projects.org
Tue Jan 8 19:53:30 CET 2008


samuel wrote:
> allrighty... "rewrote" the patch... you might like it better this time ;)

it's a good start but it fails to account for a few things:

1) new modules that failed to install and were not installed before
2) old modules that failed, installed ok later and were removed
3) the list will potentially be as large as all the modules you have installed


I would reprogram this and make it a bit smarter:

-  read the file front to end
-  upon encountering a "failed" add $module to the list of failed modules
-  for each line then, if it concerns a module that is in the failed list:
  o  if a succesfull 'lrm' was found, remove the module from the list
  o  if a succesfull 'lin' was found, remove the module from the list

after this procedure, grep each module in the file for the last 'failed' entry,
and print out the entire line.


this should be enough for someone to code up, go give it a try ;)

Auke



More information about the Lunar-dev mailing list