Skip to content

Commit 9c9fe4a

Browse files
author
CKI KWF Bot
committed
Merge: redhat: remove EARLY ystream bits
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/1708 redhat: remove EARLY ystream bits JIRA: INTERNAL Upstream Status: RHEL only (ARK commit 31028fbea1a742c36d19053ade720ea44316ccce) commit 31028fbea1a742c36d19053ade720ea44316ccce Author: Jan Stancek <jstancek@redhat.com> Date: Thu Oct 30 07:47:25 2025 +0100 redhat: remove EARLY ystream bits This was used in downstream RHEL to avoid NVR collisions between stream that is about to GA and next one (which overlap for ~6 weeks). While back we started using ZSTREAM numbering early and hence this option is no longer used. Remove all related bits. Signed-off-by: Jan Stancek <jstancek@redhat.com> Signed-off-by: Jan Stancek <jstancek@redhat.com> Approved-by: Scott Weaver <scweaver@redhat.com> Approved-by: Patrick Talbert <ptalbert@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2 parents 2181168 + 782b89a commit 9c9fe4a

27 files changed

+1
-94
lines changed

Makefile.rhelver

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -49,36 +49,6 @@ RHEL_REBASE_NUM = 1
4949
#
5050
ZSTREAM ?= no
5151

52-
#
53-
# Early y+1 numbering
54-
# --------------------
55-
#
56-
# In early y+1 process, RHEL_RELEASE consists of 2 numbers: x.y
57-
# First is RHEL_RELEASE inherited/merged from y as-is, second number
58-
# is incremented with each build starting from 1. After merge from y,
59-
# it resets back to 1. This way y+1 nvr reflects status of last merge.
60-
#
61-
# Example:
62-
#
63-
# rhel8.0 rhel-8.1
64-
# kernel-4.18.0-58.el8 --> kernel-4.18.0-58.1.el8
65-
# kernel-4.18.0-58.2.el8
66-
# kernel-4.18.0-59.el8 kernel-4.18.0-59.1.el8
67-
# kernel-4.18.0-60.el8
68-
# kernel-4.18.0-61.el8 --> kernel-4.18.0-61.1.el8
69-
#
70-
#
71-
# Use this spot to avoid future merge conflicts.
72-
# Do not trim this comment.
73-
EARLY_YSTREAM ?= no
74-
EARLY_YBUILD:=
75-
EARLY_YRELEASE:=
76-
ifneq ("$(ZSTREAM)", "yes")
77-
ifeq ("$(EARLY_YSTREAM)","yes")
78-
RHEL_RELEASE:=$(RHEL_RELEASE).$(EARLY_YRELEASE)
79-
endif
80-
endif
81-
8252
#
8353
# Automotive
8454
# ----------

redhat/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,7 @@ ifeq ("$(ZSTREAM)", "yes")
399399
BUILDOPTS += +kabidupchk
400400
else
401401
ZSTREAM_FLAG = no
402-
ifeq ("$(EARLY_YSTREAM)", "yes")
403-
YSTREAM_FLAG = early
404-
else
405-
YSTREAM_FLAG = yes
406-
endif
402+
YSTREAM_FLAG = yes
407403
endif
408404

409405
include Makefile.cross

