gummiboot.bbclass: also write startup.nsh for non-iso
wic will be needing this for its bootimg-efi plugin. [YOCTO #9556] (From OE-Core rev: 43ca968c5af129a990625923bc28131b8701386d) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
dbee7aed3d
commit
837670e8ea
|
@ -34,6 +34,8 @@ efi_populate() {
|
|||
install -d ${DEST}/loader
|
||||
install -d ${DEST}/loader/entries
|
||||
install -m 0644 ${DEPLOY_DIR_IMAGE}/${EFI_IMAGE} ${DEST}${EFIDIR}/${DEST_EFI_IMAGE}
|
||||
EFIPATH=$(echo "${EFIDIR}" | sed 's/\//\\/g')
|
||||
printf 'fs0:%s\%s\n' "$EFIPATH" "$DEST_EFI_IMAGE" >${DEST}/startup.nsh
|
||||
install -m 0644 ${GUMMIBOOT_CFG} ${DEST}/loader/loader.conf
|
||||
for i in ${GUMMIBOOT_ENTRIES}; do
|
||||
install -m 0644 ${i} ${DEST}/loader/entries
|
||||
|
|
Loading…
Reference in New Issue