Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7233
b: refs/heads/master
c: dc5962f
h: refs/heads/master
i:
  7231: 464e25f
v: v3
  • Loading branch information
Sam Ravnborg committed Jul 14, 2005
1 parent 7b167b7 commit fd7a955
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 687c3dac59f1746a1cf877eb52e93046a4998e03
refs/heads/master: dc5962fdf13f4d10a5fb8d0b0ae6f406ee8aed49
28 changes: 26 additions & 2 deletions trunk/scripts/package/builddeb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit fd7a955

Please sign in to comment.