kdump-lib: change how ostree based systems are detected
Resolves: bz2174836 Upstream: Fedora Conflict: None commit a1ebf0b5654625cd7a80a3b368080d4f56088537 Author: Dusty Mabe <dusty@dustymabe.com> Date: Fri Jun 24 09:57:03 2022 -0400 kdump-lib: change how ostree based systems are detected The current recommendation is to check for /run/ostree-booted. See https://bugzilla.redhat.com/show_bug.cgi?id=2092012#c0 Signed-off-by: Dusty Mabe <dusty@dustymabe.com> Acked-by: Coiby Xu <coxu@redhat.com> Signed-off-by: Lichen Liu <lichliu@redhat.com>
This commit is contained in:
parent
e47ec659e9
commit
0cecfa7d45
|
@ -256,7 +256,7 @@ kdump_get_persistent_dev()
|
|||
|
||||
is_ostree()
|
||||
{
|
||||
grep -q "ostree" /proc/cmdline
|
||||
test -f /run/ostree-booted
|
||||
}
|
||||
|
||||
# get ip address or hostname from nfs/ssh config value
|
||||
|
|
Loading…
Reference in New Issue