[Custom Image] How can I copy/move folders and files to the user's home?

you can put the dotfiles in /usr/etc/skel/ which is the directory that will be the “skeleton” of the user’s home.

or you can create something similar to what I did which is create a “homedir” folder and then copy the its contents to /usr/etc/skel, but this last method didn’t work very well for me because the files that are hidden were not copied when building the image
image
image

4 Likes