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 <[email protected]> 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 <[email protected]> To: Back Bay LISA <[email protected]> Date: 02/26/2010 11:24 AM Subject: [BBLISA] .deb tasks for dpkg Sent by: [email protected] 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 [email protected] http://www.bblisa.org/mailman/listinfo/bblisa
_______________________________________________ bblisa mailing list [email protected] http://www.bblisa.org/mailman/listinfo/bblisa
