pengutronix / genimage

tool to generate multiple filesystem and flash images from a tree
GNU General Public License v2.0
309 stars 110 forks source link

mountpoint: how to copy hidden files #214

Open tiopex opened 1 year ago

tiopex commented 1 year ago

I'm using mountpoint to fill vfat partition with content, hoever hidden files (with dot at the beginning) are not copied. How to copy them?

michaelolbrich commented 1 year ago

Right, this is a limitation of the current implementation. The files are copied with mcopy. And there is no way to tell mcopy to copy the content of a directory toplevel into the vfat. So we basically copy ${mountpoint}/* and that obviously misses any hidden files. And there is no simple way to change that.

We would probably need to iterate manually and copy the files explicitly.