Fixing generate_module_list script
This commit is contained in:
parent
f3f5a30ac9
commit
6513a7e53d
@ -8,7 +8,7 @@ STAGE_DIR=$BASE_DIR/stage
|
||||
|
||||
mkdir -p $STAGE_DIR/modules
|
||||
|
||||
for i in `/sbin/lsmod | awk '{print $1}'`
|
||||
for i in `/sbin/lsmod | awk '{print $1}' | tail --lines=+2`
|
||||
do
|
||||
for j in `/sbin/modprobe --show-depends $i | awk '/^insmod/ {print $2}'`
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user