mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-14 23:24:49 -04:00
Add 'Do not rebuild' support for volumes
This commit is contained in:
parent
b86c556ac3
commit
568019123e
1 changed files with 7 additions and 3 deletions
|
@ -3467,14 +3467,18 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue