[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Does the control file understand regexps?



On Saturday 24 February 2001 14:00, David Spreen wrote:
> Hi there,
> I have another problem. When I build lids for different kernelversions
> (lids-2.4.1, lids-2.2.18), then both apckages contain /sbin/lidsadm.
> Can I write in the controlfile Conflicts: lids-* ?
> Or have I to write Replayces lids-foo, lids-bar, lids-fuz, lids-baz?

Have a package lids-common provide /sbin/lidsadm which has the following code:
#!/bin/sh

/sbin/lidsadm-`/bin/uname -r` $*

Then have each version-specific package provide /sbin/lidsadm-2.4.1 or 
whatever the version number is.  This is the approach that is being taken for 
the Debian packages of LVM (and has already been done for the Connectiva 
packages).

The idea of having to upgrade/downgrade your lids package whenever you choose 
to boot from a different kernel version doesn't work.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page



Reply to: