LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File modflist of Package kernel-source (Project Kernel:stable)

#!/bin/sh -e
flist=$1
modules=$2
output=$3
mod_builtin=$4

while read MOD ; do
	[ -n "$MOD" ] || continue
	cat $flist | grep /$MOD[.]ko\$ >> $output || { grep -q /$MOD[.]ko\$ $mod_builtin && echo Module $MOD built-in ;} || echo Module $MOD missing
done < $modules