forked from dracutdevs/dracut
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dracut.sh): handle imagebase for uefi
* UEFI creation didn't handle the ImageBase data for the PE file generation. Create an UKI thanks a stub file with a non zero BaseImage logs some warning ans generate a bad file offset management. The efi becomes unloadable. * This commit parse the PE file header, get the data and apply the ImageBase on the objcopy command. Fixes dracutdevs#2284 Signed-off-by: Valentin Lefebvre <valentin.lefebvre@suse.com>
- Loading branch information
Showing
2 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters