|
Lines 41-46
resolve_modules() {
Link Here
|
| 41 |
if [ ! "$module_list" ]; then |
41 |
if [ ! "$module_list" ]; then |
| 42 |
# Check for build-in modules |
42 |
# Check for build-in modules |
| 43 |
modname=$(echo $module | sed 's/-/_/g') |
43 |
modname=$(echo $module | sed 's/-/_/g') |
|
|
44 |
# FIXME: looking at the running kernel is wrong; we would really |
| 45 |
# need to check the kernel we are creating the initrd for. |
| 44 |
if [ ! -d /sys/module/$modname ] ; then |
46 |
if [ ! -d /sys/module/$modname ] ; then |
| 45 |
echo \ |
47 |
echo \ |
| 46 |
"WARNING Cannot determine dependencies of kernel module '$module'. |
48 |
"WARNING Cannot determine dependencies of kernel module '$module'. |