File: flash-kernel-installer.isinstallable

package info (click to toggle)
flash-kernel 3.107
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 716 kB
  • sloc: sh: 519; makefile: 36
file content (33 lines) | stat: -rwxr-xr-x 369 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
#!/bin/sh
set -e

case "`archdetect`" in
	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