dkms install problems
Silacci, Lucas
Lucas.Silacci at Teradata.Com
Mon Aug 27 20:41:43 CDT 2007
It's funny you should mention this...
One of the ways I looked into working around my "lstart" issue was
simply changing the version number of the driver I was installing under
dkms even though there was no actual code change associated with it. I
then ran into this issue here where the driver binary was identical to
the previous version and was removed.
I thought of just using --force in my install, but I was afraid that
--force would mean that the install would ingnore errors that I wouldn't
want ignored. There might be reasons for the install failing that I
definitely want to get the error messages for and fail the dkms install
for and --force may cause them to be ignored.
So if there's nothing else that --force means during an install, I'm all
for making rpm_safe_upgrade imply force. If there are other errors that
it might hide, then maybe we would want to have a different option?
-Lucas
> -----Original Message-----
> From: dkms-devel-bounces at dell.com
> [mailto:dkms-devel-bounces at dell.com] On Behalf Of Matt Domsch
> Sent: Friday, August 24, 2007 8:32 PM
> To: Z?; dkms-devel at dell.com
> Subject: Re: dkms install problems
>
> On Fri, Aug 24, 2007 at 10:25:44PM -0500, Matt Domsch wrote:
> > I suspect the right answer is to add --force to the end of
> the 'dkms
> > install' command in the %post scriptlet. That would cause
> the install
> > to happen even if it didn't need to, so the following uninstall
> > doesn't leave you without a driver installed...
>
> Hmm, maybe --rpm_safe_upgrade should imply the behaviour of
> --force for the install step. Then, we can release an
> updated version of dkms that "just works" for all the
> existing RPMs built like this.
>
> I kind of like that...
>
> If anyone has a patch of this, or another pet bug, now would
> be a good time to send them to the list again. If I'm fixing
> this one, might as well apply other patches and do a release,
> if there's anything out there that's bothering you...
>
> -Matt
>
> --
> Matt Domsch
> Linux Technology Strategist, Dell Office of the CTO
> linux.dell.com & www.dell.com/linux
>
> _______________________________________________
> DKMS-devel mailing list
> DKMS-devel at dell.com
> http://lists.us.dell.com/mailman/listinfo/dkms-devel
>
More information about the DKMS-devel
mailing list