Hello Alex,

Thanks for the update.

I already have a partition created using .wks file. "--label custom" is used 
here

> 
> In your recipe you need to install files into the root directory of
> the partition itself and not its mount point,
> 

Do you mean like this below?

do_install() {
install -d ${D}${custom}/
install -m 0755 ${S}/sample.sh ${D}${custom}/sample.sh
}

I am not sure if I understodd below statement fully:

"Then you need to create an image recipe that will install one or more of the 
packages that contain the files that should be on the partition."

I think adding FILES_${PN} should take care of this, right?

FILES_${PN} = " \
${custom}/sample.sh \
"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59368): https://lists.yoctoproject.org/g/yocto/message/59368
Mute This Topic: https://lists.yoctoproject.org/mt/97467970/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to