-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce support for overriding system's DeviceTree
While experimenting with OS images on development boards where either the bootloader doesn't load a Flattened DeviceTree Blob, or if one wants to replace the one provided by the bootloader with a specific/new one for development/experimentation/testing purposes, it's convenient to use the OS-loaders ability to load a specific DeviceTree blob. Add a new option to mkosi, to cause a specified DeviceTree blob to be baked into the UKI, or copied into /boot and added to the systemd loader entry. As different distributions store the dtb files in different locations the requested file is searched for in the locations spotted in Debian, Fedora, Arch Linux packages (both from distro and kernel build system - as these differs as well). Resolves #2439 Based on initial effort by Manuel Traut. Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
- Loading branch information
1 parent
fe188ce
commit 17c3f63
Showing
3 changed files
with
41 additions
and
0 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
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