From bd75880a032c7530630274026b6a9cf5a3c4209f Mon Sep 17 00:00:00 2001 From: fiftydinar <65243233+fiftydinar@users.noreply.github.com> Date: Thu, 8 Aug 2024 19:11:27 +0200 Subject: [PATCH] chore: Move files from `/usr/etc/` to `/etc/` in build-time (#214) Take a look at this issue for more details: https://github.com/blue-build/modules/issues/314 Idk if anything else needs to be done, please tell Should be tested for regressions too --- template/templates/Containerfile.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/templates/Containerfile.j2 b/template/templates/Containerfile.j2 index e83e2087..18c71463 100644 --- a/template/templates/Containerfile.j2 +++ b/template/templates/Containerfile.j2 @@ -18,8 +18,8 @@ ARG BASE_IMAGE="{{ recipe.base_image }}" # Key RUN RUN --mount=type=bind,from=stage-keys,src=/keys,dst=/tmp/keys \ - mkdir -p /usr/etc/pki/containers/ \ - && cp /tmp/keys/* /usr/etc/pki/containers/ \ + mkdir -p /etc/pki/containers/ \ + && cp /tmp/keys/* /etc/pki/containers/ \ && ostree container commit # Bin RUN