File tree Expand file tree Collapse file tree 4 files changed +41
-5
lines changed
overlay.d/05rhcos/usr/lib/dracut/modules.d
30rhcos-afterburn-checkin
41rhcos-check-luks-syntax Expand file tree Collapse file tree 4 files changed +41
-5
lines changed Original file line number Diff line number Diff line change 2
2
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
3
3
# ex: ts=8 sw=4 sts=4 et filetype=sh
4
4
5
+ check () {
6
+ # If we are in a kdump environment return 255, so this module is only
7
+ # included if some other module depends on it
8
+ # See: https://github.com/coreos/fedora-coreos-tracker/issues/1832
9
+ #
10
+ # This module requires integration with the rest of the initramfs, so don't include it by default.
11
+ if [[ $IN_KDUMP == 1 ]]; then
12
+ return 255
13
+ fi
14
+ }
15
+
5
16
depends () {
6
17
echo systemd
7
18
}
Original file line number Diff line number Diff line change 8
8
# even though things are. Kube will do the actual health handling
9
9
# for the machine.
10
10
11
- depends () {
12
- echo network systemd
11
+ check () {
12
+ # If we are in a kdump environment return 255, so this module is only
13
+ # included if some other module depends on it
14
+ # See: https://github.com/coreos/fedora-coreos-tracker/issues/1832
15
+ #
16
+ # This module requires integration with the rest of the initramfs, so don't include it by default.
17
+ if [[ $IN_KDUMP == 1 ]]; then
18
+ return 255
19
+ fi
13
20
}
14
21
15
- check () {
16
- return 0
22
+ depends () {
23
+ echo network systemd
17
24
}
18
25
19
26
install () {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
check () {
4
- return 0
4
+ # If we are in a kdump environment return 255, so this module is only
5
+ # included if some other module depends on it
6
+ # See: https://github.com/coreos/fedora-coreos-tracker/issues/1832
7
+ #
8
+ # This module requires integration with the rest of the initramfs, so don't include it by default.
9
+ if [[ $IN_KDUMP == 1 ]]; then
10
+ return 255
11
+ fi
5
12
}
6
13
7
14
depends () {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
+ check () {
4
+ # If we are in a kdump environment return 255, so this module is only
5
+ # included if some other module depends on it
6
+ # See: https://github.com/coreos/fedora-coreos-tracker/issues/1832
7
+ #
8
+ # This module requires integration with the rest of the initramfs, so don't include it by default.
9
+ if [[ $IN_KDUMP == 1 ]]; then
10
+ return 255
11
+ fi
12
+ }
13
+
3
14
install_unit () {
4
15
local unit=" $1 " ; shift
5
16
local target=" ${1:- ignition-complete.target} " ; shift
You can’t perform that action at this time.
0 commit comments