File: loong64.sh

package info (click to toggle)
base-installer 1.227
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,288 kB
  • sloc: sh: 1,587; ansic: 704; makefile: 59; perl: 50
file content (22 lines) | stat: -rw-r--r-- 304 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
21
22
arch_get_kernel_flavour () {
	echo loong64
}

arch_check_usable_kernel () {
	case "$1" in
	    *-dbg|*-signed-template)
		return 1
		;;
	    *-loong64 | *-loong64-*)
		# Allow any other hyphenated suffix
		return 0
		;;
	    *)
		return 1
		;;
	esac
}

arch_get_kernel () {
	echo "linux-image-loong64"
}