bug-bash
[Top][All Lists]
Advanced

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

selecting modules for kernel compilation automatically


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

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.


reply via email to

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