Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:garloff:OTC:kernel:RHEL7_862
kernel
sign-modules
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sign-modules of Package kernel
#! /bin/bash moddir=$1 modules=`find $moddir -name *.ko` MODSECKEY="./signing_key.priv" MODPUBKEY="./signing_key.x509" for mod in $modules do dir=`dirname $mod` file=`basename $mod` ./scripts/sign-file sha256 ${MODSECKEY} ${MODPUBKEY} ${dir}/${file} rm -f ${dir}/${file}.{sig,dig} done RANDOMMOD=$(find $moddir -type f -name '*.ko' | sort -R | tail -n 1) if [ "~Module signature appended~" != "$(tail -c 28 $RANDOMMOD)" ]; then echo "*** Modules are unsigned! ***" exit 1 fi exit 0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor