mirror of
https://github.com/LongSoft/UEFITool.git
synced 2024-11-23 00:18:23 +08:00
Add 'Do not rebuild' support for volumes
This commit is contained in:
parent
b86c556ac3
commit
568019123e
@ -3467,15 +3467,19 @@ UINT8 FfsEngine::reconstructVolume(const QModelIndex & index, QByteArray & recon
|
||||
if (fileHeader->Type == EFI_FV_FILETYPE_PAD) {
|
||||
padFileGuid = file.left(sizeof(EFI_GUID));
|
||||
|
||||
if (model->action(index.child(i, 0)) == Actions::DoNotRebuild) {
|
||||
// User asked not to touch this file, do nothing here
|
||||
}
|
||||
// Parse non-empty pad file
|
||||
if (model->rowCount(index.child(i, 0))) {
|
||||
//TODO: handle it
|
||||
else if (model->rowCount(index.child(i, 0))) {
|
||||
// TODO: handle this special case
|
||||
continue;
|
||||
}
|
||||
// Skip empty pad-file
|
||||
else
|
||||
else {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// Volume Top File
|
||||
if (file.left(sizeof(EFI_GUID)) == EFI_FFS_VOLUME_TOP_FILE_GUID) {
|
||||
|
Loading…
Reference in New Issue
Block a user