diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/package/builddeb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 5eecbbe58114..5868c0f2e613 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb | |||
@@ -26,6 +26,11 @@ create_package() { | |||
26 | # Some variables and settings used throughout the script | 26 | # Some variables and settings used throughout the script |
27 | version=$KERNELRELEASE | 27 | version=$KERNELRELEASE |
28 | revision=$(cat .version) | 28 | revision=$(cat .version) |
29 | if [ -n "$KDEB_PKGVERSION" ]; then | ||
30 | packageversion=$KDEB_PKGVERSION | ||
31 | else | ||
32 | packageversion=$version-$revision | ||
33 | fi | ||
29 | tmpdir="$objtree/debian/tmp" | 34 | tmpdir="$objtree/debian/tmp" |
30 | fwdir="$objtree/debian/fwtmp" | 35 | fwdir="$objtree/debian/fwtmp" |
31 | packagename=linux-$version | 36 | packagename=linux-$version |
@@ -87,7 +92,7 @@ done | |||
87 | name="Kernel Compiler <$(id -nu)@$(hostname -f)>" | 92 | name="Kernel Compiler <$(id -nu)@$(hostname -f)>" |
88 | # Generate a simple changelog template | 93 | # Generate a simple changelog template |
89 | cat <<EOF > debian/changelog | 94 | cat <<EOF > debian/changelog |
90 | linux ($version-$revision) unstable; urgency=low | 95 | linux ($packageversion) unstable; urgency=low |
91 | 96 | ||
92 | * A standard release | 97 | * A standard release |
93 | 98 | ||