in kernel makefile tag update, ensure we only replace non-hashed semver

Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
Avi Deitcher 2024-03-04 12:45:28 +02:00
parent b94b3af341
commit 916390860d

View File

@ -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,