File: flash-kernel-installer.isinstallable

package info (click to toggle)
flash-kernel 3.79
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 676 kB
  • ctags: 13
  • sloc: sh: 519; makefile: 30
file content (39 lines) | stat: -rwxr-xr-x 423 bytes parent folder | download | duplicates (5)
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
#!/bin/sh
set -e

case "`archdetect`" in
	arm*/iop32x)
		exit 0
	;;
	arm*/ixp4xx)
		exit 0
	;;
	arm*/kirkwood)
		exit 0
	;;
	arm*/mx5)
		exit 0
	;;
	arm*/orion5x)
		exit 0
	;;
	arm*/s3c24xx)
		exit 0
	;;
	arm*/generic)
		FK_DIR="/usr/share/flash-kernel"

		. ${FK_DIR}/functions
		get_machine
		if check_supported "$machine" ; then
			exit 0
		else
			exit 1
		fi
	;;
	# Don't activate it by default
	*)
		exit 1
	;;
esac