diff options
-rw-r--r-- | kernel/modules.pl | 4 | ||||
-rwxr-xr-x | kernel/update_kernel | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl index 82577b09b..64049b25d 100644 --- a/kernel/modules.pl +++ b/kernel/modules.pl @@ -75,9 +75,9 @@ sub flatten_and_check { if (my @bad = difference2(\@l, [ category2modules($category) ])) { foreach (@bad) { if (my $cat = module2category($_)) { - warn "module $_ is in category $cat, not in $category\n"; + warn "ERROR in modules.pl: module $_ is in category $cat, not in $category\n"; } else { - warn "unknown module $_\n"; + warn "ERROR in modules.pl: unknown module $_\n"; } } exit 1; diff --git a/kernel/update_kernel b/kernel/update_kernel index bbfa405c3..4ed1ff246 100755 --- a/kernel/update_kernel +++ b/kernel/update_kernel @@ -93,7 +93,8 @@ for i in $ALL_KERNELS/*; do done cp -f all.modules/$main/modules.description . -eval `perl modules.pl images` +l=`perl modules.pl images` || exit 1 +eval $l for i in $ALL_KERNELS/*; do kern=`basename $i` |