SHA256
6
0
forked from pool/rpm
OBS User unknown
2008-05-06 16:29:40 +00:00
committed by Git OBS Bridge
parent 07ed9e7319
commit fd5d96af53
6 changed files with 57 additions and 15 deletions

View File

@@ -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