[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1244245377-17441-6-git-send-email-sam@ravnborg.org>
Date: Sat, 6 Jun 2009 01:42:24 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: linux-kbuild <linux-kbuild@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Cc: Frans Pop <elendil@...net.nl>,
Andres Salomon <dilinger@...ian.org>,
Sam Ravnborg <sam@...nborg.org>
Subject: [PATCH 06/39] kbuild, deb-pkg: allow to specify a custom revision for .deb packages
From: Frans Pop <elendil@...net.nl>
Allow to specify a custom revision for the generated .deb by
exporting the environment variable KDEB_PKGVERSION.
Signed-off-by: Frans Pop <elendil@...net.nl>
Acked-by: maximilian attems <max@...o.at>
Cc: Andres Salomon <dilinger@...ian.org>
Signed-off-by: Sam Ravnborg <sam@...nborg.org>
---
scripts/package/builddeb | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 5eecbbe..5868c0f 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -26,6 +26,11 @@ create_package() {
# Some variables and settings used throughout the script
version=$KERNELRELEASE
revision=$(cat .version)
+if [ -n "$KDEB_PKGVERSION" ]; then
+ packageversion=$KDEB_PKGVERSION
+else
+ packageversion=$version-$revision
+fi
tmpdir="$objtree/debian/tmp"
fwdir="$objtree/debian/fwtmp"
packagename=linux-$version
@@ -87,7 +92,7 @@ done
name="Kernel Compiler <$(id -nu)@$(hostname -f)>"
# Generate a simple changelog template
cat <<EOF > debian/changelog
-linux ($version-$revision) unstable; urgency=low
+linux ($packageversion) unstable; urgency=low
* A standard release
--
1.6.3.rc3.40.g75b44
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists