Compare commits

..

No commits in common. "631d15c06af3211c7df99e6f92876ded42898660" and "5549f8fd1ca5d99d58d09ab1634b134de5062847" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
0.2.3 0.2.2

View File

@ -127,7 +127,7 @@ check_kernel_signature() {
local output local output
output=$(sbverify --list "$kernel_file" 2>&1) output=$(sbverify --list "$kernel_file" 2>&1)
if [[ -n "$output" ]] && ([[ "$output" == *"issuer"* ]] || [[ "$output" == *"certificate"* ]]); then if [[ -n "$output" ]] && ([[ "$output" == *"signature"* ]] || [[ "$output" == *"issuer"* ]] || [[ "$output" == *"Certificate"* ]]); then
return 0 return 0
fi fi
@ -215,7 +215,7 @@ sign_kernel() {
local kern_file="$2" local kern_file="$2"
# Step 1: Check if the kernel is already signed # Step 1: Check if the kernel is already signed
log "[Step 1] Checking if '$kern_version' [$kern_file] is already signed..." log "[Step 1] Checking if '$kern_version' is already signed..."
if check_kernel_signature "$kern_file"; then if check_kernel_signature "$kern_file"; then
log "'$kern_version' is already signed, skipping" log "'$kern_version' is already signed, skipping"
return return