[Notes] [Git][BuildStream/buildstream][tiagogomes/system_tests] 3 commits: Add support for named pipes on _process_list



Title: GitLab

Tiago Gomes pushed to branch tiagogomes/system_tests at BuildStream / buildstream

Commits:

2 changed files:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -154,7 +154,7 @@ docs:
    154 154
     .system-tests: &system-tests-template
    
    155 155
       stage: test
    
    156 156
       variables:
    
    157
    -    XDG_CACHE_HOME: /cache
    
    157
    +    #XDG_CACHE_HOME: /cache
    
    158 158
         bst_ext_url: git+https://gitlab.com/BuildStream/bst-external.git
    
    159 159
         bst_ext_ref: 7646810e7acb29e5d44f11490366a758c6e41225
    
    160 160
         fd_sdk_ref: 2472d5a178149593ddeab0feb2be1ddd0348eb75
    

  • buildstream/utils.py
    ... ... @@ -802,6 +802,12 @@ def _process_list(srcdir, destdir, filelist, actionfunc, result,
    802 802
                 os.mknod(destpath, file_stat.st_mode, file_stat.st_rdev)
    
    803 803
                 os.chmod(destpath, file_stat.st_mode)
    
    804 804
     
    
    805
    +        elif stat.S_ISFIFO(mode):
    
    806
    +            os.mkfifo(destpath, mode)
    
    807
    +
    
    808
    +        elif stat.S_ISSOCK(mode):
    
    809
    +            pass
    
    810
    +
    
    805 811
             else:
    
    806 812
                 # Unsupported type.
    
    807 813
                 raise UtilError('Cannot extract {} into staging-area. Unsupported type.'.format(srcpath))
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]