-
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.
[ic/iso] Use relative paths when locating files. (#16)
<!-- Description: Please provide a summary of the changes and the motivation behind them. --> When building the LiveOS ISO, we scan the input image (vhdx/qcow/raw/iso) for certain files (bootloaders, grub, etc). We've been looking for them by name regardless of path. While this works, it could break should a file with the same name is dropped somewhere else on the input image. To protect against such case, this change looks for file using their relative paths. ### **Checklist** - [n/a] Tests added/updated - [n/a] Documentation updated (if needed) - [x] Code conforms to style guidelines
- Loading branch information
Showing
1 changed file
with
37 additions
and
23 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