On Mon, Jul 20, 2009 at 03:12:35PM -0400, Dan Pritts wrote:
> On Sat, Jul 18, 2009 at 08:19:12PM -0500, Matt Domsch wrote:
> > dkms added the dependency Requires: lsb   which, on Red  Hat and
> > Fedora distributions, pulls in redhat-lsb, which pulls in an amazing
> > amount of packages (a bunch of X libraries, hence cairo, mesa, and
> > pango; lpr commands, hence cups, ...).
> 
> Not a real solution, but as a workaround I've kludged this kind of thing
> by rolling my own "fake" rpm that only has a bunch of "provides".
> 
> i've attached a slightly-sanitized version of the spec file I use.
> 
> danno

well, that's one way to do it...

I'm thinking there's a better way.  We could do something like:

function distribution ()
{
   if [ -x /usr/bin/lsb_release ]; then /usr/bin/lsb_release
   else /usr/bin/lsb_release
   fi
}

and simply package our own private copy of lsb_release.  We use the
system copy if present, otherwise our own copy.

-- 
Matt Domsch
Technology Strategist, Dell Office of the CTO
linux.dell.com & www.dell.com/linux

_______________________________________________
Linux-PowerEdge mailing list
[email protected]
https://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq

Reply via email to