Skip to content

Commit 0dd6c61

Browse files
committed
remove some copypasta around bootscripts from armbian-bsp-generic
1 parent 030d5ad commit 0dd6c61

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,9 @@ function artifact_armbian-bsp-generic_prepare_version() {
2525
# Generic package has no board/family hooks
2626
declare hash_hooks_short="0000"
2727

28-
# get the bootscript info...
29-
declare -A bootscript_info=()
30-
get_bootscript_info # fills in bootscript_info array
31-
32-
# Hash variables/bootscripts that affect the contents of bsp-generic package.
28+
# Hash variables that affect the contents of bsp-generic package.
3329
# Those contain /armbian a lot, so don't normalize them.
34-
#FIXME: what's a bootscript for bsp-generic?
35-
declare -a vars_to_hash_no_normalize=(
36-
"bootscript_file_contents: ${bootscript_info[bootscript_file_contents]}"
37-
"bootenv_file_contents: ${bootscript_info[bootenv_file_contents]}"
38-
)
30+
declare -a vars_to_hash_no_normalize=()
3931
declare hash_variables="undetermined" # will be set by calculate_hash_for_variables(), but without normalization
4032
do_normalize_src_path="no" calculate_hash_for_variables "${vars_to_hash_no_normalize[@]}" # don't normalize
4133
declare hash_vars_no_normalize="${hash_variables}"

0 commit comments

Comments
 (0)