blob: 877068304f7e6f9d9c6f0941572eae38c4673a79 (
plain)
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
|
#!/bin/bash
# called by dracut
check() {
local _arch=${DRACUT_ARCH:-$(uname -m)}
[ "$_arch" = "s390" ] || [ "$_arch" = "s390x" ] || return 1
return 0
}
# called by dracut
depends() {
return 0
}
# called by dracut
installkernel() {
instmods dasd_mod dasd_eckd_mod dasd_fba_mod dasd_diag_mod
}
# called by dracut
install() {
inst_hook cmdline 31 "$moddir/parse-dasd-mod.sh"
inst_multiple -o dasd_cio_free
}
|