-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This class uses the OE-core uki.bbclass infrastructure to assemble an ESP image with systemd-boot + UKI. Systemd-boot is installed through package management, the UKI is picked up from deploy. Signed-off-by: Koen Kooi <[email protected]>
- Loading branch information
Showing
3 changed files
with
29 additions
and
135 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Create an ESP image that has a type #2 EFI UKI and systemd-boot | ||
|
||
# Optional subfolder, dependant on where the ESP partition gets mounted | ||
# intended to only have a leading slash, no trailing slash e.g. '/EFI', or just empty, '' | ||
ESPFOLDER ?= "/EFI" | ||
|
||
do_ukiesp() { | ||
mkdir -p ${IMAGE_ROOTFS}${ESPFOLDER}/EFI/Linux | ||
|
||
# Copy over files from deploy into the rootfs | ||
install -m 0755 ${DEPLOY_DIR_IMAGE}/${UKI_FILENAME} ${IMAGE_ROOTFS}${ESPFOLDER}/EFI/Linux | ||
} | ||
|
||
addtask ukiesp after do_deploy uki before do_image_complete do_image_wic | ||
|
||
|
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 was deleted.
Oops, something went wrong.