Blame SOURCES/Makefile.rhelver
|
Justin Vreeland |
794d92 |
RHEL_MAJOR = 8
|
|
Justin Vreeland |
794d92 |
RHEL_MINOR = 99
|
|
Justin Vreeland |
794d92 |
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
# RHEL_RELEASE
|
|
Justin Vreeland |
794d92 |
# -------------
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
# Represents build number in 'release' part of RPM's name-version-release.
|
|
Justin Vreeland |
794d92 |
# name is <package_name>, e.g. kernel
|
|
Justin Vreeland |
794d92 |
# version is upstream kernel version this kernel is based on, e.g. 4.18.0
|
|
Justin Vreeland |
794d92 |
# release is <RHEL_RELEASE>.<dist_tag>[<buildid>], e.g. 100.el8
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
# Use this spot to avoid future merge conflicts.
|
|
Justin Vreeland |
794d92 |
# Do not trim this comment.
|
|
Justin Vreeland |
794d92 |
RHEL_RELEASE = 1
|
|
Justin Vreeland |
794d92 |
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
# Early y+1 numbering
|
|
Justin Vreeland |
794d92 |
# --------------------
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
# In early y+1 process, RHEL_RELEASE consists of 2 numbers: x.y
|
|
Justin Vreeland |
794d92 |
# First is RHEL_RELEASE inherited/merged from y as-is, second number
|
|
Justin Vreeland |
794d92 |
# is incremented with each build starting from 1. After merge from y,
|
|
Justin Vreeland |
794d92 |
# it resets back to 1. This way y+1 nvr reflects status of last merge.
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
# Example:
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
# rhel8.0 rhel-8.1
|
|
Justin Vreeland |
794d92 |
# kernel-4.18.0-58.el8 --> kernel-4.18.0-58.1.el8
|
|
Justin Vreeland |
794d92 |
# kernel-4.18.0-58.2.el8
|
|
Justin Vreeland |
794d92 |
# kernel-4.18.0-59.el8 kernel-4.18.0-59.1.el8
|
|
Justin Vreeland |
794d92 |
# kernel-4.18.0-60.el8
|
|
Justin Vreeland |
794d92 |
# kernel-4.18.0-61.el8 --> kernel-4.18.0-61.1.el8
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
#
|
|
Justin Vreeland |
794d92 |
# Use this spot to avoid future merge conflicts.
|
|
Justin Vreeland |
794d92 |
# Do not trim this comment.
|
|
Justin Vreeland |
794d92 |
EARLY_YSTREAM ?= no
|
|
Justin Vreeland |
794d92 |
EARLY_YBUILD:=
|
|
Justin Vreeland |
794d92 |
EARLY_YRELEASE:=
|
|
Justin Vreeland |
794d92 |
ifneq ("$(ZSTREAM)", "yes")
|
|
Justin Vreeland |
794d92 |
ifeq ("$(EARLY_YSTREAM)","yes")
|
|
Justin Vreeland |
794d92 |
RHEL_RELEASE:=$(RHEL_RELEASE).$(EARLY_YRELEASE)
|
|
Justin Vreeland |
794d92 |
endif
|
|
Justin Vreeland |
794d92 |
endif
|