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 22# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
33# ex: ts=8 sw=4 sts=4 et filetype=sh
44
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+
516depends () {
617 echo systemd
718}
Original file line number Diff line number Diff line change 88# even though things are. Kube will do the actual health handling
99# for the machine.
1010
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
1320}
1421
15- check () {
16- return 0
22+ depends () {
23+ echo network systemd
1724}
1825
1926install () {
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33check () {
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
512}
613
714depends () {
Original file line number Diff line number Diff line change 11#! /bin/bash
22
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+
314install_unit () {
415 local unit=" $1 " ; shift
516 local target=" ${1:- ignition-complete.target} " ; shift
You can’t perform that action at this time.
0 commit comments