From efcf6d47006a85f5df62dd8fafcbe30f973346ba7525e906a6291a71dcbe9280 Mon Sep 17 00:00:00 2001 From: Michal Marek Date: Tue, 4 Oct 2011 05:01:19 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Kernel:HEAD/kernel-source?expand=0&rev=7055 --- check-supported-list | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 check-supported-list diff --git a/check-supported-list b/check-supported-list deleted file mode 100644 index 5a7abc7f..00000000 --- a/check-supported-list +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/sh - -sourcedir=$1 -modpath=$2 - -# Check for modules not listed in supported.conf: First, for each module -# in the list, set mod_$module=1 -for module in $($sourcedir/guards --list < $sourcedir/supported.conf \ - | sed -e 's,.*/,,'); do - m=${module##*/} - m=${m%.ko} - eval mod_${m//-/_}=1 -done - -# Check if any installed module was not listed -status= -cd $modpath -for module in $(find . -name '*.ko' | sort); do - case "$module" in - ./kernel/drivers/staging/* | ./kernel/Documentation/*) - continue ;; - esac - module=${module%.ko} - m=${module##*/} - m=${m//-/_} - m="mod_$m" - if [ -z "${!m}" ]; then - if [ -z "$status" ]; then - echo "Modules not listed in supported.conf:" - status=1 - fi - echo ${module#./} - fi -done - -exit $status