We have some news to share for the request index beta feature. We’ve added more options to sort your requests, counters to the individual filters and documentation for the search functionality. Checkout the blog post for more details.

File check-module-license of Package kernel-source.42401

#!/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
openSUSE Build Service is sponsored by