[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200920222556.10002-7-guillem@hadrons.org>
Date: Mon, 21 Sep 2020 00:25:55 +0200
From: Guillem Jover <guillem@...rons.org>
To: linux-kbuild@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>,
Michal Marek <michal.lkml@...kovi.net>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 6/7] builddeb: Map rc versions to use an earlier than version scheme
This makes it possible to build release candidates that will have a
version earlier than the final release.
Signed-off-by: Guillem Jover <guillem@...rons.org>
---
scripts/package/mkdebian | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index b98c382f967a..ed77d0948fa3 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -93,6 +93,7 @@ else
revision=$(cat .version 2>/dev/null||echo 1)
packageversion=$version-$revision
fi
+packageversion=$(echo $packageversion | sed -e 's/-rc/~rc/')
sourcename=$KDEB_SOURCENAME
packagename=linux-image-$version
kernel_headers_packagename=linux-headers-$version
--
2.28.0.297.g1956fa8f8d
Powered by blists - more mailing lists