Fixing generate_module_list script

This commit is contained in:
Neil Horman 2009-05-18 13:51:17 +00:00
parent f3f5a30ac9
commit 6513a7e53d

View File

@ -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