Skip to content

Commit

Permalink
RFC: add branch to drivers base cache key `declare cache_key_base="${…
Browse files Browse the repository at this point in the history
…KERNEL_MAJOR_MINOR}_${LINUXFAMILY}_${BRANCH}"`
  • Loading branch information
rpardini committed Jul 11, 2023
1 parent ee285dc commit a3d21d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/functions/compilation/patch/drivers-harness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function kernel_drivers_create_patches() {
do_normalize_src_path="no" calculate_hash_for_variables "${KERNEL_DRIVERS_SKIP[*]}"
declare hash_variables_short="${hash_variables:0:8}"

declare cache_key_base="${KERNEL_MAJOR_MINOR}_${LINUXFAMILY}"
declare cache_key_base="${KERNEL_MAJOR_MINOR}_${LINUXFAMILY}_${BRANCH}"
declare cache_key="${cache_key_base}_${hash_files}-${hash_variables_short}"
display_alert "Cache key base:" "$cache_key_base" "debug"
display_alert "Cache key:" "$cache_key" "debug"
Expand Down

0 comments on commit a3d21d6

Please sign in to comment.