Skip to content

Commit 10f2c94

Browse files
committed
remove family/board tweaks hash
1 parent ea4836b commit 10f2c94

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

lib/functions/artifacts/artifact-armbian-bsp-generic.sh

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,8 @@ function artifact_armbian-bsp-generic_prepare_version() {
2323

2424
declare fake_unchanging_base_version="1"
2525

26-
# hash the contents of "post_family_tweaks_bsp" extension hooks (always) - use framework helper
27-
# hash the contents of family_tweaks_bsp old-style hooks (if it exists)
28-
declare -a hooks_to_hash=("$(dump_extension_method_sources_functions "post_family_tweaks_bsp")")
29-
if [[ $(type -t family_tweaks_bsp) == function ]]; then
30-
hooks_to_hash+=("$(declare -f "family_tweaks_bsp")")
31-
fi
32-
declare hash_hooks="undetermined"
33-
hash_hooks="$(echo "${hooks_to_hash[@]}" | sha256sum | cut -d' ' -f1)"
34-
declare hash_hooks_short="${hash_hooks:0:${short_hash_size}}"
26+
# Generic package has no board/family hooks
27+
declare hash_hooks_short="0000"
3528

3629
# get the bootscript info...
3730
declare -A bootscript_info=()

0 commit comments

Comments
 (0)