1
0
mirror of https://github.com/rancher/os-kernel.git synced 2025-09-21 18:18:08 +00:00

Add output modules list info

(cherry picked from commit 9e92d948ca)
This commit is contained in:
niusmallnan
2018-02-09 15:36:06 +08:00
parent a1058df654
commit 22c5b6c2ae
2 changed files with 6 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ move_files() {
dest=$(readlink -f $j | sed 's!/build/!/'$target'/!')
mkdir -p $(dirname $dest)
mv -f $j $dest
echo $j >> ${DIST}/kernel/modules-${target}.list
fi
done
done
@@ -113,7 +114,7 @@ split_tar() {
if [ $(find kernel -type f | wc -l) -gt 0 ]; then
echo Invalid files in $(pwd)
find kernel -type f
echo
echo
echo ERROR: Extra files in $(pwd)
echo ERROR: You may need to either remove some modules from your kernel .config, or
echo ERROR: add these files to $module_list or $module_extra_list