Skip to content

Commit

Permalink
artifact-kernel: log what is the actual `${USERPATCHES_PATH}/kernel/$…
Browse files Browse the repository at this point in the history
…{KERNELPATCHDIR}` so people can find it

- case in point: some families point `KERNELPATCHDIR` to something like `archive/sunxi-5.15` which makes it harder to find than `sunxi-legacy`
  • Loading branch information
rpardini authored and igorpecovnik committed Jun 12, 2023
1 parent 03d21cc commit fd404b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/functions/artifacts/artifact-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function artifact_kernel_prepare_version() {
# @TODO: why not just delegate this to the python patching, with some "dry-run" / hash-only option?
declare patches_hash="undetermined"
declare hash_files="undetermined"
display_alert "User patches directory for kernel" "${USERPATCHES_PATH}/kernel/${KERNELPATCHDIR}" "info"
calculate_hash_for_all_files_in_dirs "${SRC}/patch/kernel/${KERNELPATCHDIR}" "${USERPATCHES_PATH}/kernel/${KERNELPATCHDIR}"
patches_hash="${hash_files}"
declare kernel_patches_hash_short="${patches_hash:0:${short_hash_size}}"
Expand Down

0 comments on commit fd404b4

Please sign in to comment.