Skip to content

Commit 7feb9e4

Browse files
committed
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>
1 parent ec5f4d3 commit 7feb9e4

27 files changed

+1
-94
lines changed

Makefile.rhelver

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -35,33 +35,3 @@ RHEL_RELEASE = 632
3535
# number will be incremented instead of the Y).
3636
#
3737
ZSTREAM ?= no
38-
39-
#
40-
# Early y+1 numbering
41-
# --------------------
42-
#
43-
# In early y+1 process, RHEL_RELEASE consists of 2 numbers: x.y
44-
# First is RHEL_RELEASE inherited/merged from y as-is, second number
45-
# is incremented with each build starting from 1. After merge from y,
46-
# it resets back to 1. This way y+1 nvr reflects status of last merge.
47-
#
48-
# Example:
49-
#
50-
# rhel8.0 rhel-8.1
51-
# kernel-4.18.0-58.el8 --> kernel-4.18.0-58.1.el8
52-
# kernel-4.18.0-58.2.el8
53-
# kernel-4.18.0-59.el8 kernel-4.18.0-59.1.el8
54-
# kernel-4.18.0-60.el8
55-
# kernel-4.18.0-61.el8 --> kernel-4.18.0-61.1.el8
56-
#
57-
#
58-
# Use this spot to avoid future merge conflicts.
59-
# Do not trim this comment.
60-
EARLY_YSTREAM ?= no
61-
EARLY_YBUILD:=
62-
EARLY_YRELEASE:=
63-
ifneq ("$(ZSTREAM)", "yes")
64-
ifeq ("$(EARLY_YSTREAM)","yes")
65-
RHEL_RELEASE:=$(RHEL_RELEASE).$(EARLY_YRELEASE)
66-
endif
67-
endif

redhat/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,7 @@ ifeq ("$(ZSTREAM)", "yes")
306306
BUILDOPTS += +kabidupchk
307307
else
308308
ZSTREAM_FLAG = no
309-
ifeq ("$(EARLY_YSTREAM)", "yes")
310-
YSTREAM_FLAG = early
311-
else
312-
YSTREAM_FLAG = yes
313-
endif
309+
YSTREAM_FLAG = yes
314310
endif
315311

316312
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-6161a435c191.el7

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ DISTBASEVERSION=5.12.0-0.rc4.6.test.el7
1818
DISTRELEASETAG=kernel-5.12.0-0.rc4.6.test.el7
1919
DISTRO=centos
2020
DIST_BRANCH="main"
21-
EARLY_YBUILD=
22-
EARLY_YRELEASE=
2321
ENABLE_WERROR=1
2422
FLAVOR=
2523
GIT=git

redhat/self-test/data/centos-6161a435c191.fc25

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ DISTBASEVERSION=5.12.0-0.rc4.6.test.fc25
1818
DISTRELEASETAG=kernel-5.12.0-0.rc4.6.test.fc25
1919
DISTRO=centos
2020
DIST_BRANCH="main"
21-
EARLY_YBUILD=
22-
EARLY_YRELEASE=
2321
ENABLE_WERROR=1
2422
FLAVOR=
2523
GIT=git

redhat/self-test/data/centos-9f4ad9e425a1.el7

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ DISTBASEVERSION=5.12.0-6.test.el7
1818
DISTRELEASETAG=kernel-5.12.0-6.test.el7
1919
DISTRO=centos
2020
DIST_BRANCH="main"
21-
EARLY_YBUILD=
22-
EARLY_YRELEASE=
2321
ENABLE_WERROR=1
2422
FLAVOR=
2523
GIT=git

redhat/self-test/data/centos-9f4ad9e425a1.fc25

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ DISTBASEVERSION=5.12.0-6.test.fc25
1818
DISTRELEASETAG=kernel-5.12.0-6.test.fc25
1919
DISTRO=centos
2020
DIST_BRANCH="main"
21-
EARLY_YBUILD=
22-
EARLY_YRELEASE=
2321
ENABLE_WERROR=1
2422
FLAVOR=
2523
GIT=git

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ DISTBASEVERSION=5.12.0-0.rc5.6.test.el7
1818
DISTRELEASETAG=kernel-5.12.0-0.rc5.6.test.el7
1919
DISTRO=centos
2020
DIST_BRANCH="main"
21-
EARLY_YBUILD=
22-
EARLY_YRELEASE=
2321
ENABLE_WERROR=1
2422
FLAVOR=
2523
GIT=git

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ DISTBASEVERSION=5.12.0-0.rc5.6.test.fc25
1818
DISTRELEASETAG=kernel-5.12.0-0.rc5.6.test.fc25
1919
DISTRO=centos
2020
DIST_BRANCH="main"
21-
EARLY_YBUILD=
22-
EARLY_YRELEASE=
2321
ENABLE_WERROR=1
2422
FLAVOR=
2523
GIT=git

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ DISTBASEVERSION=5.12.0-6.test.el7
1818
DISTRELEASETAG=kernel-5.12.0-6.test.el7
1919
DISTRO=centos
2020
DIST_BRANCH="main"
21-
EARLY_YBUILD=
22-
EARLY_YRELEASE=
2321
ENABLE_WERROR=1
2422
FLAVOR=
2523
GIT=git

0 commit comments

Comments
 (0)