Projects
Eulaceura:Factory
nestos-kernel
_service:obs_scm:sign-modules
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:sign-modules of Package nestos-kernel
#! /bin/bash moddir=$1 modules=`find $moddir -name *.ko` MODSECKEY="./signing_key.pem" 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
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2