From 670f83cce11bf3a9d6cf5bf6700b689ded6086de Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Sun, 21 Jul 2024 21:21:52 +0200 Subject: [PATCH] chore: Migrate from `config/` to `files/` & use new `files` module recipe format (#36) --- {config => files}/scripts/example.sh | 0 {config/files => files/system}/usr/.gitkeep | 0 recipes/recipe.yml | 8 +++++--- 3 files changed, 5 insertions(+), 3 deletions(-) rename {config => files}/scripts/example.sh (100%) rename {config/files => files/system}/usr/.gitkeep (100%) diff --git a/config/scripts/example.sh b/files/scripts/example.sh similarity index 100% rename from config/scripts/example.sh rename to files/scripts/example.sh diff --git a/config/files/usr/.gitkeep b/files/system/usr/.gitkeep similarity index 100% rename from config/files/usr/.gitkeep rename to files/system/usr/.gitkeep diff --git a/recipes/recipe.yml b/recipes/recipe.yml index 22f9872..47ce04a 100644 --- a/recipes/recipe.yml +++ b/recipes/recipe.yml @@ -12,9 +12,11 @@ image-version: 40 # latest is also supported if you want new updates ASAP modules: - type: files files: - - usr: /usr # copies config/files/usr into your image's /usr. - # put configuration files you want in /etc/ on a booted system - # in /usr/etc/ in the image. read more in files module reference. + - source: system + destination: / # copies files/system/* (* means everything inside it) into your image's root folder / + # put configuration files you want in /usr/etc/ inside the image + # while putting files in /etc/ is done on booted system by system administrators. + # read more about this in files module reference. - type: rpm-ostree repos: