Fix the issue that Linux WEB/GUI does not restore MBR when updating. (#1935)

This commit is contained in:
longpanda 2022-10-30 13:39:19 +08:00
parent 7d90912a09
commit 553c853865
20 changed files with 43 additions and 24 deletions

View file

@ -50,6 +50,7 @@ int ventoy_read_file_to_buf(const char *FileName, int ExtLen, void **Bufer, int
const char * ventoy_get_local_version(void);
int ventoy_fill_gpt(uint64_t size, uint64_t reserve, int align4k, VTOY_GPT_INFO *gpt);
int ventoy_fill_mbr(uint64_t size, uint64_t reserve, int align4k, MBR_HEAD *pMBR);
int VentoyGetLocalBootImg(MBR_HEAD *pMBR);
#endif /* __VENTOY_UTIL_H__ */