Skip to content

Commit 79c151a

Browse files
Update naming for arbian kernel images:
This allows a single repo with different tags Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
1 parent 69a4c87 commit 79c151a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bash/kernel/kernel_armbian.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ function calculate_kernel_version_armbian() {
103103
input_hash="$(cat "${ARMBIAN_KERNEL_DOCKERFILE}" | sha256sum - | cut -d ' ' -f 1)"
104104
short_input_hash="${input_hash:0:8}"
105105
kernel_oci_version="${ARMBIAN_KERNEL_MAJOR_MINOR_POINT}-${short_input_hash}"
106-
kernel_oci_image="${HOOK_KERNEL_OCI_BASE}hook-${inventory_id}:${kernel_oci_version}"
106+
armbian_type="$( echo "${inventory_id}" | cut -d "-" -f 2 )"
107+
kernel_oci_image="${HOOK_KERNEL_OCI_BASE}-armbian:${kernel_oci_version}"-"${armbian_type}"
107108
log info "kernel_oci_version: ${kernel_oci_version}"
108109
log info "kernel_oci_image: ${kernel_oci_image}"
109110
}

0 commit comments

Comments
 (0)