Add it to your wic file - assuming that's how you're building your image.
If it's not, obviously it's not going to help you!

On Sun, 29 Jul 2018, 17:12 Karim Gillani, <ka...@gillani.org> wrote:

> Thank you.  Can I use that command in my image .bb file?
>
> so something like this?
> replace:
> install -m 0644 ${WORKDIR}/config.txt ${DEPLOY_DIR_IMAGE}/boot/
> sbcconf/config.txt
>
> with:
>
> wic cp ${WORKDIR}/config.txt --native-sysroot /boot/sbcconf/config.txt
>
>
> On 29 July 2018 at 01:46, Alex Kiernan <alex.kier...@gmail.com> wrote:
>
>> wic cp? Can't spot it in the manual, but look in:
>>
>> https://git.yoctoproject.org/cgit.cgi/poky/plain/scripts/lib/wic/help.py
>>
>>
>>
>> On Sun, 29 Jul 2018, 07:01 Karim Gillani, <ka...@gillani.org> wrote:
>>
>>> This commands places the file in the /boot directory but then a script
>>> used within rootfs can't see it.
>>>
>>> install -m 0644 ${WORKDIR}/config.txt
>>> ${DEPLOY_DIR_IMAGE}/boot/sbcconf/config.txt
>>>
>>> The next command puts it in a place where the rootfs can access it, but
>>> I can't access the file in the fat partition.
>>> install -m 0644 ${WORKDIR}/config.txt ${D}/boot/sbcconf/config.txt
>>>
>>> Any suggestions?
>>>
>>> On 28 July 2018 at 21:47, Karim Gillani <ka...@gillani.org> wrote:
>>>
>>>> Is there an easy way to copy a couple of files to the $bootfs  (/boot
>>>> directory)?
>>>>
>>>> when I copy files there, they show as if they are in /boot but they are
>>>> not on the bootfs partition.
>>>>
>>>> Thanks
>>>> Karim
>>>>
>>>
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>>>
>>
>
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to