summaryrefslogtreecommitdiff
path: root/utils/nwztools/database/nvp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nwztools/database/nvp')
-rw-r--r--utils/nwztools/database/nvp/nwz-a810.txt35
-rwxr-xr-xutils/nwztools/database/nvp/parse_all_nvp_headers.sh20
2 files changed, 53 insertions, 2 deletions
diff --git a/utils/nwztools/database/nvp/nwz-a810.txt b/utils/nwztools/database/nvp/nwz-a810.txt
new file mode 100644
index 0000000000..53e02ab77f
--- /dev/null
+++ b/utils/nwztools/database/nvp/nwz-a810.txt
@@ -0,0 +1,35 @@
1app,0
2bti,1
3hdi,2
4cng,3
5ser,4
6dg0,5
7dg1,6
8dcc,7
9mdl,8
10fup,9
11bok,10
12shp,11
13dba,12
14dbv,13
15tr0,14
16tr1,15
17mid,16
18tst,17
19gty,18
20fui,19
21lbi,20
22dor,21
23edw,22
24ubp,23
25syi,24
26var,25
27pcd,26
28dbs,27
29rnd,28
30ufn,29
31sdp,30
32ncp,31
33kas,32
34pnc,33
35rtc,34
diff --git a/utils/nwztools/database/nvp/parse_all_nvp_headers.sh b/utils/nwztools/database/nvp/parse_all_nvp_headers.sh
index 331016b045..2af5e83cdc 100755
--- a/utils/nwztools/database/nvp/parse_all_nvp_headers.sh
+++ b/utils/nwztools/database/nvp/parse_all_nvp_headers.sh
@@ -7,9 +7,20 @@
7# where <kernel> must be of the form 7# where <kernel> must be of the form
8# linux-kernel-*.tgz 8# linux-kernel-*.tgz
9# 9#
10if [ "$#" -lt 1 ]; then 10function usage
11 >&2 echo "usage: parse_all_nvp_header.sh /path/to/directory" 11{
12 >&2 echo "usage: parse_all_nvp_header.sh [--new-only] /path/to/directory"
12 exit 1 13 exit 1
14}
15
16if [ "$#" -lt 1 ]; then
17 usage
18fi
19
20new_only="no"
21if [ "$1" = "--new-only" ]; then
22 shift
23 new_only="yes"
13fi 24fi
14 25
15# list interesting directories 26# list interesting directories
@@ -22,6 +33,11 @@ do
22 #echo "$codename: not linux based" 33 #echo "$codename: not linux based"
23 continue 34 continue
24 fi 35 fi
36 # skip if not new
37 if [ $new_only = "yes" ] && [ -e $codename.txt ]; then
38 echo "Skip $codename: already exists"
39 continue
40 fi
25 # check if we can find a kernel 41 # check if we can find a kernel
26 kernel_tgz=`find "$dir" -maxdepth 1 -name "linux-kernel-*.tgz"` 42 kernel_tgz=`find "$dir" -maxdepth 1 -name "linux-kernel-*.tgz"`
27 if [ "$kernel_tgz" == "" ]; then 43 if [ "$kernel_tgz" == "" ]; then