Autogenerate a Debian changelog for correct package versioning
[openafs.git] / src / packaging / Debian / sysname
1 #!/bin/sh
2 # Maps Debian architectures to AFS sysnames for building the clients and
3 # libraries.  This doesn't worry about the kernel version; kern-sysname
4 # does that when building the kernel module.
5 #
6 # Not all architectures are listed, only those that OpenAFS supports.
7
8 case `dpkg --print-architecture` in
9 alpha)
10     echo alpha_linux_26
11     ;;
12 arm|armel|armv5tel)
13     echo arm_linux26
14     ;;
15 amd64)
16     echo amd64_linux26
17     ;;
18 i[3456]86|lpia)
19     echo i386_linux26
20     ;;
21 ia64)
22     echo ia64_linux26
23     ;;
24 powerpc)
25     echo ppc_linux26
26     ;;
27 ppc64)
28     echo ppc64_linux26
29     ;;
30 s390)
31     echo s390_linux26
32     ;;
33 s390x)
34     echo s390x_linux26
35     ;;
36 sparc|sparc64)
37     echo sparc_linux24
38     ;;
39 *)
40     echo "ERROR: unsupported architecture" >&2
41     echo UNKNOWN
42     exit 1
43 esac