-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: runtime: boot: make templates architecture-agnostic
Current boot templates are designed for x86-64 targets and hardcode several arch-specific parameters. Moreover, they don't handle DTBs, which are widely used on ARM devices. This patch ensures we picked the right rootfs for the device architecture and deploy the DTB as well if it's required for the device. We also rename the kernel artifact to `kernel` which is more generic (x86-64 use `bzImage` while arm64 needs `Image`). Signed-off-by: Arnaud Ferraris <[email protected]>
- Loading branch information
Showing
3 changed files
with
21 additions
and
7 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