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


Groups > gnu.bash.bug > #15500

selecting modules for kernel compilation automatically

From Mischa Baars <mjbaars1977.bug-bash@cyberfiber.eu>
Newsgroups gnu.bash.bug
Subject selecting modules for kernel compilation automatically
Date 2019-10-12 13:50 +0200
Message-ID <mailman.395.1570881196.9715.bug-bash@gnu.org> (permalink)
References <aad1c361e76a3b015125e290b67b3b668d53c573.camel@cyberfiber.eu>

Show all headers | View raw


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.

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web