mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
scst: Unbreak the build for RHEL 6 / CentOS 6
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8610 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -9,7 +9,12 @@ fi
|
||||
|
||||
scst_dir=$(dirname "$(cd "$(dirname "$0")" && pwd)")
|
||||
|
||||
CONFIG_MODULE_SIG_HASH=$(sed -n 's/^CONFIG_MODULE_SIG_HASH="\([^"]*\)"$/\1/p' "${KDIR}/.config")
|
||||
if [ ! -e "${KDIR}/scripts/sign-file" ]; then
|
||||
echo "Not signing modules because no sign-file executable"
|
||||
exit
|
||||
fi
|
||||
|
||||
CONFIG_MODULE_SIG_HASH=$(sed -n 's/^CONFIG_MODULE_SIG_HASH="\([^"]*\)"$/\1/p' "${KDIR}/.config" | { read -r line; [ -n "$line" ] && echo "$line" || echo sha256; })
|
||||
|
||||
sed 's,^kernel/,,' < modules.order | \
|
||||
while read -r f; do
|
||||
|
||||
Reference in New Issue
Block a user