Changeset 598

Show
Ignore:
Timestamp:
05/15/07 18:30:26 (2 years ago)
Author:
chtekk
Message:

Fix boot of some distros that require fastboot file (fix by Hollow, tested by lylix).
Do not reset limit when waiting for context to die.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/TODO

    r597 r598  
    22 
    33BUGS: 
    4 - fastboot file needed for some distributions, suggested fix so far: 
    5     put before 'switch(fork())' in vshelper_startup: 
    6     char *fastboot = str_path_concat(vdir, "/fastboot"); close(open_trunc(fastboot)); 
    74 
    85NEEDED FEATURES: 
  • trunk/src/vcd/methods/helper/helper_shutdown.c

    r583 r598  
    9494 
    9595                waitvx: 
    96                 n = 0; 
    97  
    9896                while (n++ < timeout) { 
    9997                        sleep(1); 
  • trunk/src/vshelper/main.c

    r534 r598  
    179179        log_and_return_if_fault(env); 
    180180 
     181        char *fastboot = str_path_concat(vdir, "/fastboot"); 
     182        close(open_trunc(fastboot)); 
     183 
    181184        switch (fork()) { 
    182185        case -1: