[BBLISA] .deb tasks for dpkg
Kyle Smith
kyle_smith at terc.edu
Fri Feb 26 12:26:56 EST 2010
If you're talking about creating a package that exists solely to depend on
(and install) another package then I did that yesterday for vmware tools.
VMware was nice enough to provide an easy way to build packages for their
kernel modules using module-assistant. However this creates a package
specific to the kernel version (ex.
vmware-open-vm-tools-kmod-2.6.24-27-server). In VMware's package repo,
there's a meta-package (vmware-open-vm-tools-kmod-server) which depends on
the latest kernel module package they've built and I wanted to grab and
update that package.
I grabbed VMware's vmware-open-vm-tools-kmod-server package and extracted
it to see what was going on. It turns out the only important part of the
meta-package is the control file.
Here's the control file from vmware-open-vm-tools-kmod-server after I
updated it to depend on the vmware-open-vm-tools-kmod-2.6.24-27-server
package I created:
Package: vmware-open-vm-tools-kmod-server
Version: 8.0.0-0.164009.165940+2.6.24-27.65
Section: misc
Priority: optional
Architecture: amd64
Depends: vmware-open-vm-tools-kmod-2.6.24-27-server (=
8.0.0-0.164009.165940+2.6.24-27.65)
Installed-Size: 32
Maintainer: VMware Build Team <vmware-builds at vmware.com>
Source: vmware-open-vm-tools-kmod
Description:
This package sets a dependency on the latest kernel module driver
package.
To turn the control file into a package:
mkdir -p ./vmware-open-vm-tools-kmod-server_
8.0.0-0.164009.165940+2.6.24-27.65/DEBIAN
cp control
./vmware-open-vm-tools-kmod-server_8.0.0-0.164009.165940+2.6.24-27.65/DEBIAN/control
dpkg-deb --build
./vmware-open-vm-tools-kmod-server_8.0.0-0.164009.165940+2.6.24-27.65
From: Internaut at Large <dkap at mailhost.haven.org>
To: Back Bay LISA <bblisa at bblisa.org>
Date: 02/26/2010 11:24 AM
Subject: [BBLISA] .deb tasks for dpkg
Sent by: bblisa-bounces at bblisa.org
Greetings, folks
I'm trying to find good documentation on how to create/associate tasks
in Ubuntu's .deb package manager (dpkg). They might be known as
meta-packages?
Thank you!
-dkap
_______________________________________________
bblisa mailing list
bblisa at bblisa.org
http://www.bblisa.org/mailman/listinfo/bblisa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.bblisa.org/pipermail/bblisa/attachments/20100226/015d3996/attachment.htm
More information about the bblisa
mailing list