Jump to content

[Armbian build PR] - kernel drivers: replace all "branch:xxx" references with sha1; hash the whole of `patch/misc`


RSS Bot

Recommended Posts

kernel drivers: replace all "branch:xxx" references with sha1; hash the whole of patch/misc

  • stacktraces: introduce get_stacktrace_element_by_index() to get a specific stracktrace element
  • git: fetch_from_repo(): introduce FETCH_FROM_REPO_CALLBACK_IF_REF_MUTABLE
    • function defined in FETCH_FROM_REPO_CALLBACK_IF_REF_MUTABLE is called if reference is mutable
      • which is anything that's not commit: or tag:
        • and really there's no guarantee that tag: is immutable, but lets assume
  • drivers-harness: hash the whole of patch/misc; throw error if driver does fetch_from_repo with mutable ref
    • this should make drivers hash consistent, at the expense of being moar tiresome
    • any changes at any patches or drivers-related bash code will cause all kernels to be rebuilt
      • opposed to "some changes caused all kernels to be rebuilt"
  • drivers_network: replace all "branch:xxx" references with sha1; add notice about it

AR-1861

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines