[Notes] [Git][BuildStream/buildstream][coldtom/strip-rules] Try with less fatal commands



Title: GitLab

Thomas Coldrick pushed to branch coldtom/strip-rules at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • buildstream/data/projectconfig.yaml
    ... ... @@ -90,13 +90,13 @@ variables:
    90 90
             esac
    
    91 91
             realpath="$(realpath -s --relative-to="%{install-root}" "${file}")"
    
    92 92
             debugfile="%{install-root}%{debugdir}/${realpath}.debug"
    
    93
    -        mkdir -p "$(dirname "$debugfile")" || %{non-fatal-strip}
    
    94
    -        objcopy %{objcopy-extract-args} "${file}" "$debugfile" || %{non-fatal-strip}
    
    93
    +        mkdir -p "$(dirname "$debugfile")" 
    
    94
    +        objcopy %{objcopy-extract-args} "${file}" "$debugfile" 
    
    95 95
             chmod 644 "$debugfile"
    
    96 96
             mode="$(stat -c 0%a "${file}")"
    
    97 97
             [ -w "${file}" ] || chmod +w "${file}"
    
    98 98
             strip %{strip-args} "${file}" || %{non-fatal-strip}
    
    99
    -        objcopy %{objcopy-link-args} "$debugfile" "${file}" || %{non-fatal-strip}
    
    99
    +        objcopy %{objcopy-link-args} "$debugfile" "${file}" 
    
    100 100
             chmod "${mode}" "${file}"
    
    101 101
         done
    
    102 102
     
    



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