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>
This commit is contained in:
parent
980f10aa40
commit
a1ebf0b565
@ -250,7 +250,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
Block a user