diff options
author | Sam Ravnborg <sam@mars.(none)> | 2005-07-14 16:24:56 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-14 16:24:56 -0400 |
commit | dc5962fdf13f4d10a5fb8d0b0ae6f406ee8aed49 (patch) | |
tree | e1fc54e7d55a12066184c1027635913f47cfc070 | |
parent | 687c3dac59f1746a1cf877eb52e93046a4998e03 (diff) |
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>
-rw-r--r-- | scripts/package/builddeb | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index bec1a10174ec..7edd4a095902 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb | |||
@@ -73,6 +73,29 @@ linux ($version) unstable; urgency=low | |||
73 | EOF | 73 | EOF |
74 | 74 | ||
75 | # Generate a control file | 75 | # Generate a control file |
76 | if [ "$ARCH" == "um" ]; then | ||
77 | |||
78 | cat <<EOF > debian/control | ||
79 | Source: linux | ||
80 | Section: base | ||
81 | Priority: optional | ||
82 | Maintainer: $name | ||
83 | Standards-Version: 3.6.1 | ||
84 | |||
85 | Package: $packagename | ||
86 | Architecture: any | ||
87 | Description: User Mode Linux kernel, version $version | ||
88 | User-mode Linux is a port of the Linux kernel to its own system call | ||
89 | interface. It provides a kind of virtual machine, which runs Linux | ||
90 | as a user process under another Linux kernel. This is useful for | ||
91 | kernel development, sandboxes, jails, experimentation, and | ||
92 | many other things. | ||
93 | . | ||
94 | This package contains the Linux kernel, modules and corresponding other | ||
95 | files version $version | ||
96 | EOF | ||
97 | |||
98 | else | ||
76 | cat <<EOF > debian/control | 99 | cat <<EOF > debian/control |
77 | Source: linux | 100 | Source: linux |
78 | Section: base | 101 | Section: base |
@@ -82,10 +105,11 @@ Standards-Version: 3.6.1 | |||
82 | 105 | ||
83 | Package: $packagename | 106 | Package: $packagename |
84 | Architecture: any | 107 | Architecture: any |
85 | Description: Linux kernel, version $packagename | 108 | Description: Linux kernel, version $version |
86 | This package contains the Linux kernel, modules and corresponding other | 109 | This package contains the Linux kernel, modules and corresponding other |
87 | files version $packagename | 110 | files version $version |
88 | EOF | 111 | EOF |
112 | fi | ||
89 | 113 | ||
90 | # Fix some ownership and permissions | 114 | # Fix some ownership and permissions |
91 | chown -R root:root "$tmpdir" | 115 | chown -R root:root "$tmpdir" |