<font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">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.</font>
<br>
<br><font size=2 face="sans-serif">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:</font>
<br>
<br><font size=2 face="sans-serif">Package: vmware-open-vm-tools-kmod-server</font>
<br><font size=2 face="sans-serif">Version: 8.0.0-0.164009.165940+2.6.24-27.65</font>
<br><font size=2 face="sans-serif">Section: misc</font>
<br><font size=2 face="sans-serif">Priority: optional</font>
<br><font size=2 face="sans-serif">Architecture: amd64</font>
<br><font size=2 face="sans-serif">Depends: vmware-open-vm-tools-kmod-2.6.24-27-server
(= 8.0.0-0.164009.165940+2.6.24-27.65)</font>
<br><font size=2 face="sans-serif">Installed-Size: 32</font>
<br><font size=2 face="sans-serif">Maintainer: VMware Build Team <vmware-builds@vmware.com></font>
<br><font size=2 face="sans-serif">Source: vmware-open-vm-tools-kmod</font>
<br><font size=2 face="sans-serif">Description: </font>
<br><font size=2 face="sans-serif"> This package sets a dependency
on the latest kernel module driver package.</font>
<br>
<br><font size=2 face="sans-serif">To turn the control file into a package:</font>
<br><font size=2 face="sans-serif">mkdir -p ./vmware-open-vm-tools-kmod-server_8.0.0-0.164009.165940+2.6.24-27.65/DEBIAN</font>
<br><font size=2 face="sans-serif">cp control ./vmware-open-vm-tools-kmod-server_8.0.0-0.164009.165940+2.6.24-27.65/DEBIAN/control</font>
<br><font size=2 face="sans-serif">dpkg-deb --build ./vmware-open-vm-tools-kmod-server_8.0.0-0.164009.165940+2.6.24-27.65</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Internaut at Large
<dkap@mailhost.haven.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Back Bay LISA <bblisa@bblisa.org></font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">02/26/2010 11:24 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">[BBLISA] .deb
tasks for dpkg</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by:
</font><font size=1 face="sans-serif">bblisa-bounces@bblisa.org</font>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>Greetings, folks<br>
<br>
I'm trying to find good documentation on how to create/associate tasks<br>
in Ubuntu's .deb package manager (dpkg). They might be known as<br>
meta-packages?<br>
<br>
Thank you!<br>
<br>
-dkap<br>
<br>
<br>
_______________________________________________<br>
bblisa mailing list<br>
bblisa@bblisa.org<br>
</font></tt><a href=http://www.bblisa.org/mailman/listinfo/bblisa><tt><font size=2>http://www.bblisa.org/mailman/listinfo/bblisa</font></tt></a><tt><font size=2><br>
</font></tt>
<br>