Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15500 > unrolled thread

selecting modules for kernel compilation automatically

Started byMischa Baars <mjbaars1977.bug-bash@cyberfiber.eu>
First post2019-10-12 13:50 +0200
Last post2019-10-12 13:50 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  selecting modules for kernel compilation automatically Mischa Baars <mjbaars1977.bug-bash@cyberfiber.eu> - 2019-10-12 13:50 +0200

#15500 — selecting modules for kernel compilation automatically

FromMischa Baars <mjbaars1977.bug-bash@cyberfiber.eu>
Date2019-10-12 13:50 +0200
Subjectselecting modules for kernel compilation automatically
Message-ID<mailman.395.1570881196.9715.bug-bash@gnu.org>
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.

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web