diff options
author | William Wilgus <wilgus.william@gmail.com> | 2020-08-20 21:54:00 -0400 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2020-08-20 21:54:00 -0400 |
commit | f850bbbbc4b7345bebde241f651bad1c5c28df66 (patch) | |
tree | 1574bcca604f0617130aa9f1c426cfcdc097c901 /apps | |
parent | bd744059cf959c8b9086978b32660efef5925b7d (diff) |
Revert root_redirect :(
This reverts commit 31fc46ded69be7438cca2ba2c2b93c1f200165a6.
Change-Id: Ia78618c0e8b25ca65f7c8ae0db1cb9c9b321bad9
Diffstat (limited to 'apps')
-rw-r--r-- | apps/debug_menu.c | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index eae389d049..e75fce6d32 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -2453,21 +2453,16 @@ static bool dbg_boot_data(void) simplelist_set_line_count(0); crc = crc_32(boot_data.payload, boot_data.length, 0xffffffff); #if defined(HAVE_MULTIBOOT) - char rootpath[VOL_MAX_LEN+2] = RB_ROOT_CONTENTS_DIR; int boot_volume = 0; - if(crc == boot_data.crc) - { - boot_volume = boot_data.boot_volume; /* boot volume contained in uint8_t payload */ - get_redirect_dir(rootpath, sizeof(rootpath), boot_volume, "", ""); - rootpath[path_strip_trailing_separators(rootpath,NULL)] = '\0'; - } - simplelist_addline("Boot Volume: <%lu>", boot_volume); - simplelist_addline("Root:"); - simplelist_addline("%s", rootpath); - simplelist_addline(""); + if(crc == boot_data.crc) + { + boot_volume = boot_data.boot_volume; /* boot volume contained in uint8_t payload */ + } + simplelist_addline("Boot Volume: <%lu>", boot_volume); + simplelist_addline(""); #endif simplelist_addline("Bootdata RAW:"); - if (crc != boot_data.crc) + if (crc != boot_data.crc) simplelist_addline("Magic: %.8s", boot_data.magic); simplelist_addline("Length: %lu", boot_data.length); simplelist_addline("CRC: %lx", boot_data.crc); |