summaryrefslogtreecommitdiff
path: root/SOURCES/mod-denylist.sh
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2023-03-17 12:58:37 +0100
committerJan200101 <sentrycraft123@gmail.com>2023-03-17 12:58:37 +0100
commitf660f44c5b91a44a2208ba4c81b9e2d0fb8746d5 (patch)
treeab4ecfa2a61bcf66d96695b104c3c5bb305a70b9 /SOURCES/mod-denylist.sh
parent4241164144fbb3257cb93c3e6cf2a96294789a8a (diff)
downloadkernel-fsync-f660f44c5b91a44a2208ba4c81b9e2d0fb8746d5.tar.gz
kernel-fsync-f660f44c5b91a44a2208ba4c81b9e2d0fb8746d5.zip
kernel 6.2.6
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."