In Zeus I have a recipe that installs the file (a u-boot boot.scr for me):

install -m 0644 boot.scr ${DEPLOYDIR}

Make sure the recipe is included in your image.  Then in my machine conf:

IMAGE_BOOT_FILES = "zImage oftree imx7d-phyboard-zeta-004.dtb 
imx7d-phyboard-zeta-004-m4.dtb boot.scr"

Gary

________________________________
From: [email protected] <[email protected]> on behalf of 
Ivan Riabtsov via lists.yoctoproject.org 
<[email protected]>
Sent: Saturday, January 29, 2022 10:47 PM
To: Yocto-mailing-list <[email protected]>
Subject: [yocto] boot script for barebox in build/deploy/images/$IMAGE_NAME/ 
directory

Hello everyone, I need to put the boot.sh file in the
build/deploy/images/$IMAGE_NAME/ directory during the build, how can I
do this using the yocto build system?

Gary Huband
Sr. Software and Systems Engineer

Office: 434.284.8071 x720
Direct: 434.260.4995
[email protected]

Follow Us!
LinkedIn<https://www.linkedin.com/company/mission-secure-inc->  |  
Blog<https://www.missionsecure.com/blog?utm_source=email-signature&utm_medium=email&utm_campaign=blog-email-sig>
  |  
Website<https://www.missionsecure.com/?utm_source=email-signature&utm_medium=email&utm_campaign=web-email-sig>

: : : : : : : : : : : : : : : : : : : : : : : : : : :

[MSi]

This email and any files transmitted with it are confidential and proprietary 
and intended solely for the use of the individual or entity to whom they are 
addressed. Any dissemination, distribution or copying of this communication is 
strictly prohibited without our prior permission. If you received this in 
error, please contact the sender and delete the material from any computer.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#56029): https://lists.yoctoproject.org/g/yocto/message/56029
Mute This Topic: https://lists.yoctoproject.org/mt/88780797/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to