bug-bash
[Top][All Lists]
Advanced

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

Re: selecting modules for kernel compilation automatically


From: Mischa Baars
Subject: Re: selecting modules for kernel compilation automatically
Date: Sat, 12 Oct 2019 14:05:01 +0200
User-agent: Evolution 3.32.4 (3.32.4-1.fc30)

On Sat, 2019-10-12 at 13:50 +0200, Mischa Baars wrote:
> Hi,
> 
> Can someone please tell me why this does work:
> 
> 
> for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do 
> echo $(basename $i .ko.xz); done;
> 
> While this doesn't:
> 
> for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do 
> grep $(basename $i .ko.xz) /proc/modules; done;
> for i in $(find /lib/modules/5.3.0-next-20190924/ -type f | grep scsi); do 
> lsmod | grep $(basename $i .ko.xz); done;
> 
> Thanks,
> Mischa.

Never mind, I've probably been smoking too much.

Thanks,
Mischa.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]