Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:bmwiedemann:reproducible:distribution:ring0rb
kernel-source
check-module-license
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File check-module-license of Package kernel-source
#!/bin/sh rc=0 for file in $(find "$@" -name '*.ko' -o -name '*.ko.xz' \ -o -name '*.ko.gz' -o -name '*.ko.zst'); do l=$(/sbin/modinfo -F license "$file") if [ -z "$l" ]; then echo "ERROR: No license is included for module ${file##*/lib/modules/}" rc=1 fi done exit $rc
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