Skip to content

Commit

Permalink
Add debian/ubuntu vmlinux location to default search dirs
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Chunguang.Xu authored and k-hagio committed Sep 2, 2022
1 parent 3ed9ec5 commit 5b9d3e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion filesys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 **
Expand All @@ -336,6 +336,7 @@ build_searchdirs(int create, int *preferred)
"/boot/",
"/boot/efi/redhat",
"/boot/efi/EFI/redhat",
"/usr/lib/debug/boot/",
"/",
NULL
};
Expand Down

0 comments on commit 5b9d3e9

Please sign in to comment.