summaryrefslogtreecommitdiff
path: root/SOURCES/Makefile.rhelver
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-03-21 13:18:24 +0100
committerJan200101 <sentrycraft123@gmail.com>2021-03-21 13:18:24 +0100
commit0d03bbfed690ac4a025e90346a673b8607742122 (patch)
tree27a7d9904a5e5409c7efadf64e5c126946bc5bf2 /SOURCES/Makefile.rhelver
parentd6d4fd75919f9e864611d09547f97e7136e1b22d (diff)
downloadkernel-fsync-0d03bbfed690ac4a025e90346a673b8607742122.tar.gz
kernel-fsync-0d03bbfed690ac4a025e90346a673b8607742122.zip
kernel 5.11.7
Diffstat (limited to 'SOURCES/Makefile.rhelver')
-rw-r--r--SOURCES/Makefile.rhelver45
1 files changed, 45 insertions, 0 deletions
diff --git a/SOURCES/Makefile.rhelver b/SOURCES/Makefile.rhelver
new file mode 100644
index 0000000..f74bfc4
--- /dev/null
+++ b/SOURCES/Makefile.rhelver
@@ -0,0 +1,45 @@
+RHEL_MAJOR = 8
+RHEL_MINOR = 99
+
+#
+# RHEL_RELEASE
+# -------------
+#
+# Represents build number in 'release' part of RPM's name-version-release.
+# name is <package_name>, e.g. kernel
+# version is upstream kernel version this kernel is based on, e.g. 4.18.0
+# release is <RHEL_RELEASE>.<dist_tag>[<buildid>], e.g. 100.el8
+#
+# Use this spot to avoid future merge conflicts.
+# Do not trim this comment.
+RHEL_RELEASE = 9
+
+#
+# Early y+1 numbering
+# --------------------
+#
+# In early y+1 process, RHEL_RELEASE consists of 2 numbers: x.y
+# First is RHEL_RELEASE inherited/merged from y as-is, second number
+# is incremented with each build starting from 1. After merge from y,
+# it resets back to 1. This way y+1 nvr reflects status of last merge.
+#
+# Example:
+#
+# rhel8.0 rhel-8.1
+# kernel-4.18.0-58.el8 --> kernel-4.18.0-58.1.el8
+# kernel-4.18.0-58.2.el8
+# kernel-4.18.0-59.el8 kernel-4.18.0-59.1.el8
+# kernel-4.18.0-60.el8
+# kernel-4.18.0-61.el8 --> kernel-4.18.0-61.1.el8
+#
+#
+# Use this spot to avoid future merge conflicts.
+# Do not trim this comment.
+EARLY_YSTREAM ?= no
+EARLY_YBUILD:=
+EARLY_YRELEASE:=
+ifneq ("$(ZSTREAM)", "yes")
+ ifeq ("$(EARLY_YSTREAM)","yes")
+ RHEL_RELEASE:=$(RHEL_RELEASE).$(EARLY_YRELEASE)
+ endif
+endif