From 916390860d3a0e06d2e0bbcaf512c94d2700279e Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Mon, 4 Mar 2024 12:45:28 +0200 Subject: [PATCH] in kernel makefile tag update, ensure we only replace non-hashed semver Signed-off-by: Avi Deitcher --- kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/Makefile b/kernel/Makefile index 685f322b1..b163f1056 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -201,7 +201,7 @@ update-kernel-hash-yaml-%: # find and replace any usage of the normal kernel with semver for most recent series update-kernel-semver-yaml-%: $(eval NEWTAG=linuxkit/kernel:$*) - $(eval OLDTAG=linuxkit/kernel:[0-9]+.[0-9]+.[0-9]+) + $(eval OLDTAG=linuxkit/kernel:[0-9]+.[0-9]+.[0-9]+$$$$) @cd $(REPO_ROOT) && ./scripts/update-component-sha.sh --hash "$(OLDTAG)" "$(NEWTAG)" # update-kernel-yamls updates the latest hash for each supported series,