redhat/scripts/new_release.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,6 @@ if [ "$BUMP_RELEASE" == "no" ]; then
1818
elif [ "$ZSTREAM_FLAG" == "no" ]; then
1919
if [ "$YSTREAM_FLAG" == "yes" ]; then
2020
NEW_RELEASE="$((RELEASE + 1))";
21-
else
22-
EARLY_YBUILD=$(sed -n -e 's/^EARLY_YBUILD:=\(.*\)/\1/p' "$REDHAT"/../Makefile.rhelver);
23-
EARLY_YRELEASE=$(sed -n -e 's/^EARLY_YRELEASE:=\(.*\)/\1/p' "$REDHAT"/../Makefile.rhelver);
24-
if [ "$EARLY_YBUILD" != "$RELEASE" ]; then
25-
NEW_EARLY_YRELEASE=1;
26-
else
27-
NEW_EARLY_YRELEASE="$((EARLY_YRELEASE + 1))";
28-
fi
29-
sed -i -e "s/^EARLY_YBUILD:=$EARLY_YBUILD/EARLY_YBUILD:=$RELEASE/" "$REDHAT"/../Makefile.rhelver;
30-
sed -i -e "s/^EARLY_YRELEASE:=$EARLY_YRELEASE/EARLY_YRELEASE:=$NEW_EARLY_YRELEASE/" "$REDHAT"/../Makefile.rhelver;
31-
NEW_RELEASE=$RELEASE;
3221
fi
3322
elif [ "$ZSTREAM_FLAG" == "yes" ]; then
3423
NEW_RELEASE=$YVER.$((ZMAJ+1)).1;

redhat/self-test/data/centos-2585cf9dfaad.el7

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test.el7
2424
DISTRO=centos
2525
DISTRO_USERDEF=centos
2626
DIST_USERDEF=.el7
27-
EARLY_YBUILD=
28-
EARLY_YRELEASE=
2927
ENABLE_WERROR=1
3028
FLAVOR=
3129
GIT=git

redhat/self-test/data/centos-2585cf9dfaad.fc25

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test.fc25
2424
DISTRO=centos
2525
DISTRO_USERDEF=centos
2626
DIST_USERDEF=.fc25
27-
EARLY_YBUILD=
28-
EARLY_YRELEASE=
2927
ENABLE_WERROR=1
3028
FLAVOR=
3129
GIT=git

redhat/self-test/data/centos-78e36f3b0dae.el7

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ DISTRELEASETAG=kernel-5.16.0-6.test.el7
2424
DISTRO=centos
2525
DISTRO_USERDEF=centos
2626
DIST_USERDEF=.el7
27-
EARLY_YBUILD=
28-
EARLY_YRELEASE=
2927
ENABLE_WERROR=1
3028
FLAVOR=
3129
GIT=git

redhat/self-test/data/centos-78e36f3b0dae.fc25

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ DISTRELEASETAG=kernel-5.16.0-6.test.fc25
2424
DISTRO=centos
2525
DISTRO_USERDEF=centos
2626
DIST_USERDEF=.fc25
27-
EARLY_YBUILD=
28-
EARLY_YRELEASE=
2927
ENABLE_WERROR=1
3028
FLAVOR=
3129
GIT=git

redhat/self-test/data/centos-df0cc57e057f.el7

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ DISTRELEASETAG=kernel-5.16.0-6.test.el7
2424
DISTRO=centos
2525
DISTRO_USERDEF=centos
2626
DIST_USERDEF=.el7
27-
EARLY_YBUILD=
28-
EARLY_YRELEASE=
2927
ENABLE_WERROR=1
3028
FLAVOR=
3129
GIT=git

redhat/self-test/data/centos-df0cc57e057f.fc25

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ DISTRELEASETAG=kernel-5.16.0-6.test.fc25
2424
DISTRO=centos
2525
DISTRO_USERDEF=centos
2626
DIST_USERDEF=.fc25
27-
EARLY_YBUILD=
28-
EARLY_YRELEASE=
2927
ENABLE_WERROR=1
3028
FLAVOR=
3129
GIT=git

redhat/self-test/data/centos-fce15c45d3fb.el7

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ DISTRELEASETAG=kernel-5.16.0-0.rc5.6.test.el7
2424
DISTRO=centos
2525
DISTRO_USERDEF=centos
2626
DIST_USERDEF=.el7
27-
EARLY_YBUILD=
28-
EARLY_YRELEASE=
2927
ENABLE_WERROR=1
3028
FLAVOR=
3129
GIT=git

0 commit comments

Comments
 (0)