[yocto] create a own fs file

Johann Obermayr johann.obermayr at sigmatek.at
Thu Apr 4 04:33:42 PDT 2019


Hello,

with wks we create a own image.
This image can use boot.img, rootfs.tar.., ...

Is there a way to create a own datafs.tar.gz file
And put this file to /tmp/deploy/images/<machine>/

datafs.bb
'#add file to datafs
 DATAFS_add_file = "file:myconf.cfg"
DATAFS_add_file += "file:/path/other.cfg"


my.wsk
part /data     --source datafs      --ondisk sda --label C       --align 1024 --fstype=ext4


Thanks
  Regards
    Johann

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190404/7ea49cc9/attachment-0002.html>


More information about the yocto mailing list