Merge "Update qat driver sign method with 4.18 kernel from CentOS 8"
This commit is contained in:
commit
9c13db5bf7
@ -2,5 +2,5 @@ COPY_LIST=" \
|
||||
$PKG_BASE/files/* \
|
||||
$STX_BASE/downloads/qat1.7.l.4.5.0-00034.tar.gz \
|
||||
"
|
||||
TIS_PATCH_VER=1
|
||||
TIS_PATCH_VER=2
|
||||
BUILD_IS_SLOW=3
|
||||
|
@ -112,10 +112,10 @@ find %{buildroot} -type f -name \*.ko -exec %{__strip} --strip-debug \{\} \;
|
||||
|
||||
# Always Sign the modules(s).
|
||||
# If the module signing keys are not defined, define them here.
|
||||
%{!?privkey: %define privkey /usr/src/kernels/%{kernel_version}/signing_key.priv}
|
||||
%{!?privkey: %define privkey /usr/src/kernels/%{kernel_version}/signing_key.pem}
|
||||
%{!?pubkey: %define pubkey /usr/src/kernels/%{kernel_version}/signing_key.x509}
|
||||
for module in $(find %{buildroot} -type f -name \*.ko);
|
||||
do %{__perl} /usr/src/kernels/%{kernel_version}/scripts/sign-file \
|
||||
do /usr/src/kernels/%{kernel_version}/scripts/sign-file \
|
||||
sha256 %{privkey} %{pubkey} $module;
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user