From: Justin M. Forbes <jforbes@xxxxxxxxxxxxxxxxx> Shorten the uname for git snapshots Unfortunately the aarch64 64k-rt kernel put us 4 characters over the max uname when we are building git snapshot kernels. This causes the builds to fail. Shorten the uname for git snapshots by making the year 2 digit and shortening "git" to "g". Signed-off-by: Justin M. Forbes <jforbes@xxxxxxxxxxxxxxxxx> diff --git a/redhat/Makefile b/redhat/Makefile index blahblah..blahblah 100644 --- a/redhat/Makefile +++ b/redhat/Makefile @@ -229,8 +229,8 @@ else ifeq ($(VERSION_ON_UPSTREAM),1) UPSTREAMBUILD:=$(UPSTREAMBUILD)$(MARKER). else # Obtain the date that HEAD was committed (not the snapshot commit). - HEAD_DATE:=$(shell $(GIT) show -s --format=%cd --date=format:%Y%m%d $(HEAD)) - UPSTREAMBUILD:=$(UPSTREAMBUILD)$(HEAD_DATE)git$(MARKER). + HEAD_DATE:=$(shell $(GIT) show -s --format=%cd --date=format:%y%m%d $(HEAD)) + UPSTREAMBUILD:=$(UPSTREAMBUILD)$(HEAD_DATE)g$(MARKER). endif UPSTREAM_TARBALL_NAME:=$(patsubst v%,%,$(_TAG)) endif -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3850 -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue