mirror of
https://github.com/crash-utility/crash
synced 2025-03-03 04:47:36 +00:00
Add debian/ubuntu vmlinux location to default search dirs
Now crash cannot find debian/ubuntu kernel vmlinux, we need to explicitly specify the path to vmlinux. Try to add the debian vmlinux location to default search directories. Signed-off-by: Chunguang Xu <chunguang.xu@shopee.com>
This commit is contained in:
parent
3ed9ec5c8d
commit
5b9d3e98cd
@ -319,7 +319,7 @@ match_proc_version(void)
|
||||
|
||||
#define CREATE 1
|
||||
#define DESTROY 0
|
||||
#define DEFAULT_SEARCHDIRS 5
|
||||
#define DEFAULT_SEARCHDIRS 6
|
||||
#define EXTRA_SEARCHDIRS 5
|
||||
|
||||
static char **
|
||||
@ -336,6 +336,7 @@ build_searchdirs(int create, int *preferred)
|
||||
"/boot/",
|
||||
"/boot/efi/redhat",
|
||||
"/boot/efi/EFI/redhat",
|
||||
"/usr/lib/debug/boot/",
|
||||
"/",
|
||||
NULL
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user