提交 dc5962fd 编写于 作者: S Sam Ravnborg

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: NRyan Anderson <ryan@michonline.com>
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 687c3dac
...@@ -73,6 +73,29 @@ linux ($version) unstable; urgency=low ...@@ -73,6 +73,29 @@ linux ($version) unstable; urgency=low
EOF EOF
# Generate a control file # 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 cat <<EOF > debian/control
Source: linux Source: linux
Section: base Section: base
...@@ -82,10 +105,11 @@ Standards-Version: 3.6.1 ...@@ -82,10 +105,11 @@ Standards-Version: 3.6.1
Package: $packagename Package: $packagename
Architecture: any Architecture: any
Description: Linux kernel, version $packagename Description: Linux kernel, version $version
This package contains the Linux kernel, modules and corresponding other This package contains the Linux kernel, modules and corresponding other
files version $packagename files version $version
EOF EOF
fi
# Fix some ownership and permissions # Fix some ownership and permissions
chown -R root:root "$tmpdir" chown -R root:root "$tmpdir"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册