File: s390.sh

package info (click to toggle)
base-installer 1.76
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,204 kB
  • ctags: 109
  • sloc: sh: 1,466; ansic: 380; makefile: 69; perl: 50
file content (20 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
arch_get_kernel_flavour () {
	echo $MACHINE
	return 0
}

arch_check_usable_kernel () {
	case "$1" in
		*-s390-tape)
			# Bastian Blank says: "-s390-tape is only a kernel
			# image without any logic and modules".
			return 1 ;;
		*)
			return 0 ;;
	esac
}

arch_get_kernel () {
	echo "linux-image-$KERNEL_MAJOR-$1"
}