aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/mod-denylist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/mod-denylist.sh')
-rwxr-xr-xSOURCES/mod-denylist.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/SOURCES/mod-denylist.sh b/SOURCES/mod-denylist.sh
index 6127d14..0b87024 100755
--- a/SOURCES/mod-denylist.sh
+++ b/SOURCES/mod-denylist.sh
@@ -127,17 +127,6 @@ fi
popd
-# If we're signing modules, we can't leave the .mod files for the .ko files
-# we've moved in .tmp_versions/. Remove them so the Kbuild 'modules_sign'
-# target doesn't try to sign a non-existent file. This is kinda ugly, but
-# so are the modules-* packages.
-
-while IFS= read -r mod
-do
- modfile=$(basename "$mod" | sed -e 's/.ko/.mod/')
- rm .tmp_versions/"$modfile"
-done < "$Dir"/dep2.list
-
if [ -z "$Dest" ]; then
sed -e "s|^.|${ModDir}|g" "$Dir"/dep2.list > "$RpmDir/$ListName"
echo "./$RpmDir/$ListName created."