Re: selecting modules for kernel compilation automatically

2019-10-12 Thread Mischa Baars
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-n

selecting modules for kernel compilation automatically

2019-10-12 Thread Mischa Baars
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/modu