particle-os-modules/modules/files
xyny 7c4dd1553e
feat: startingpoint modules (#33)
* feat: add startingpoint modules
some modules authored by @gerblesh
original source: https://github.com/ublue-os/startingpoint/pull/135

* docs: better readme for modules dir

* docs: yafti deps

* docs: sp more information

* feat: startingpoint modules in container

* docs: sentence structure, check sidebar
2023-09-10 14:29:26 +00:00
..
files.sh feat: startingpoint modules (#33) 2023-09-10 14:29:26 +00:00
README.md feat: startingpoint modules (#33) 2023-09-10 14:29:26 +00:00

files Module for Startingpoint

The files module simplifies the process of copying files to the image during the build time. These files are sourced from the config/files directory, which is located at /tmp/config/files inside the image.

Warning

If you want to place anything in /etc of the final image, you MUST place them in /usr/etc in your repo, so that they're written to /usr/etc on the final system. That is the proper directory for "system" configuration templates on immutable Fedora distros, whereas the normal /etc is meant for manual overrides and editing by the machine's admin AFTER installation! See issue https://github.com/ublue-os/startingpoint/issues/28.

Example Configuration:

type: files
files:
  usr: /usr

In the example above, usr represents the directory located inside the config/files in the repository, while /usr designates the corresponding destination within the image.