aboutsummaryrefslogtreecommitdiff
path: root/scripts/package/mkdebian
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/package/mkdebian')
-rwxr-xr-xscripts/package/mkdebian7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index 126e19dbcedf..53319e168e41 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -95,6 +95,7 @@ else
fi
sourcename=$KDEB_SOURCENAME
packagename=linux-image-$version
+metapackagename=`echo $packagename | sed -e 's/[0-9][0-9.-]*//'`
kernel_headers_packagename=linux-headers-$version
dbg_packagename=$packagename-dbg
debarch=
@@ -209,6 +210,12 @@ Architecture: $debarch
Description: Linux kernel debugging symbols for $version
This package will come in handy if you need to debug the kernel. It provides
all the necessary debug symbols for the kernel and its modules.
+
+Package: $metapackagename
+Architecture: $debarch
+Depends: $packagename (= $packageversion)
+Description: Linux kernel (meta-package)
+ This package depends on the most recently built Linux kernel.
EOF
fi