Re: [Spacewalk-list] Deploy *.ko driver via spacewalk

2020-03-09 Thread Dacre, Alex
Your depmod is only being called during rpmbuild. Not when you install the rpm. You need to do it in a %post section. Sent from my iPhone > On 9 Mar 2020, at 20:41, Jody McIvor wrote: > > Caution: EXTERNAL email > > Hi Everyone, > > Hope you all had a good weekend! > > I'm trying to

Re: [Spacewalk-list] Deploy *.ko driver via spacewalk

2020-03-09 Thread Brian Long
I've done this many years ago and quickly found a reference you might enjoy. Take a peek at this Red Hat Summit 2009 presentation and look at page 43 specifically: https://docs.huihoo.com/redhat/2009/pwaterman_130_rpm-ifying.pdf Basically you want to use %triggerin on the kernel RPM so each time

[Spacewalk-list] Deploy *.ko driver via spacewalk

2020-03-09 Thread Jody McIvor
Hi Everyone, Hope you all had a good weekend! I'm trying to deploy a custom driver to a few thousand Centos 7 devices. Naturally I first tried packaging it into an RPM, but the %INSTALL% portion of the SPEC file runs all commands fine, CPing my *.ko, creating and removing folders, etc, all