V8.00.000.2025.06.17

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-09-05 17:48:51 +02:00
parent d93c697d9d
commit 0d8d2ca401

View File

@@ -30,14 +30,8 @@ nuke_passphrase() {
# shellcheck disable=SC2312
var_nuke_rounds="$(
yq -r '
..
| select(tag == "!!map" and has("rounds"))
| select(keys | any((. | tostring) | test("_nuke$")))
| .rounds
| select(tag != "!!map" and tag != "!!seq")
| tostring
' "${DIR_CNF}/partitioning.yaml" | head -n1
yq -r '.recipe[]?.control.nuke_rounds // empty | tostring' \
"${DIR_CNF}/partitioning.yaml" | head -n1
)"
do_log "debug" "file_only" "0105() var_nuke_rounds: ${var_nuke_rounds}"