[elrepo] wl-kmod error at installing

S.Tindall s10dal at elrepo.org
Sun Jan 24 20:07:48 EST 2016


On Sat, 2016-01-23 at 16:11 -0300, Diego Farias wrote:
> I guess I've found something odd... when we do (1):
> 
>    $ echo -e "%_topdir $(echo $HOME)/rpmbuild\n%dist .el$(lsb_release
> -s -r|cut -d"." -f1).local" >> ~/.rpmmacros
> 
> 
> it means that in file .rpmmacros, these two lines should be there
> (..in my case..):
> 
> 
> %_topdir /home/dafh/rpmbuild
> 
> %dist .el7.local
> 
> 
> but the echo '-e' option 'doesn't work fine' (and I'm curious if that
> command line (1) should work as it is because in my case I paste the
> echo $HOME or lsb_release -r|cut .d"." -f1 for getting that work out)
> and in .rpmmacros I get:
> 
> -e %_topdir /home/dafh/rpmbuild
> %dist .el7.local
> 
> 
> What is the meaning of doing (1)? What is right here? I'm not going to
> continue until I verify this! 

Yes, there should be no "-e" there.

It should look something like:

 $ cat .rpmmacros
 %_topdir /home/tindall/rpmbuild
 %dist .el7.local

That .rpmmacros was created on a fresh RHEL 7 VM by following the
wl-kmod instructions ( http://elrepo.org/tiki/wl-kmod ) for EL7.

Steve




More information about the elrepo mailing list