create a own fs file


Johann Obermayr
 

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