Skip to content
Snippets Groups Projects
  • Tomasz Grabiec's avatar
    c3f1f15c
    build.mk: process modules in one rule · c3f1f15c
    Tomasz Grabiec authored
    
    There is a race between "usr.manifest" and "bootfs.manifest" rules
    which both call module.py. The script does complex stuff wrt module
    preparation like fetching module files, calling make, etc. and
    should not be run concurrently.
    
    This change fixes the problem by moving the calls into one rule.
    
    This is not the end of the story, more refactoring will follow.  The
    module.py script should be split into parts, one that fetches modules
    and one that generates manifests. This way the dependencies could be
    made more fine grained and jobs paralellized.
    
    This fixes issue #100.
    
    Signed-off-by: default avatarTomasz Grabiec <tgrabiec@cloudius-systems.com>
    Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
    c3f1f15c
    History
    build.mk: process modules in one rule
    Tomasz Grabiec authored
    
    There is a race between "usr.manifest" and "bootfs.manifest" rules
    which both call module.py. The script does complex stuff wrt module
    preparation like fetching module files, calling make, etc. and
    should not be run concurrently.
    
    This change fixes the problem by moving the calls into one rule.
    
    This is not the end of the story, more refactoring will follow.  The
    module.py script should be split into parts, one that fetches modules
    and one that generates manifests. This way the dependencies could be
    made more fine grained and jobs paralellized.
    
    This fixes issue #100.
    
    Signed-off-by: default avatarTomasz Grabiec <tgrabiec@cloudius-systems.com>
    Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>