This commit is contained in:
committed by
Git OBS Bridge
parent
07ed9e7319
commit
fd5d96af53
@@ -29,7 +29,7 @@ Index: scripts/find-requires.ksyms
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ scripts/find-requires.ksyms
|
||||
@@ -0,0 +1,58 @@
|
||||
@@ -0,0 +1,59 @@
|
||||
+#! /bin/bash
|
||||
+
|
||||
+IFS=$'\n'
|
||||
@@ -82,9 +82,10 @@ Index: scripts/find-requires.ksyms
|
||||
+ | sort -u \
|
||||
+ | awk '
|
||||
+ { FS = "\t" ; OFS = "\t" }
|
||||
+ NF == 3 { print "kernel(" $2 ") = " $3
|
||||
+ next }
|
||||
+ { split($1, arr, "/")
|
||||
+ print "ksym(" arr[3] ") = " arr[2] }
|
||||
+ flavor = gensub(/.*-/, "", "", arr[1]) }
|
||||
+ NF == 3 { print "kernel(" flavor ":" $2 ") = " $3
|
||||
+ next }
|
||||
+ { print "ksym(" flavor ":" arr[3] ") = " arr[2] }
|
||||
+ '
|
||||
+fi
|
||||
|
Reference in New Issue
Block a user