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
This commit is contained in:
fiftydinar 2024-08-08 19:11:27 +02:00 committed by GitHub
parent 6a97a52da4
commit bd75880a03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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