aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/package
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.(none)>2005-07-14 20:24:56 +0000
committerSam Ravnborg <sam@mars.(none)>2005-07-14 20:24:56 +0000
commitdc5962fdf13f4d10a5fb8d0b0ae6f406ee8aed49 (patch)
treee1fc54e7d55a12066184c1027635913f47cfc070 /scripts/package
parent687c3dac59f1746a1cf877eb52e93046a4998e03 (diff)
downloadkernel_samsung_smdk4412-dc5962fdf13f4d10a5fb8d0b0ae6f406ee8aed49.tar.gz
kernel_samsung_smdk4412-dc5962fdf13f4d10a5fb8d0b0ae6f406ee8aed49.tar.bz2
kernel_samsung_smdk4412-dc5962fdf13f4d10a5fb8d0b0ae6f406ee8aed49.zip
uml: Restore proper descriptions in make deb-pkg target
From: Ryan Anderson <ryan@michonline.com> This pulls the description from the Debian user-mode-linux package, and puts $version back in the appropriate places for both descriptions. Signed-off-by: Ryan Anderson <ryan@michonline.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/package')
-rw-r--r--scripts/package/builddeb28
1 files changed, 26 insertions, 2 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index bec1a10174e..7edd4a09590 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -73,6 +73,29 @@ linux ($version) unstable; urgency=low
EOF
# Generate a control file
+if [ "$ARCH" == "um" ]; then
+
+cat <<EOF > debian/control
+Source: linux
+Section: base
+Priority: optional
+Maintainer: $name
+Standards-Version: 3.6.1
+
+Package: $packagename
+Architecture: any
+Description: User Mode Linux kernel, version $version
+ User-mode Linux is a port of the Linux kernel to its own system call
+ interface. It provides a kind of virtual machine, which runs Linux
+ as a user process under another Linux kernel. This is useful for
+ kernel development, sandboxes, jails, experimentation, and
+ many other things.
+ .
+ This package contains the Linux kernel, modules and corresponding other
+ files version $version
+EOF
+
+else
cat <<EOF > debian/control
Source: linux
Section: base
@@ -82,10 +105,11 @@ Standards-Version: 3.6.1
Package: $packagename
Architecture: any
-Description: Linux kernel, version $packagename
+Description: Linux kernel, version $version
This package contains the Linux kernel, modules and corresponding other
- files version $packagename
+ files version $version
EOF
+fi
# Fix some ownership and permissions
chown -R root:root "$tmpdir"