----- Original Message -----
> On Tue, 09 Jun 2020 20:13:39 -0000, GitLab Bridge on behalf of dzickusrh
> wrote:
> > For example, currently the 5.8-rc1 merge window has 5.7.0 in the top
> > level Makefile. But the kernel.spec puts the modules in 5.8.0-0.rc0
> > directory which doesn't match.
>
> What is the rpm version of the kernel after this patch?
>
> The kernel is not actually 5.7, it is a later one. 5.8-rc0 seems
> appropriate, though obviously does not match the in-kernel version and
> has the problems you mention. However, naming the kernel "5.7" seems
> misleading.
>
> Could we perhaps append something to the kernel version to indicate
> it's not a 5.7 kernel anymore? Even something like "5.7.0-5.8.0.rc0"
> would work, IMHO. Just be sure that this is understood as a newer
> version than 5.7.0 by rpm.
+1, Since it's daily snapshot, how about git sha, so it's possible
to tell 2 snapshots apart?
@@ -58,12 +58,11 @@ ifeq ($(SNAPSHOT),1)
# packaging. Fix this by bumping the patch level and marking
# this as rc0
ifeq ($(RPMKEXTRAVERSION),)
- KEXTRAVERSION:=.rc0
+ KEXTRAVERSION:=.git$(MARKER)
PREBUILD:=0$(KEXTRAVERSION).
- RPMKPATCHLEVEL:=$(shell expr $(RPMKPATCHLEVEL) + 1)
endif
# Follow the packaging guidelines to include the date + git snapshot
- PREBUILD:=$(PREBUILD)$(shell date +%Y%m%d)git$(MARKER).
+ PREBUILD:=$(PREBUILD)$(shell date +%Y%m%d).
UPSTREAM_TARBALL_NAME:=$(shell date +%Y%m%d)git$(MARKER)
endif
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]