Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP4:Update
kernel-firmware.30185
get_supplements.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File get_supplements.sh of Package kernel-firmware.30185
#!/bin/sh # # Generate modalias Supplements lines for the given kernel-firmware topic # target=$1 modules="" sorted_modules () { for m in $*; do m=$(echo $m | sed -e's/-/_/g') echo $m done | sort | uniq } while read first topic mods; do if [ "$topic" = "$target" ]; then first=${first%:} if [ -z "$mods" ]; then modules="$modules $first" else modules="$modules $mods" fi fi done < topics.list smodules=$(sorted_modules $modules) for m in $smodules; do grep '^'$m':' aliases.list | sed -e's/^.*: \(.*\)$/Supplements: modalias(\1)/g' done | sort | uniq 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