File: sysname

package info (click to toggle)
openafs 1.8.14-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 42,972 kB
  • sloc: ansic: 455,934; xml: 66,858; perl: 11,967; makefile: 10,038; sh: 7,955; objc: 6,354; java: 5,638; cpp: 2,268; asm: 1,214; yacc: 441; tcl: 249; lex: 201; csh: 85
file content (49 lines) | stat: -rwxr-xr-x 876 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/sh
# Maps Debian architectures to AFS sysnames for building the clients and
# libraries.  This doesn't worry about the kernel version; kern-sysname
# does that when building the kernel module.
#
# Not all architectures are listed, only those that OpenAFS supports.

case `dpkg --print-architecture` in
alpha)
    echo alpha_linux_26
    ;;
arm|armel|armhf|armv5tel)
    echo arm_linux26
    ;;
arm64)
    echo arm64_linux26
    ;;
amd64)
    echo amd64_linux26
    ;;
i[3456]86)
    echo i386_linux26
    ;;
ia64)
    echo ia64_linux26
    ;;
powerpc|powerpcspe)
    echo ppc_linux26
    ;;
ppc64)
    echo ppc64_linux26
    ;;
ppc64el)
    echo ppc64le_linux26
    ;;
s390)
    echo s390_linux26
    ;;
s390x)
    echo s390x_linux26
    ;;
sparc|sparc64)
    echo sparc_linux26
    ;;
*)
    echo "ERROR: unsupported architecture" >&2
    echo UNKNOWN
    exit 1
esac